List Logical Ports
Returns information about all configured logical switch ports. Logical switch ports connect to VM virtual network interface cards (NICs). Each logical port is associated with one logical switch.
This api is now deprecated. Please use new api - /infra/segments/<segment-id>/ports
Logical Port attachment Id
Type of attachment for logical port; for query only.
Bridge Cluster identifier
Only container VIF logical ports will be returned if true
Opaque cursor to be used for getting next page of records (supplied by current result page)
Flag to enable showing of transit logical port.
Comma separated list of fields that should be included in query result
Logical Switch identifier
Maximum number of results to return in this page (server may return fewer)
ID of the VIF of type PARENT
sort_ascending
Field by which records are sorted
Network Profile identifier
Transport node identifier
Transport zone identifier
OK
{
"_links": [
{
"action": "string",
"href": "string",
"rel": "string"
}
],
"_schema": "string",
"_self": {},
"cursor": "string",
"result_count": 0,
"sort_ascending": false,
"sort_by": "string",
"results": [
{
"_links": [
{
"action": "string",
"href": "string",
"rel": "string"
}
],
"_schema": "string",
"_self": {},
"_revision": 0,
"_create_time": 0,
"_create_user": "string",
"_last_modified_time": 0,
"_last_modified_user": "string",
"_protection": "string",
"_system_owned": false,
"description": "string",
"display_name": "string",
"id": "string",
"resource_type": "string",
"tags": [
{
"scope": "string",
"tag": "string"
}
],
"address_bindings": [
{
"ip_address": "string",
"mac_address": "string",
"vlan": 0
}
],
"admin_state": "string",
"attachment": {
"attachment_type": "string",
"context": {
"allocate_addresses": "string",
"resource_type": "string"
},
"id": "string"
},
"extra_configs": [
{
"config_pair": {
"key": "string",
"value": "string"
}
}
],
"ignore_address_bindings": [
{
"ip_address": "string",
"mac_address": "string",
"vlan": 0
}
],
"init_state": "string",
"internal_id": "string",
"logical_switch_id": "string",
"origin_id": "string",
"switching_profile_ids": [
{
"key": "string",
"value": "string"
}
]
}
]
}
curl -H 'Authorization: <value>' https://{api_host}/api/v1/logical-ports