VLANs
vlan create
Order/create a VLAN instance.
- Example:
slcli vlan create –name myvlan –datacenter dal13 or slcli vlan create –name myvlan –pod dal10.pod01
vlan create [OPTIONS]
Options
- --name <name>
Vlan name
- -d, --datacenter <datacenter>
Datacenter shortname
- -p, --pod <pod>
Pod name. E.g dal05.pod01
- --network <network>
Network vlan type
- Default:
'public'
- Options:
public | private
- --billing <billing>
Billing rate
- Default:
'hourly'
- Options:
hourly | monthly
vlan create-options
List all the options for creating VLAN
vlan create-options [OPTIONS]
vlan detail
Get details about a VLAN.
vlan detail [OPTIONS] IDENTIFIER
Options
- --no-vs
Hide virtual server listing
- --no-hardware
Hide hardware listing
- --no-trunks
Hide devices with trunks
Arguments
- IDENTIFIER
Required argument
vlan edit
Edit a vlan’s details.
vlan edit [OPTIONS] IDENTIFIER
Options
- -n, --name <name>
The optional name for this VLAN
- -e, --note <note>
The note for this vlan.
- -g, --tags <tags>
Tags to set e.g. “tag1,tag2”, or empty string to remove all
Arguments
- IDENTIFIER
Required argument
vlan list
List VLANs.
Note: A * Indicates a POD is closing soon. Ex:[red] Pod01* [/red]
vlan list [OPTIONS]
Options
- --sortby <sortby>
Column to sort by
- Options:
Id | Number | Fully qualified name | Name | Network | Data center | Pod | Gateway/Firewall | Hardware | Virtual servers | Public ips | Premium | Tags
- -d, --datacenter <datacenter>
Filter by datacenter shortname (sng01, dal05, …)
- -n, --number <number>
Filter by VLAN number
- --name <name>
Filter by VLAN name
- -l, --limit <limit>
How many results to get in one api call, default is 100
- Default:
100
vlan cancel
Cancel network VLAN.
vlan cancel [OPTIONS] IDENTIFIER
Arguments
- IDENTIFIER
Required argument