Get Dhcp Lease Info
Get lease info of a given dhcp server id. If a "pool_id" is specified, the lease info of the pool are returned. If an "address" is specified, only the lease info the this address is returned. The "address" can be a single IP, an ip-range, or a mac address. "pool_id" and "address" are mutually excluded. Either a "pool_id" or an "address" can be provided, but not both.
server-id
can be an ip address, or an ip range, or a mac address
The uuid of dhcp ip pool
Data source type.
OK
{
"timestamp": 0,
"leases": [
{
"subnet": "string",
"lease_time": "string",
"mac_address": "string",
"expire_time": "string",
"start_time": "string",
"ip_address": "string"
}
],
"dhcp_server_id": "string"
}
timestamp of the lease info
dhcp server uuid
{
"details": "string",
"related_errors": [
"ApiError Object"
],
"module_name": "string",
"error_message": "string",
"error_code": 0
}
Additional data about the error
Further details about the error
The module name where the error occurred
A description of the error
A numeric error code
{
"details": "string",
"related_errors": [
"ApiError Object"
],
"module_name": "string",
"error_message": "string",
"error_code": 0
}
Additional data about the error
Further details about the error
The module name where the error occurred
A description of the error
A numeric error code
Not Found
{
"details": "string",
"related_errors": [
"ApiError Object"
],
"module_name": "string",
"error_message": "string",
"error_code": 0
}
Additional data about the error
Further details about the error
The module name where the error occurred
A description of the error
A numeric error code
{
"details": "string",
"related_errors": [
"ApiError Object"
],
"module_name": "string",
"error_message": "string",
"error_code": 0
}
Additional data about the error
Further details about the error
The module name where the error occurred
A description of the error
A numeric error code
{
"details": "string",
"related_errors": [
"ApiError Object"
],
"module_name": "string",
"error_message": "string",
"error_code": 0
}
Additional data about the error
Further details about the error
The module name where the error occurred
A description of the error
A numeric error code