Skip to content

Commit 0989178

Browse files
Merge pull request #1850 from BrianSantivanez/issue1836
New Command: `slcli virtual host-create`
2 parents bdeddcc + e1b25bf commit 0989178

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

SoftLayer/CLI/routes.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@
5858
('virtual:notification-add', 'SoftLayer.CLI.virt.notification_add:cli'),
5959
('virtual:notification-delete', 'SoftLayer.CLI.virt.notification_delete:cli'),
6060
('virtual:host-list', 'SoftLayer.CLI.dedicatedhost.list:cli'),
61+
('virtual:host-create', 'SoftLayer.CLI.dedicatedhost.create:cli'),
6162
('virtual:os-available', 'SoftLayer.CLI.virt.os_available:cli'),
6263

6364
('dedicatedhost', 'SoftLayer.CLI.dedicatedhost'),

docs/cli/dedicated.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,7 @@ Dedicated Host Commands
3535
.. click:: SoftLayer.CLI.dedicatedhost.list:cli
3636
:prog: virtual host-list
3737
:show-nested:
38+
39+
.. click:: SoftLayer.CLI.dedicatedhost.create:cli
40+
:prog: virtual host-create
41+
:show-nested:

docs/cli/vs.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,10 @@ If no timezone is specified, IMS local time (CST) will be assumed, which might n
296296
:prog: virtual host-list
297297
:show-nested:
298298

299+
.. click:: SoftLayer.CLI.virt.create:cli
300+
This command is an alias for `slcli dedicatedhost create`
301+
:prog: virtual host-create
302+
299303
.. click:: SoftLayer.CLI.virt.os_available:cli
300304
:prog: virtual os-available
301305
:show-nested:

0 commit comments

Comments
 (0)