Table of Contents

Class VMwareHostPhysicalNic

Namespace
CENTREL.XIA.Configuration.Types
Assembly
CENTREL.XIA.Configuration.Types.dll

Represents an individual physical network interface found within an ESX host.

public class VMwareHostPhysicalNic : GlobalSerializableClassicBase, IComparable<VMwareHostPhysicalNic>
Inheritance
VMwareHostPhysicalNic
Implements

Constructors

VMwareHostPhysicalNic()

Initializes a new instance of the CENTREL.XIA.Configuration.Types.VMwareHostPhysicalNic class.

public VMwareHostPhysicalNic()

Properties

Device

Gets or sets the name of the physical NIC device - for example "vmnic0".

public string Device { get; set; }

Property Value

string

Driver

Gets or sets the name of the network card driver in use - for example "e1000".

public string Driver { get; set; }

Property Value

string

FullDuplex

Gets or sets whether the network card is configured for full duplex.

public BooleanOption FullDuplex { get; set; }

Property Value

BooleanOption

HardwareDeviceName

Gets or sets the name of the network interface hardware device - for example "82545EM Gigabit Ethernet Controller (Copper)".

public string HardwareDeviceName { get; set; }

Property Value

string

Key

Gets or sets the key of this physical NIC - for example "key-vim.host.PhysicalNic-vmnic01".

public string Key { get; set; }

Property Value

string

MacAddress

Gets or sets the MAC address of the network card - for example "00-0C-29-CD-30-4C".

public string MacAddress { get; set; }

Property Value

string

PciSlot

Gets or sets the PCI slot into which the network card is connected - for example "02:01.0".

public string PciSlot { get; set; }

Property Value

string

Speed

Gets or sets the speed of the network card in MB.

public int Speed { get; set; }

Property Value

int

WakeOnLanSupported

Gets or sets whether wake on LAN functionality is configured for this network card.

public BooleanOption WakeOnLanSupported { get; set; }

Property Value

BooleanOption

Methods

CompareTo(VMwareHostPhysicalNic)

Compares two CENTREL.XIA.Configuration.Types.VMwareHostPhysicalNic objects to allow sorting alphabetically by device name.

public int CompareTo(VMwareHostPhysicalNic other)

Parameters

other VMwareHostPhysicalNic

The CENTREL.XIA.Configuration.Types.VMwareHostPhysicalNic to compare to.

Returns

int

The sort order of the two CENTREL.XIA.Configuration.Types.VMwareHostPhysicalNic objects.

ToString()

Returns the physical NIC as a human readable string - for example "vmnic0".

public override string ToString()

Returns

string

The device name of the physical NIC.