Connect Network Connector Endpoint
指定したネットワークコネクタエンドポイントにインターフェースを接続します。
Request
URI
PUT <network service endpoint>/v2.0/network_connector_endpoints/<network connector endpoint id>/connect
Example:
PUT http://192.168.122.1:9696/v2.0/network_connector_endpoints/6ed3561f-087f-43f9-9a51-bf71f666b80f/connect
Headers
- X-Auth-Token: token delivered by identity service
 - Content-Type: application/json
 
Body Syntax
{
	"interface" : {
		"port_id": "5fd5b822-c400-46dc-bc68-ea8c0dd20876"
	}
} 
     
     
   Parameters
- interface:
ネットワークコネクタエンドポイントに接続するためのリソース情報。値はネットワークコネクタのエンドポイントタイプに依存します。endpoint_typeが"availability_zone"の場合は以下の値を指定します。
- Type: Map
 - Required: Yes
 
 - port_id:
          
仮想ルータのポートID
- Type: String
 - Required: Yes
 
 
Response
Status Code
- 200
 
Errors
- 400: Invalid parameter in request body
 - 401: Token is not specified or not authorized.
 - 403: Token is not permitted to operate.
 - 404: Network connector endpoint not found for specified ID
 - 409:
         
- Resource can't be connected to network connector endpoint.
 - Operation conflicts with another one.
 
 
注意:
ネットワークコネクターエンドポイントへのポート接続後、内部コントロール用IDがポート情報のdevice_idに表示される。