NSX-T Data Center REST API

Get Logical Switch runtime status info for a given logical switch (Deprecated)

Returns the number of ports assigned to logical switch. Deprecated: This api is now deprecated Please use new API - GET policy/api/v1/infra/realized-state/status?intent_path={{intent-path}}

Request:

Method:
GET
URI Path(s):
/api/v1/logical-switches/{lswitch-id}/summary
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
LogicalSwitchStatus+

Example Response:

{ "logical_switch_id": "cc5ff938-6f09-4841-8f0f-294e86415472", "num_logical_ports": 0 }

Required Permissions:

read

Feature:

switching_switches

Additional Errors: