Add subsystem add_network/del_network cmds#1690
Merged
VallariAg merged 1 commit intoceph:develfrom Jan 12, 2026
Merged
Conversation
5038917 to
21034b3
Compare
21034b3 to
b24b24c
Compare
gbregman
requested changes
Jan 7, 2026
b24b24c to
a7ec96a
Compare
gbregman
approved these changes
Jan 11, 2026
a7ec96a to
11e6efa
Compare
Member
Author
|
Rebased with devel and squashed 4 commits into 1 commit. |
Add 'subsystem add_network' cmd to add new subnet of IPs as auto-listeners. And 'subsystem del_network' to remove a subnet of auto-listener IPs. Syntax: "subsystem add -n <nqn> --network-mask <subnet> <subnet2>" "subsystem add_network -n <nqn> --network-mask <subnet3>" "subsystem del_network -n <nqn> --network-mask <subnet3>" Also, add "Network Mask" in "subsystem list" output. Signed-off-by: Vallari Agrawal <val.agl002@gmail.com>
11e6efa to
16c69db
Compare
Member
Author
|
Made a minor change, so the commands do not fail with error if
This handles case if a subsystem has 2 networks and there is an IP which is common between them. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add 'subsystem add_network' cmd to add new subnet
of IPs as auto-listeners. And 'subsystem del_network' to remove a subnet of auto-listener IPs.
Syntax:
"subsystem add_network -n --network-mask "
"subsystem del_network -n --network-mask "
USAGE:
subsystem creation with 2 network_mask:
subsystem del_network:
subsystem add_network: