Skip to content

Adds --namespaced to lvol add/ and snapshot clone#1027

Open
Hamdy-khader wants to merge 2 commits intomainfrom
main-namespaced
Open

Adds --namespaced to lvol add/ and snapshot clone#1027
Hamdy-khader wants to merge 2 commits intomainfrom
main-namespaced

Conversation

@Hamdy-khader
Copy link
Copy Markdown
Collaborator

No description provided.

Comment thread simplyblock_cli/cli.py
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')
Comment thread simplyblock_cli/cli.py Outdated
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')
Comment thread simplyblock_cli/cli.py Outdated
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')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant