|
4 | 4 | Manage, delete, order compute instances |
5 | 5 |
|
6 | 6 | The available commands are: |
7 | | - network Manage network settings |
8 | | - edit Edit details of a CCI |
| 7 | + cancel Cancel a running CCI |
9 | 8 | create Order and create a CCI |
10 | 9 | (see `sl cci create-options` for choices) |
11 | | - manage Manage active CCI |
12 | | - list List CCI's on the account |
| 10 | + create-options Output available available options when creating a CCI |
13 | 11 | detail Output details about a CCI |
14 | 12 | dns DNS related actions to a CCI |
15 | | - cancel Cancel a running CCI |
16 | | - create-options Output available available options when creating a CCI |
17 | | - reload Reload the OS on a CCI based on its current configuration |
| 13 | + edit Edit details of a CCI |
| 14 | + list List CCI's on the account |
| 15 | + manage Manage active CCI |
| 16 | + network Manage network settings |
18 | 17 | ready Check if a CCI has finished provisioning |
| 18 | + reload Reload the OS on a CCI based on its current configuration |
19 | 19 |
|
20 | 20 | For several commands, <identifier> will be asked for. This can be the id, |
21 | 21 | hostname or the ip address for a CCI. |
@@ -54,16 +54,16 @@ class ListCCIs(CLIRunnable): |
54 | 54 | Cores, memory, primary_ip, backend_ip |
55 | 55 |
|
56 | 56 | Filters: |
57 | | - --hourly Show hourly instances |
58 | | - --monthly Show monthly instances |
59 | | - -H --hostname=HOST Host portion of the FQDN. example: server |
60 | | - -D --domain=DOMAIN Domain portion of the FQDN. example: example.com |
61 | 57 | -c --cpu=CPU Number of CPU cores |
62 | | - -m --memory=MEMORY Memory in mebibytes (n * 1024) |
| 58 | + -D --domain=DOMAIN Domain portion of the FQDN. example: example.com |
63 | 59 | -d DC, --datacenter=DC datacenter shortname (sng01, dal05, ...) |
| 60 | + -H --hostname=HOST Host portion of the FQDN. example: server |
| 61 | + -m --memory=MEMORY Memory in mebibytes |
64 | 62 | -n MBPS, --network=MBPS Network port speed in Mbps |
| 63 | + --hourly Show hourly instances |
| 64 | + --monthly Show monthly instances |
65 | 65 | --tags=ARG Only show instances that have one of these tags. |
66 | | - Comma-separated. (production,db) |
| 66 | + Comma-separated. (production,db) |
67 | 67 |
|
68 | 68 | For more on filters see 'sl help filters' |
69 | 69 | """ |
@@ -209,12 +209,12 @@ class CreateOptionsCCI(CLIRunnable): |
209 | 209 |
|
210 | 210 | Options: |
211 | 211 | --all Show all options. default if no other option provided |
212 | | - --datacenter Show datacenter options |
213 | 212 | --cpu Show CPU options |
214 | | - --nic Show NIC speed options |
| 213 | + --datacenter Show datacenter options |
215 | 214 | --disk Show disk options |
216 | | - --os Show operating system options |
217 | 215 | --memory Show memory size options |
| 216 | + --nic Show NIC speed options |
| 217 | + --os Show operating system options |
218 | 218 | """ |
219 | 219 | action = 'create-options' |
220 | 220 | options = ['datacenter', 'cpu', 'nic', 'disk', 'os', 'memory'] |
@@ -337,39 +337,37 @@ class CreateCCI(CLIRunnable): |
337 | 337 | Order/create a CCI. See 'sl cci create-options' for valid options |
338 | 338 |
|
339 | 339 | Required: |
340 | | - -H --hostname=HOST Host portion of the FQDN. example: server |
341 | | - -D --domain=DOMAIN Domain portion of the FQDN example: example.com |
342 | | - -c --cpu=CPU Number of CPU cores |
343 | | - -m --memory=MEMORY Memory in mebibytes (n * 1024) |
344 | | -
|
345 | | - -o OS, --os=OS OS install code. Tip: you can specify <OS>_LATEST |
346 | | - --image=GUID Image GUID. See: 'sl image list' for reference |
| 340 | + -c, --cpu=CPU Number of CPU cores |
| 341 | + -D, --domain=DOMAIN Domain portion of the FQDN. example: example.com |
| 342 | + -H, --hostname=HOST Host portion of the FQDN. example: server |
| 343 | + --image=GUID Image GUID. See: 'sl image list' for reference |
| 344 | + -m, --memory=MEMORY Memory in mebibytes. example: 2048 |
| 345 | + -o, --os=OS OS install code. Tip: you can specify <OS>_LATEST |
347 | 346 |
|
348 | 347 | --hourly Hourly rate instance type |
349 | 348 | --monthly Monthly rate instance type |
350 | 349 |
|
351 | 350 |
|
352 | 351 | Optional: |
353 | | - -d DC, --datacenter=DC Datacenter shortname (sng01, dal05, ...) |
354 | | - Note: Omitting this value defaults to the first |
355 | | - available datacenter |
356 | | - -n MBPS, --network=MBPS Network port speed in Mbps |
357 | | - --dedicated Allocate a dedicated CCI (non-shared host) |
358 | | - --dry-run, --test Do not create CCI, just get a quote |
359 | | -
|
360 | | - -u --userdata=DATA User defined metadata string |
361 | | - -F --userfile=FILE Read userdata from file |
362 | | - -i --postinstall=URI Post-install script to download |
363 | | - (Only HTTPS executes, HTTP leaves file in /root) |
364 | | - -k KEY, --key=KEY The SSH key to add to the root user |
365 | | - --private Forces the CCI to only have access the private |
366 | | - network. |
367 | | - -t, --template=FILE A template file that defaults the command-line |
368 | | - options using the long name in INI format |
369 | | - --like=IDENTIFIER Use the configuration from an existing CCI |
370 | | - --export=FILE Exports options to a template file |
371 | | - --wait=SECONDS Block until CCI is finished provisioning for up to X |
372 | | - seconds before returning |
| 352 | + -d, --datacenter=DC Datacenter shortname (sng01, dal05, ...) |
| 353 | + Note: Omitting this value defaults to the first |
| 354 | + available datacenter |
| 355 | + --dedicated Allocate a dedicated CCI (non-shared host) |
| 356 | + --dry-run, --test Do not create CCI, just get a quote |
| 357 | + --export=FILE Exports options to a template file |
| 358 | + -F, --userfile=FILE Read userdata from file |
| 359 | + (Only HTTPS executes, HTTP leaves file in /root) |
| 360 | + -i, --postinstall=URI Post-install script to download |
| 361 | + -k, --key=KEY The SSH key to add to the root user |
| 362 | + --like=IDENTIFIER Use the configuration from an existing CCI |
| 363 | + -n, --network=MBPS Network port speed in Mbps |
| 364 | + --private Forces the CCI to only have access the private |
| 365 | + network |
| 366 | + -t, --template=FILE A template file that defaults the command-line |
| 367 | + options using the long name in INI format |
| 368 | + -u, --userdata=DATA User defined metadata string |
| 369 | + --wait=SECONDS Block until CCI is finished provisioning for up to X |
| 370 | + seconds before returning |
373 | 371 | """ |
374 | 372 | action = 'create' |
375 | 373 | options = ['confirm'] |
@@ -423,7 +421,7 @@ def execute(cls, client, args): |
423 | 421 | output.append(FormattedItem( |
424 | 422 | None, |
425 | 423 | ' -- ! Prices reflected here are retail and do not ' |
426 | | - 'take account level discounts and are not guarenteed.') |
| 424 | + 'take account level discounts and are not guaranteed.') |
427 | 425 | ) |
428 | 426 |
|
429 | 427 | if args['--export']: |
@@ -765,10 +763,10 @@ class NetworkCCI(CLIRunnable): |
765 | 763 | Manage network settings |
766 | 764 |
|
767 | 765 | Options: |
768 | | - --speed=SPEED Port speed. 0 disables the port. |
769 | | - [Options: 0, 10, 100, 1000, 10000] |
770 | 766 | --public Public network |
771 | 767 | --private Private network |
| 768 | + --speed=SPEED Port speed. 0 disables the port. |
| 769 | + [Options: 0, 10, 100, 1000, 10000] |
772 | 770 | """ |
773 | 771 | action = 'network' |
774 | 772 |
|
@@ -907,10 +905,10 @@ class EditCCI(CLIRunnable): |
907 | 905 | Edit CCI details |
908 | 906 |
|
909 | 907 | Options: |
910 | | - -H --hostname=HOST Host portion of the FQDN. example: server |
911 | 908 | -D --domain=DOMAIN Domain portion of the FQDN example: example.com |
912 | | - -u --userdata=DATA User defined metadata string |
913 | 909 | -F --userfile=FILE Read userdata from file |
| 910 | + -H --hostname=HOST Host portion of the FQDN. example: server |
| 911 | + -u --userdata=DATA User defined metadata string |
914 | 912 | """ |
915 | 913 | action = 'edit' |
916 | 914 |
|
|
0 commit comments