Nic#

class Nic(backing_info=None, nic_backing_info=None, network_info=None, nic_network_info=None, ext_id=None, links=None, tenant_id=None, *args, **kwargs)#

Bases: ExternalizableAbstractModel

Virtual Machine NIC.

Parameters:
property backing_info#
Type:

EmulatedNic

property network_info#
Type:

NicNetworkInfo

property nic_backing_info#

Information about how NIC is associated with a VM.

Type:

VirtualEthernetNic | SriovNic | DpOffloadNic

property nic_network_info#

Networking information object for a NIC.

Type:

VirtualEthernetNicNetworkInfo | SriovNicNetworkInfo | DpOffloadNicNetworkInfo

to_dict()#

Returns the model properties as a dictionary

to_str()#

Returns the string representation of the model