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 authored and baum committed Nov 27, 2023
1 parent 19160d2 commit a9a7b72
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 @@ -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 {
Expand Down
3 changes: 3 additions & 0 deletions tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit a9a7b72

Please sign in to comment.