Verb | URI | Description |
GET | /agents/agent_id /l3-routers |
List routers the given L3 agent is hosting. |
Normal Response Code: 200
Error Response Codes: Unauthorized (401), Forbidden (403)
This operation does not require a request body.
This operation returns a response body.
Example 4.157. List Routers on L3 agent: 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: 6eeea6e73b68415f85d8368902a32c11
Example 4.158. List Routers on L3 agent: JSON Response
{ "routers":[ { "status":"ACTIVE", "external_gateway_info":null, "name":"router1", "admin_state_up":true, "tenant_id":"3671f46ec35e4bbca6ef92ab7975e463", "routes":[ ], "id":"8eef2388-f27d-4a17-986e-9319a77ccd9d" } ] }