Policy > Networking > IP Management > DHCP > DHCP Server Configs

Read DHCP server status

Read DHCP server status

Request:

Method:
GET
URI Path(s):
/policy/api/v1/infra/dhcp-server-configs/<config-id>/status
Request Headers:
n/a
Query Parameters:
DhcpServerRequestParameters+
Request Body:
n/a

Example Request:

GET https://<policy-mgr>/policy/api/v1/infra/dhcp-server-configs/default/status?connectivity_path=/infra/tier-1s/it_t1&enforcement_point_path=/infra/sites/default/enforcement-points/default

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
DhcpServerStatus+

Example Response:

{ "active_node": "/infra/sites/default/enforcement-points/default/edge-clusters/43436d79-05ce-4c0b-b31f-078989d4e6fd/edge-nodes/bf80b020-2df8-11ea-986b-000c291ec83c", "stand_by_node": "/infra/sites/default/enforcement-points/default/edge-clusters/43436d79-05ce-4c0b-b31f-078989d4e6fd/edge-nodes/c03dadec-2df8-11ea-a4e6-000c295fbd46", "service_status": "UP" }

Required Permissions:

read

Feature:

policy_dhcp

Additional Errors: