サービス チェーンに関連付けられ、East-West ネットワーク イントロスペクション サービスまたは NSX Edge のサービス チェーンに適用されるサービス パスのリストを取得します。

サービス チェーン ID に関連付けられたサービス パスを確認します。

前提条件

手順

  • 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
    	}