Table of Contents

Class VMwareVirtualSwitch

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

Represents a VMware virtual switch.

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

Constructors

VMwareVirtualSwitch()

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

public VMwareVirtualSwitch()

Properties

Identifier

Gets or sets the unique identifier of the virtual switch.

public Guid Identifier { get; set; }

Property Value

Guid

MTU

Gets or sets the MTU (maximum transmission unit) configured on this switch.

public int MTU { get; set; }

Property Value

int

Name

Gets or sets the name of the virtual switch - for example "vSwitch0".

public string Name { get; set; }

Property Value

string

NetworkPolicy

Gets or sets the networking policy for this virtual switch.

public VMwareVirtualSwitchNetworkPolicy NetworkPolicy { get; set; }

Property Value

VMwareVirtualSwitchNetworkPolicy

NumberOfPorts

Gets or sets the number of ports configured on this virtual switch.

public int NumberOfPorts { get; set; }

Property Value

int

PhysicalNics

Gets or sets the name of the physical NICs attached to this virtual switch.

public SerializableStringCollection PhysicalNics { get; set; }

Property Value

SerializableStringCollection

PortGroups

Gets or sets the port groups configured within this virtual switch.

public VMwareVirtualSwitchPortGroups PortGroups { get; set; }

Property Value

VMwareVirtualSwitchPortGroups

Methods

CompareTo(VMwareVirtualSwitch)

Compares two CENTREL.XIA.Configuration.Types.VMwareVirtualSwitch objects to allow sorting alphabetically by switch name.

public int CompareTo(VMwareVirtualSwitch other)

Parameters

other VMwareVirtualSwitch

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

Returns

int

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