Connect Network Connector Endpoint

Connects interface to a specified 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:

    Resource information for connection to the network connector endpoint. Value depends on network connector endpoint type. When endpoint_type is availability_zone:

    • Type: Map
    • Required: Yes
  • port_id:

    Port resource on the availability zone.

    • 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 cannot be connected to network connector endpoint.
    • Operation conflicts with another one.

CAUTION:

ID for internal control is displayed in device_id of port information after the port connected to Network Connector Endpoint.