Obtenez une liste des chemins de service associés à une chaîne de services, qui est appliquée à un service d'introspection réseau est-ouest ou à un chaînage de service sur NSX Edge.
Prenez connaissance des chemins de service associés à un ID de chaîne de service.
Conditions préalables
Procédure
- ♦ Exécutez la commande API :
GET https://<policy-mgr>/policy/api/v1/infra/service-chains/<service-chain-id>/service-paths Sample Response: { "results": [{ "service_path_id": 38, "service_chain_uuid": "85677e98-a3a1-4989-9c60-eeb6a04515bf", "service_chain_id": 2, "forward_path": { "unidir_service_path_id": 75, "host_cross_count": 0, "is_active": true, "in_maintenance_mode": false, "hops": [{ "mac_address": "00:50:56:83:e9:0f", "vif": "4d7bfaa9-4770-435a-99de-8b9756ac025a", "is_active_from_mp": true, "is_active_from_ccp": true, "is_active_from_dp": true, "in_maintenance_mode": false, "nsh_liveness_support": false, "can_decrement_si": false, "action": "REDIRECT" }] }, "reverse_path": { "unidir_service_path_id": 76, "host_cross_count": 0, "is_active": true, "in_maintenance_mode": false, "hops": [{ "mac_address": "00:50:56:83:e9:0f", "vif": "4d7bfaa9-4770-435a-99de-8b9756ac025a", "is_active_from_mp": true, "is_active_from_ccp": true, "is_active_from_dp": true, "in_maintenance_mode": false, "nsh_liveness_support": false, "can_decrement_si": false, "action": "REDIRECT" }] } }], "result_count": 1 }