| Verb | URI | Description |
| GET | /networks/network_id/dhcp-agents |
List DHCP agents hosting the given network. |
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.152. List DHCP agents hosting network: JSON Request
GET /v2.0/networks/2d627131-c841-4e3a-ace6-f2dd75773b6d/dhcp-agents HTTP/1.1 Host: localhost:9696 User-Agent: python-neutronclient Content-Type: application/json Accept: application/json X-Auth-Token: cc0f378bdf1545fb8dea2120c89eb532
Example 4.153. List DHCP agents hosting network: JSON Response
{
"agents":[
{
"binary":"neutron-dhcp-agent",
"description":null,
"admin_state_up":true,
"heartbeat_timestamp":"2013-03-27T00:24:01.000000",
"alive":false,
"topic":"dhcp_agent",
"host":"HostC",
"agent_type":"DHCP agent",
"created_at":"2013-03-26T23:54:20.000000",
"started_at":"2013-03-26T23:54:20.000000",
"id":"d5724d7e-389d-4ba0-8d00-fc673a147bfa",
"configurations":{
"subnets":2,
"use_namespaces":true,
"dhcp_driver":"neutron.agent.linux.dhcp.Dnsmasq",
"networks":2,
"dhcp_lease_time":120,
"ports":5
}
}
]
}

