VirtualNic#
- class VirtualNic(name=None, host_description=None, mac_address=None, ipv4_addresses=None, ipv6_addresses=None, interface_status=None, dhcp_enabled=None, link_speed_in_kbps=None, mtu_in_bytes=None, node_uuid=None, vlan_id=None, host_nics_uuids=None, ext_id=None, links=None, tenant_id=None, *args, **kwargs)[source]#
Bases:
ExternalizableAbstractModel
Virtual NIC details
- Parameters:
name – (
name
) Virtual NIC namehost_description – (
host_description
) Host descriptionmac_address – (
mac_address
) Host Mac addressipv4_addresses – (
ipv4_addresses
) List of IPv4 addresses associated with the NIC entity for the network connectionipv6_addresses – (
ipv6_addresses
) List of IPv6 addresses associated with the NIC entity for the network connectioninterface_status – (
interface_status
) Operational status of the interface to the port associated with the NIC entity.dhcp_enabled – (
dhcp_enabled
) Status of DHCP protocollink_speed_in_kbps – (
link_speed_in_kbps
) Link speed in Kbpsmtu_in_bytes – (
mtu_in_bytes
) Maximum transmission unit in bytesnode_uuid – (
node_uuid
) UUID of the hostvlan_id – (
vlan_id
) VLAN Idhost_nics_uuids – (
host_nics_uuids
) List of host NIC UUID associated with the host virtual NIC
- property dhcp_enabled#
Status of DHCP protocol
- Type:
bool
- property host_description#
Host description
- Type:
str
- property host_nics_uuids#
List of host NIC UUID associated with the host virtual NIC
- Type:
list[
str
]
- property interface_status#
Operational status of the interface to the port associated with the NIC entity.
- Type:
str
- property ipv4_addresses#
List of IPv4 addresses associated with the NIC entity for the network connection
- Type:
list[
IPAddress
]
- property ipv6_addresses#
List of IPv6 addresses associated with the NIC entity for the network connection
- Type:
list[
IPAddress
]
- property link_speed_in_kbps#
Link speed in Kbps
- Type:
int
- property mac_address#
Host Mac address
- Type:
str
- property mtu_in_bytes#
Maximum transmission unit in bytes
- Type:
int
- property name#
Virtual NIC name
- Type:
str
- property node_uuid#
UUID of the host
- Type:
str
- property vlan_id#
VLAN Id
- Type:
int