Returns | Examples: SUCCESSFUL: | {"success":1,"message":"Search Successful.","data":[{"DHCPId":"1","DHCPServer": "trace.foo.com","DHCPPort":"22","DHCPUsername":"benner","DHCPPassword": "h}kc))jwqhgd","DHCPType":"ISC","DHCPConfigPath":"\/usr\/local\/dhcp\/etc \/dhcpd.conf","DHCPServerStop":"sudo kill -9 `cat \/var\/run\/dhcpd.pid`", "DHCPServerStart":"sudo \/usr\/local\/dhcp\/sbin\/dhcpd -p 75","DHCPDefaultLease" :null,"DHCPMaxLease":null,"DHCPAuthoritative":"1","DHCPLogFacility":"local7", "DHCPDomainName":null,"DHCPNameServers":null,"DHCPUseText":"0","DHCPConfigText":null}]} | ERROR: | {"success":0, "message":"error message"} |
Data Detail:
Name | Type | Description |
---|
DHCPId | INT | The ID of the DHCP Server entry. | DHCPServer | STRING | The address of the DHCP Server | DHCPPort | INT | The port the DHCP Server can be reached on. | DHCPUsername | STRING | The user name required to access the DHCP Server | DHCPPassword | STRING | The password required to access the DHCP Server | DHCPType | STRING | The type of DHCP Server | DHCPConfigPath | STRING | Path to DHCP Configuration file | DHCPServerStop | STRING | Commandto stop the DHCP Server | DHCPServerStart | STRING | Command to start the DHCP Server | DHCPDefaultLease | STRING | Default lease time for this server | DHCPMaxLease | STRING | Maximum lease time for this server | DHCPAuthoritative | BOOL | Whether or not this server is authoritative | DHCPLogFacility | STRING | Logging facility for this server | DHCPDomainName | STRING | Domain names servers used by this server | DHCPNameServers | STRING | Name servers used by this server | DHCPUseText | BOOL | Whether or not to use the entry builder or a config text file | DHCPConfigText | STRING | The text of the config text file |
|