InlineLogicalPort1

InlineLogicalPort1
InlineLogicalPort1
JSON Example
{
    "address_bindings": [
        {
            "ip_address": "string",
            "mac_address": "string",
            "vlan": 0
        }
    ],
    "admin_state": "string",
    "attachment": "LogicalPortAttachment Object",
    "extra_configs": [
        "ExtraConfig Object"
    ],
    "ignore_address_bindings": [
        "PacketAddressClassifier Object"
    ],
    "init_state": "string",
    "internal_id": "string",
    "logical_switch_id": "string",
    "origin_id": "string",
    "switching_profile_ids": [
        "SwitchingProfileTypeIdEntry Object"
    ]
}
address_bindings
Optional
Constraints: minItems: 0 maxItems: 512

Each address binding must contain both an IPElement and MAC address. VLAN ID is optional. This binding configuration can be used by features such as spoof-guard and overrides any discovered bindings. Any non unique entries are deduplicated to generate a unique set of address bindings and then stored. For IP addresses, a subnet address cannot have host bits set. A maximum of 128 unique address bindings is allowed per port.

string
admin_state
Required

Represents Desired state of the logical port

Possible values are : UP, DOWN,
attachment
Optional

Logical port attachment

array of ExtraConfig
extra_configs
Optional

This property could be used for vendor specific configuration in key value string pairs. Logical port setting will override logical switch setting if the same key was set on both logical switch and logical port.

ignore_address_bindings
Optional
Constraints: minItems: 0 maxItems: 16

IP Discovery module uses various mechanisms to discover address bindings being used on each port. If a user would like to ignore any specific discovered address bindings or prevent the discovery of a particular set of discovered bindings, then those address bindings can be provided here. Currently IP range in CIDR format is not supported.

string
init_state
Optional

Set initial state when a new logical port is created. 'UNBLOCKED_VLAN' means new port will be unblocked on traffic in creation, also VLAN will be set with corresponding logical switch setting. This port setting can only be configured at port creation (POST), and cannot be modified. 'RESTORE_VIF' fetches and restores VIF attachment from ESX host.

Possible values are : UNBLOCKED_VLAN, RESTORE_VIF,
string
internal_id
Optional

The internal_id of the logical port may or may not be identical to it's managed resource ID. If a VirtualMachine connected to logical port migrates from one site to another, then on the destination site, it will be connected to different logical port managed resource. However, the internal_id field will be persisted across vmotion.

string
logical_switch_id
Required

Id of the Logical switch that this port belongs to.

string
origin_id
Optional

ID populated by NSX when NSX on DVPG is used to indicate the source distributed virtual port and the corresponding distributed virtual switch. This ID is populated only for logical ports that belong to a logical switch of type DVPG.

switching_profile_ids
Optional

switching_profile_ids