Skip to content

Commit ee66567

Browse files
Merge pull request #806 from kyubifire/master
Fix block ordering issues on SLCLI, removed Snapshot and ISCSI commands from SLCLI
2 parents e78a347 + f0d0991 commit ee66567

File tree

16 files changed

+3
-587
lines changed

16 files changed

+3
-587
lines changed

SoftLayer/CLI/block/order.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
required=True)
1818
@click.option('--size',
1919
type=int,
20-
help='Size of block storage volume in GB',
20+
help='Size of block storage volume in GB. Permitted Sizes:\n'
21+
'20, 40, 80, 100, 250, 500, 1000, 2000, 4000, 8000, 12000',
2122
required=True)
2223
@click.option('--iops',
2324
type=int,
@@ -71,7 +72,7 @@ def cli(env, storage_type, size, iops, tier, os_type,
7172
if snapshot_size is not None:
7273
raise exceptions.CLIAbort(
7374
'Option --snapshot-size not allowed for performance volumes.'
74-
' Snapshots are only available for endurance storage.'
75+
'Snapshots are only available for endurance storage.'
7576
)
7677

7778
try:

SoftLayer/CLI/iscsi/__init__.py

Lines changed: 0 additions & 1 deletion
This file was deleted.

SoftLayer/CLI/iscsi/cancel.py

Lines changed: 0 additions & 30 deletions
This file was deleted.

SoftLayer/CLI/iscsi/create.py

Lines changed: 0 additions & 23 deletions
This file was deleted.

SoftLayer/CLI/iscsi/detail.py

Lines changed: 0 additions & 54 deletions
This file was deleted.

SoftLayer/CLI/iscsi/list.py

Lines changed: 0 additions & 43 deletions
This file was deleted.

SoftLayer/CLI/routes.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -118,12 +118,6 @@
118118
('image:import', 'SoftLayer.CLI.image.import:cli'),
119119
('image:export', 'SoftLayer.CLI.image.export:cli'),
120120

121-
('iscsi', 'SoftLayer.CLI.iscsi'),
122-
('iscsi:cancel', 'SoftLayer.CLI.iscsi.cancel:cli'),
123-
('iscsi:create', 'SoftLayer.CLI.iscsi.create:cli'),
124-
('iscsi:detail', 'SoftLayer.CLI.iscsi.detail:cli'),
125-
('iscsi:list', 'SoftLayer.CLI.iscsi.list:cli'),
126-
127121
('loadbal', 'SoftLayer.CLI.loadbal'),
128122
('loadbal:cancel', 'SoftLayer.CLI.loadbal.cancel:cli'),
129123
('loadbal:create', 'SoftLayer.CLI.loadbal.create:cli'),
@@ -193,13 +187,6 @@
193187
('hardware:credentials', 'SoftLayer.CLI.hardware.credentials:cli'),
194188
('hardware:update-firmware', 'SoftLayer.CLI.hardware.update_firmware:cli'),
195189

196-
('snapshot', 'SoftLayer.CLI.snapshot'),
197-
('snapshot:cancel', 'SoftLayer.CLI.snapshot.cancel:cli'),
198-
('snapshot:create', 'SoftLayer.CLI.snapshot.create:cli'),
199-
('snapshot:create-space', 'SoftLayer.CLI.snapshot.create_space:cli'),
200-
('snapshot:list', 'SoftLayer.CLI.snapshot.list:cli'),
201-
('snapshot:restore-volume', 'SoftLayer.CLI.snapshot.restore_volume:cli'),
202-
203190
('sshkey', 'SoftLayer.CLI.sshkey'),
204191
('sshkey:add', 'SoftLayer.CLI.sshkey.add:cli'),
205192
('sshkey:remove', 'SoftLayer.CLI.sshkey.remove:cli'),

SoftLayer/CLI/snapshot/__init__.py

Lines changed: 0 additions & 1 deletion
This file was deleted.

SoftLayer/CLI/snapshot/cancel.py

Lines changed: 0 additions & 21 deletions
This file was deleted.

SoftLayer/CLI/snapshot/create.py

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)