Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes issue #340 #341

Merged
merged 1 commit into from
Nov 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions control/proto/gateway.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
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