Disconnect Network Connector Endpoint

Disconnect interface to a specified network connector endpoint.

Request

URI

PUT <network service endpoint>/v2.0/network_connector_endpoints/<network connector endpoint id>/disconnect

Example:

PUT http://192.168.122.1:9696/v2.0/network_connector_endpoints/6ed3561f-087f-43f9-9a51-bf71f666b80f/disconnect

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 disconnection 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. The port's device_owner must be 'network:router_interface'

    • 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.
    • Specified interface is not connected.
  • 409: Operation conflicts with another one.