List L3 agents hosting router

Verb URI Description
GET /routers/router_id/l3-agents List L3 agents hosting the given router.

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.159. List L3 agents hosting router: JSON Request

GET /v2.0/routers/8eef2388-f27d-4a17-986e-9319a77ccd9d/l3-agents.json HTTP/1.1
Host: localhost:9696
User-Agent: python-neutronclient
Content-Type: application/json
Accept: application/json
X-Auth-Token: bce63afb1e794c70972a19a7c2d6dcab


 

Example 4.160. List L3 agents hosting router: JSON Response

{
   "agents":[
      {
         "binary":"neutron-l3-agent",
         "description":null,
         "admin_state_up":true,
         "heartbeat_timestamp":"2013-03-27T00:24:03.000000",
         "alive":false,
         "topic":"l3_agent",
         "host":"HostC",
         "agent_type":"L3 agent",
         "created_at":"2013-03-26T23:54:26.000000",
         "started_at":"2013-03-26T23:54:26.000000",
         "id":"fa24e88e-3d2f-4fc2-b038-5fb5be294c03",
         "configurations":{
            "router_id":"",
            "gateway_external_network_id":"",
            "handle_internal_only_routers":true,
            "use_namespaces":true,
            "routers":0,
            "interfaces":0,
            "floating_ips":0,
            "interface_driver":"neutron.agent.linux.interface.OVSInterfaceDriver",
            "ex_gw_ports":0
         }
      }
   ]
}

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


loading table of contents...