Management Plane API > Security > Services > Service Insertion

List all service paths

List all service paths for the given service chain for the given service chain id

Request:

Method:
GET
URI Path(s):
/api/v1/serviceinsertion/service-chains/<service-chain-id>/service-paths
Request Headers:
n/a
Query Parameters:
ListRequestParameters+
Request Body:
n/a

Example Request:

GET https://<nsx-mgr>/api/v1/serviceinsertion/service-chains/4427205b-689d-453e-8644-c6db96f9f53a/service-paths

Successful Response:

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

Example Response:

{ "results": [ { "forward_path": [ { "unidir_service_path_id": 11, "host_cross_count": 0, "is_active": true, "in_maintenance_mode": false, "hops": [ { "mac_address":"02:50:56:56:44:52", "vif": "f18c629b-1037-4d16-98b3-fdfb5ce8534d", "is_active_from_mp": true, "in_maintenance_mode": false, "is_active_from_dp": true, "is_active_from_ccp": true, "nsh_liveness_support": true, "can_decrement_si": true, "action": "COPY", } ] } ], "reverse_path": [ { "unidir_service_path_id": 12, "host_cross_count": 0, "is_active": true, "in_maintenance_mode": false, "hops": [ { "mac_address":"02:50:56:56:44:52", "vif": "f18c629b-1037-4d16-98b3-fdfb5ce8534d", "is_active_from_mp": true, "in_maintenance_mode": false, "is_active_from_dp": true, "is_active_from_ccp": true, "nsh_liveness_support": true, "can_decrement_si": true, "action": "COPY", } ] } ], "service_path_id": 1001, "service_chain_uuid": "4427205b-689d-453e-8644-c6db96f9f53a", "service_chain_id": 1 } ], "result_count": 1 }

Required Permissions:

read

Feature:

service_insertion

Additional Errors: