Adds --namespaced to lvol add/ and snapshot clone#1027
Open
Hamdy-khader wants to merge 2 commits intomainfrom
Open
Adds --namespaced to lvol add/ and snapshot clone#1027Hamdy-khader wants to merge 2 commits intomainfrom
Hamdy-khader wants to merge 2 commits intomainfrom
Conversation
…e creation and add it to clones
| argument = subcommand.add_argument('--fabric', help='The transport fabric type (tcp or rdma). The cluster must support the chosen fabric. Default: `tcp`.', type=str, default='tcp', dest='fabric', choices=['tcp','rdma','tcp,rdma',]) | ||
| argument = subcommand.add_argument('--lvol-priority-class', help='The logical volume priority class. Default: `0`.', type=int, default=0, dest='lvol_priority_class') | ||
| argument = subcommand.add_argument('--namespace', help='Sets the NVMe namespace for the logical volume (namespace must already exist).', type=str, dest='namespace') | ||
| argument = subcommand.add_argument('--namespaced', help='Adds this LVol as a namespace on any available subsystem, if not found then create a new subsystem. Default: `false`.', type=bool, default=False, dest='namespaced') |
| subcommand.add_argument('snapshot_id', help='The snapshot id.', type=str) | ||
| subcommand.add_argument('clone_name', help='The clone name.', type=str) | ||
| argument = subcommand.add_argument('--resize', help='New logical volume size: 10M, 10G, 10(bytes). Can only increase. Default: `0`.', type=size_type(), default='0', dest='resize') | ||
| argument = subcommand.add_argument('--namespaced', help='Adds this LVol as a namespace on any available subsystem, if not found then create a new subsystem. Default: `false`.', type=bool, default=False, dest='namespaced') |
| subcommand.add_argument('snapshot_id', help='The snapshot id.', type=str) | ||
| subcommand.add_argument('lvol_name', help='The logical volume name.', type=str) | ||
| argument = subcommand.add_argument('--resize', help='New logical volume size: 10M, 10G, 10(bytes). Can only increase. Default: `0`.', type=size_type(), default='0', dest='resize') | ||
| argument = subcommand.add_argument('--namespaced', help='Adds this LVol as a namespace on any available subsystem, if not found then create a new subsystem. Default: `false`.', type=bool, default=False, dest='namespaced') |
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.
No description provided.