configure_vlan
Configure VLANs on the Rubrik cluster.
Arguments
Name
Type
Description
Choices
vlan
int
The VLAN ID you wish to configure.
netmask
str
The netmask of the VLAN ID you wish to configure.
ips
list or dict
The ips
argument can either be a list or a dictionary. The list should contain an IP, in the relevant VLAN, for each node in the cluster. These IPs will be sorted, from lowest to highest, and then automatically associated with a node name based on alphabetical order. If you would like more finite control over the assignment you can use a dict with node_name:ip
as it's key pairs.
Keyword Arguments
Name
Type
Description
Choices
Default
timeout
int
The number of seconds to wait to establish a connection the Rubrik cluster before returning a timeout error.
15
Returns
Type
Return Value
str
No change required. The Rubrik cluster is already configured with the provided VLAN information.
dict
The full API response for POST /internal/cluster/me/vlan'
Example
Last updated