diff --git a/control/proto/gateway.proto b/control/proto/gateway.proto index f042264d..7a43348a 100644 --- a/control/proto/gateway.proto +++ b/control/proto/gateway.proto @@ -213,6 +213,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 6a442735..d1ca6b58 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -315,6 +315,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):