File tree Expand file tree Collapse file tree 3 files changed +9
-10
lines changed
SoftLayer/CLI/block/subnets Expand file tree Collapse file tree 3 files changed +9
-10
lines changed Original file line number Diff line number Diff line change 1212 help = "ID of the subnets to assign; e.g.: --subnet-id 1234" )
1313@environment .pass_env
1414def cli (env , access_id , subnet_id ):
15- """EXAMPLE:
15+ """Assign block storage subnets to the given host id.
16+
17+ EXAMPLE::
1618
1719 slcli block subnets-assign 111111 --subnet-id 222222
1820 slcli block subnets-assign 111111 --subnet-id 222222 --subnet-id 333333
1921 ACCESS_ID is the host_id obtained by: softlayer slcli block access-list <volume_id>
2022
21- Assign block storage subnets to the given host id.
22-
2323 access_id is the host_id obtained by: slcli block access-list <volume_id>
2424
2525 SoftLayer_Account::iscsiisolationdisabled must be False to use this command
Original file line number Diff line number Diff line change 1919@click .argument ('access_id' , type = int )
2020@environment .pass_env
2121def cli (env , access_id ):
22- """Example:
22+ """List block storage assigned subnets for the given host id.
23+
24+ Example::
2325
2426 slcli block subnets-list 12345678
2527 ACCESS_ID is the host_id obtained by: softlayer slcli block access-list <volume_id>
2628
27- List block storage assigned subnets for the given host id.
28-
2929 access_id is the host_id obtained by: slcli block access-list <volume_id>
3030 """
3131
Original file line number Diff line number Diff line change 1212 help = "ID of the subnets to remove; e.g.: --subnet-id 1234" )
1313@environment .pass_env
1414def cli (env , access_id , subnet_id ):
15- """Example:
15+ """Remove block storage subnets for the given host id.
16+
17+ Example::
1618
1719 slcli block subnets-remove 111111 --subnet-id 222222
1820 slcli block subnets-remove 111111 --subnet-id 222222 --subnet-id 333333
1921 ACCESS_ID is the host_id obtained by: slcli block access-list <volume_id>
2022
21-
22- Remove block storage subnets for the given host id.
23-
2423 access_id is the host_id obtained by: slcli block access-list <volume_id>
2524
2625 SoftLayer_Account::iscsiisolationdisabled must be False to use this command
You can’t perform that action at this time.
0 commit comments