VlanMode#

class VlanMode(*args, **kwargs)[source]#

Bases: object

By default, all the virtual NICs are created in ACCESS mode, which permits only one VLAN per virtual network. TRUNKED mode allows multiple VLANs on a single VM NIC for network-aware user VMs.

Allowed enum values:

  • _UNKNOWN

  • _REDACTED

  • ACCESS: The virtual NIC is created in ACCESS mode.

  • TRUNK: The virtual NIC is created in TRUNKED mode.

to_dict()[source]#

Returns the model properties as a dictionary

to_str()[source]#

Returns the string representation of the model