LogicalPort has the following relationships:

Table 1. Attributes for the LogicalPort objects

Attribute

Description

Allowed values

DVSName

Indicates the name of the Distributed Virtual Switch (DVS) that this logical port belongs to. This is applicable only for NSX logical ports. This is applicable only for NSX-V logical ports.

String

InterfaceNumber

This is a number that uniquely identifies this adapter within the scope of the containing system.

Integer

IsConnectedVMPowerDown

  • True indicates that the virtual machine connected to this logical port is powered down.

  • False indicates that there is no VM connected to this logical port or the virtual machine is not powered down.

Boolean

IsDisabled

Indicates that this logical port has been disabled.

Boolean

LinkStatus

Indicates the link status of the logical port. This is applicable only for NSX-V

Enum:

  • UP

  • DOWN

  • UNKNOWN

PortGroupName

Indicates the name of the PortGroup that this logical port belongs to. This is applicable only for NSX logical ports. This is applicable only for NSX-V logical ports.

String

Status

Indicates the current status of the interface. This is applicable only for NSX-V logical ports.

Enum:

  • UP

  • DOWN

  • UNKNOWN