Schedule router to L3 agent

Verb URI Description
POST /agents/agent_id/l3-routers Schedule one router to the given L3 agent.

Normal Response Code: 201

Error Response Codes: Unauthorized (401), Forbidden (403), Conflict (409) if the router is already hosted, NotFound (404) if the specified agent is not a valid L3 agent.

This operation requires a request body.

This operation returns a null body.

 

Example 4.161. Schedule Router: JSON Request

GET /v2.0/agents/fa24e88e-3d2f-4fc2-b038-5fb5be294c03/l3-routers.json HTTP/1.1
Host: localhost:9696
User-Agent: python-neutronclient
Content-Type: application/json
Accept: application/json
X-Auth-Token: d88f7af21ee34f6c87e23e46cf3f986d
Content-Length: 54

{"router_id": "8eef2388-f27d-4a17-986e-9319a77ccd9d"}

 

Example 4.162. Schedule Router: JSON Response

HTTP/1.1 201 Created
Content-Type: application/json; charset=UTF-8
Content-Length: 4
Date: Wed, 27 Mar 2013 01:22:46 GMT

null

Questions? Discuss on ask.openstack.org
Found an error? Report a bug against this page


loading table of contents...