Table of Contents

Class VMwareVirtualSwitchPortGroup

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

Represents a port group configured on a virtual switch.

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

Constructors

VMwareVirtualSwitchPortGroup()

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

public VMwareVirtualSwitchPortGroup()

Properties

DhcpEnabled

Gets or sets whether DHCP is enabled for this port group.

public BooleanOption DhcpEnabled { get; set; }

Property Value

BooleanOption

IPAddress

Gets or sets the IP address assigned to this port group.

public string IPAddress { get; set; }

Property Value

string

MacAddress

Gets or sets the MAC address presented by this port group.

public string MacAddress { get; set; }

Property Value

string

Name

Gets or sets the name of this port group - for example "VM Network".

public string Name { get; set; }

Property Value

string

NetworkPolicy

Gets or sets the networking policy for this port group.

public VMwareVirtualSwitchNetworkPolicy NetworkPolicy { get; set; }

Property Value

VMwareVirtualSwitchNetworkPolicy

PortGroupType

Gets or sets the port group type.

public VMwareVirtualSwitchPortGroupType PortGroupType { get; set; }

Property Value

VMwareVirtualSwitchPortGroupType

PortGroupTypeString

Gets the port group type as a human readable string.

public string PortGroupTypeString { get; set; }

Property Value

string

SubnetMask

Gets or sets the subnet mask assigned to this port group.

public string SubnetMask { get; set; }

Property Value

string

UniqueIdentifier

Gets or sets the globally unique identifier for this port group in GUID format. This property is for internal use only.

public string UniqueIdentifier { get; set; }

Property Value

string

VMotionEnabled

Gets or sets whether vMotion is enabled on this port group.

public BooleanOption VMotionEnabled { get; set; }

Property Value

BooleanOption

VirtualNicDevice

Gets or sets the device name of the virtual network interface card - for example "vmk3".

public string VirtualNicDevice { get; set; }

Property Value

string

VlanId

Gets or sets the VLAN identifier for this port group.

public int VlanId { get; set; }

Property Value

int

VlanIdString

Gets the VLAN identifier for this port group as a human readable string.

public string VlanIdString { get; set; }

Property Value

string

Methods

CompareTo(VMwareVirtualSwitchPortGroup)

Compares two CENTREL.XIA.Configuration.Types.VMwareVirtualSwitchPortGroup to allow sorting alphabetically by port group name.

public int CompareTo(VMwareVirtualSwitchPortGroup other)

Parameters

other VMwareVirtualSwitchPortGroup

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

Returns

int

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