Verb | URI | Description |
POST | /agents/agent_id /dhcp-networks |
Schedule the network to the given DHCP agent. |
Normal Response Code: 201
Error Response Codes: Unauthorized (401), Forbidden (403), Conflict (409) if the network is already hosted by the given DHCP agent, NotFound(404) when the specified agent is not a valid DHCP agent.
This operation requires a request body.
This operation returns a null
body.
Example 4.154. Schedule Network: JSON Request
POST /v2.0/agents/d5724d7e-389d-4ba0-8d00-fc673a147bfa/dhcp-networks.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 {"network_id": "1ae075ca-708b-4e66-b4a7-b7698632f05f"}
Example 4.155. Schedule Network: 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