Get Logical Port State
Returns transport node id for a specified logical port. Also returns information about all address bindings of the specified logical port. This includes address bindings discovered via various snooping methods like ARP snooping, DHCP snooping etc. and addressing bindings that are realized based on user configuration.
This api is now deprecated. Please use new api - GET policy/api/v1/infra/segments/{segment-id}/ports/{segment-port-id}/state
lport-id
OK
{
"attachment": {
"attachers": [
{
"entity": "string",
"host": "string"
}
],
"id": "string",
"state": "string"
},
"discovered_bindings": [
{
"binding": {
"ip_address": "string",
"mac_address": "string",
"vlan": 0
},
"binding_timestamp": 0,
"source": "string"
}
],
"duplicate_bindings": [
{
"binding": {
"ip_address": "string",
"mac_address": "string",
"vlan": 0
},
"binding_timestamp": 0,
"source": "string",
"conflicting_port": "string"
}
],
"id": "string",
"realized_bindings": [
{
"binding": {
"ip_address": "string",
"mac_address": "string",
"vlan": 0
},
"binding_timestamp": 0,
"source": "string"
}
],
"transport_node_ids": [
"string"
]
}
VIF attachment state of a logical port
Contains the list of address bindings for a logical port that were automatically dicovered using various snooping methods like ARP, DHCP etc.
If any address binding discovered on the port is also found on other port on the same logical switch, then it is included in the duplicate bindings list along with the ID of the port with which it conflicts.
Id of the logical port
List of logical port bindings that are realized. This list may be populated from the discovered bindings or manual user specified bindings. This binding configuration can be used by features such as firewall, spoof-guard, traceflow etc.
Identifiers of the transport node where the port is located
Not Found
curl -H 'Authorization: <value>' https://{api_host}/api/v1/logical-ports/{lport-id}/state