InlineLogicalPort1
{
"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"
]
}
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.
Represents Desired state of the logical port
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.
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.
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.
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.
Id of the Logical switch that this port belongs to.
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.