Skip to content

Commit

Permalink
Fixes issue #340
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Indenbaum <[email protected]>
  • Loading branch information
Alexander Indenbaum committed Dec 5, 2023
1 parent 03b3bc0 commit 9cebb7f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions control/proto/gateway.proto
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,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 {
Expand Down
3 changes: 3 additions & 0 deletions tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 9cebb7f

Please sign in to comment.