diff --git a/control/proto/gateway.proto b/control/proto/gateway.proto index b493fc2a..2db0eb84 100644 --- a/control/proto/gateway.proto +++ b/control/proto/gateway.proto @@ -196,6 +196,7 @@ message namespace { optional string bdev_name = 3; optional string nguid = 4; optional string uuid = 5; + optional uint32 anagrpid = 6; } message spdk_nvmf_log_flags_and_level_info { diff --git a/tests/test_cli.py b/tests/test_cli.py index 3ad304d6..23ffb88c 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -246,6 +246,9 @@ def test_add_namespace_ana(self, caplog, gateway): caplog.clear() cli(["add_namespace", "-n", subsystem, "-b", bdev, "-a", anagrpid]) assert f"Added namespace 1 to {subsystem}, ANA group id {anagrpid}" in caplog.text + caplog.clear() + cli(["get_subsystems"]) + assert "failed" not in caplog.text @pytest.mark.parametrize("listener", listener_list) def test_create_listener_ana(self, caplog, listener, gateway):