List Logical Switches
Returns information about all configured logical switches.
This api is now deprecated. Please use new api - /infra/segments
Opaque cursor to be used for getting next page of records (supplied by current result page)
Flag to enable showing of transit logical switch.
Comma separated list of fields that should be included in query result
Maximum number of results to return in this page (server may return fewer)
sort_ascending
Field by which records are sorted
Logical Switch type
Switching Profile identifier
Mode of transport supported in the transport zone for this logical switch
Transport zone identifier
The logical switch's uplink teaming policy name
Virtual Local Area Network Identifier
VNI of the OVERLAY LogicalSwitch(es) to return.
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"
}
],
"admin_state": "string",
"extra_configs": [
{
"config_pair": {
"key": "string",
"value": "string"
}
}
],
"global_vni": 0,
"hybrid": false,
"ip_pool_id": "string",
"mac_pool_id": "string",
"node_local_switch": false,
"origin_id": "string",
"origin_type": "string",
"replication_mode": "string",
"span": [
"string"
],
"switch_type": "string",
"switching_profile_ids": [
{
"key": "string",
"value": "string"
}
],
"transport_zone_id": "string",
"uplink_teaming_policy_name": "string",
"vlan": 0,
"vlan_trunk_spec": {
"vlan_ranges": [
{
"end": 0,
"start": 0
}
]
},
"vni": 0
}
]
}
curl -H 'Authorization: <value>' https://{api_host}/api/v1/logical-switches