This YANG module provides a data model for the Kea DHCP server.
Copyright 2019-2023 Rubicon Communications, LLC.
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-kea:kea-config" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
{- "netgate-kea:kea-config": {
- "netgate-kea:dhcp4-server": {
- "netgate-kea:Dhcp4": {
- "netgate-kea:option-def": [
- {
- "netgate-kea:code": 0,
- "netgate-kea:array": true,
- "netgate-kea:name": "string",
- "netgate-kea:type": "binary",
- "netgate-kea:encapsulate": "string",
- "netgate-kea:space": "string",
- "netgate-kea:record-types": "string"
}
], - "netgate-kea:option-data": [
- {
- "netgate-kea:name": "string",
- "netgate-kea:csv-format": true,
- "netgate-kea:always-send": true,
- "netgate-kea:data": "string",
- "netgate-kea:space": "string"
}
], - "netgate-kea:loggers": [
- {
- "netgate-kea:debuglevel": 0,
- "netgate-kea:severity": "fatal",
- "netgate-kea:name": "kea-dhcp4",
- "netgate-kea:output_options": [
- {
- "netgate-kea:maxver": 0,
- "netgate-kea:output": "string",
- "netgate-kea:maxsize": 0,
- "netgate-kea:flush": true
}
]
}
], - "interfaces-config": {
- "netgate-kea:dhcp-socket-type": "raw",
- "netgate-kea:interfaces": [
- {
- "netgate-kea:interface": "string"
}
]
}, - "valid-lifetime": 0,
- "authoritative": true,
- "lease-database": {
- "netgate-kea:name": "string",
- "netgate-kea:persist": true,
- "netgate-kea:type": "memfile",
- "netgate-kea:lfc-interval": 3600
}, - "renew-timer": 0,
- "next-server": "string",
- "description": "string",
- "decline-probation-period": 0,
- "subnet4": [
- {
- "netgate-kea:option-data": [
- {
- "netgate-kea:name": "string",
- "netgate-kea:csv-format": true,
- "netgate-kea:always-send": true,
- "netgate-kea:data": "string",
- "netgate-kea:space": "string"
}
], - "subnet": "string",
- "pools": [
- {
- "netgate-kea:option-data": [
- {
- "netgate-kea:name": null,
- "netgate-kea:csv-format": null,
- "netgate-kea:always-send": null,
- "netgate-kea:data": null,
- "netgate-kea:space": null
}
], - "pool": "string"
}
], - "authoritative": true,
- "id": 0,
- "reservations": [
- {
- "netgate-kea:option-data": [
- {
- "netgate-kea:name": null,
- "netgate-kea:csv-format": null,
- "netgate-kea:always-send": null,
- "netgate-kea:data": null,
- "netgate-kea:space": null
}
], - "hw-address": "string",
- "hostname": "string",
- "ip-address": "string"
}
], - "interface": "string"
}
], - "rebind-timer": 0,
- "match-client-id": true,
- "echo-client-id": true
}
}, - "netgate-kea:keactrl": {
- "netgate-kea:dhcp4": {
- "netgate-kea:enable": true
}, - "netgate-kea:verbose": true
}
}
}
Dynamic Host Configuration Protocol (DHCP) configuration.
netgate.kea.KeaConfig to be added to list
object (netgate.kea.keaconfig.Dhcp4Server) Gather all the parts that contribute to the DHCP4 server. | |
object (netgate.kea.keaconfig.Keactrl) This section contains parameters for the keactrl configuration file. |
{- "netgate-kea:dhcp4-server": {
- "netgate-kea:Dhcp4": {
- "netgate-kea:option-def": [
- {
- "netgate-kea:code": 0,
- "netgate-kea:array": true,
- "netgate-kea:name": "string",
- "netgate-kea:type": "binary",
- "netgate-kea:encapsulate": "string",
- "netgate-kea:space": "string",
- "netgate-kea:record-types": "string"
}
], - "netgate-kea:option-data": [
- {
- "netgate-kea:name": "string",
- "netgate-kea:csv-format": true,
- "netgate-kea:always-send": true,
- "netgate-kea:data": "string",
- "netgate-kea:space": "string"
}
], - "netgate-kea:loggers": [
- {
- "netgate-kea:debuglevel": 0,
- "netgate-kea:severity": "fatal",
- "netgate-kea:name": "kea-dhcp4",
- "netgate-kea:output_options": [
- {
- "netgate-kea:maxver": 0,
- "netgate-kea:output": "string",
- "netgate-kea:maxsize": 0,
- "netgate-kea:flush": true
}
]
}
], - "interfaces-config": {
- "netgate-kea:dhcp-socket-type": "raw",
- "netgate-kea:interfaces": [
- {
- "netgate-kea:interface": "string"
}
]
}, - "valid-lifetime": 0,
- "authoritative": true,
- "lease-database": {
- "netgate-kea:name": "string",
- "netgate-kea:persist": true,
- "netgate-kea:type": "memfile",
- "netgate-kea:lfc-interval": 3600
}, - "renew-timer": 0,
- "next-server": "string",
- "description": "string",
- "decline-probation-period": 0,
- "subnet4": [
- {
- "netgate-kea:option-data": [
- {
- "netgate-kea:name": "string",
- "netgate-kea:csv-format": true,
- "netgate-kea:always-send": true,
- "netgate-kea:data": "string",
- "netgate-kea:space": "string"
}
], - "subnet": "string",
- "pools": [
- {
- "netgate-kea:option-data": [
- {
- "netgate-kea:name": "string",
- "netgate-kea:csv-format": true,
- "netgate-kea:always-send": true,
- "netgate-kea:data": "string",
- "netgate-kea:space": "string"
}
], - "pool": "string"
}
], - "authoritative": true,
- "id": 0,
- "reservations": [
- {
- "netgate-kea:option-data": [
- {
- "netgate-kea:name": "string",
- "netgate-kea:csv-format": true,
- "netgate-kea:always-send": true,
- "netgate-kea:data": "string",
- "netgate-kea:space": "string"
}
], - "hw-address": "string",
- "hostname": "string",
- "ip-address": "string"
}
], - "interface": "string"
}
], - "rebind-timer": 0,
- "match-client-id": true,
- "echo-client-id": true
}
}, - "netgate-kea:keactrl": {
- "netgate-kea:dhcp4": {
- "netgate-kea:enable": true
}, - "netgate-kea:verbose": true
}
}
Dynamic Host Configuration Protocol (DHCP) configuration.
netgate.kea.KeaConfig to be added or updated
object (netgate.kea.KeaConfig) Dynamic Host Configuration Protocol (DHCP) configuration. |
{- "netgate-kea:kea-config": {
- "netgate-kea:dhcp4-server": {
- "netgate-kea:Dhcp4": {
- "netgate-kea:option-def": [
- {
- "netgate-kea:code": 0,
- "netgate-kea:array": true,
- "netgate-kea:name": "string",
- "netgate-kea:type": "binary",
- "netgate-kea:encapsulate": "string",
- "netgate-kea:space": "string",
- "netgate-kea:record-types": "string"
}
], - "netgate-kea:option-data": [
- {
- "netgate-kea:name": "string",
- "netgate-kea:csv-format": true,
- "netgate-kea:always-send": true,
- "netgate-kea:data": "string",
- "netgate-kea:space": "string"
}
], - "netgate-kea:loggers": [
- {
- "netgate-kea:debuglevel": 0,
- "netgate-kea:severity": "fatal",
- "netgate-kea:name": "kea-dhcp4",
- "netgate-kea:output_options": [
- {
- "netgate-kea:maxver": 0,
- "netgate-kea:output": "string",
- "netgate-kea:maxsize": 0,
- "netgate-kea:flush": true
}
]
}
], - "interfaces-config": {
- "netgate-kea:dhcp-socket-type": "raw",
- "netgate-kea:interfaces": [
- {
- "netgate-kea:interface": "string"
}
]
}, - "valid-lifetime": 0,
- "authoritative": true,
- "lease-database": {
- "netgate-kea:name": "string",
- "netgate-kea:persist": true,
- "netgate-kea:type": "memfile",
- "netgate-kea:lfc-interval": 3600
}, - "renew-timer": 0,
- "next-server": "string",
- "description": "string",
- "decline-probation-period": 0,
- "subnet4": [
- {
- "netgate-kea:option-data": [
- {
- "netgate-kea:name": "string",
- "netgate-kea:csv-format": true,
- "netgate-kea:always-send": true,
- "netgate-kea:data": "string",
- "netgate-kea:space": "string"
}
], - "subnet": "string",
- "pools": [
- {
- "netgate-kea:option-data": [
- {
- "netgate-kea:name": null,
- "netgate-kea:csv-format": null,
- "netgate-kea:always-send": null,
- "netgate-kea:data": null,
- "netgate-kea:space": null
}
], - "pool": "string"
}
], - "authoritative": true,
- "id": 0,
- "reservations": [
- {
- "netgate-kea:option-data": [
- {
- "netgate-kea:name": null,
- "netgate-kea:csv-format": null,
- "netgate-kea:always-send": null,
- "netgate-kea:data": null,
- "netgate-kea:space": null
}
], - "hw-address": "string",
- "hostname": "string",
- "ip-address": "string"
}
], - "interface": "string"
}
], - "rebind-timer": 0,
- "match-client-id": true,
- "echo-client-id": true
}
}, - "netgate-kea:keactrl": {
- "netgate-kea:dhcp4": {
- "netgate-kea:enable": true
}, - "netgate-kea:verbose": true
}
}
}
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-kea:kea-config" req, _ := http.NewRequest("DELETE", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Gather all the parts that contribute to the DHCP4 server.
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-kea:kea-config/dhcp4-server" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
{- "netgate-kea:dhcp4-server": {
- "netgate-kea:Dhcp4": {
- "netgate-kea:option-def": [
- {
- "netgate-kea:code": 0,
- "netgate-kea:array": true,
- "netgate-kea:name": "string",
- "netgate-kea:type": "binary",
- "netgate-kea:encapsulate": "string",
- "netgate-kea:space": "string",
- "netgate-kea:record-types": "string"
}
], - "netgate-kea:option-data": [
- {
- "netgate-kea:name": "string",
- "netgate-kea:csv-format": true,
- "netgate-kea:always-send": true,
- "netgate-kea:data": "string",
- "netgate-kea:space": "string"
}
], - "netgate-kea:loggers": [
- {
- "netgate-kea:debuglevel": 0,
- "netgate-kea:severity": "fatal",
- "netgate-kea:name": "kea-dhcp4",
- "netgate-kea:output_options": [
- {
- "netgate-kea:maxver": 0,
- "netgate-kea:output": "string",
- "netgate-kea:maxsize": 0,
- "netgate-kea:flush": true
}
]
}
], - "interfaces-config": {
- "netgate-kea:dhcp-socket-type": "raw",
- "netgate-kea:interfaces": [
- {
- "netgate-kea:interface": "string"
}
]
}, - "valid-lifetime": 0,
- "authoritative": true,
- "lease-database": {
- "netgate-kea:name": "string",
- "netgate-kea:persist": true,
- "netgate-kea:type": "memfile",
- "netgate-kea:lfc-interval": 3600
}, - "renew-timer": 0,
- "next-server": "string",
- "description": "string",
- "decline-probation-period": 0,
- "subnet4": [
- {
- "netgate-kea:option-data": [
- {
- "netgate-kea:name": "string",
- "netgate-kea:csv-format": true,
- "netgate-kea:always-send": true,
- "netgate-kea:data": "string",
- "netgate-kea:space": "string"
}
], - "subnet": "string",
- "pools": [
- {
- "netgate-kea:option-data": [
- {
- "netgate-kea:name": "string",
- "netgate-kea:csv-format": true,
- "netgate-kea:always-send": true,
- "netgate-kea:data": "string",
- "netgate-kea:space": "string"
}
], - "pool": "string"
}
], - "authoritative": true,
- "id": 0,
- "reservations": [
- {
- "netgate-kea:option-data": [
- {
- "netgate-kea:name": "string",
- "netgate-kea:csv-format": true,
- "netgate-kea:always-send": true,
- "netgate-kea:data": "string",
- "netgate-kea:space": "string"
}
], - "hw-address": "string",
- "hostname": "string",
- "ip-address": "string"
}
], - "interface": "string"
}
], - "rebind-timer": 0,
- "match-client-id": true,
- "echo-client-id": true
}
}
}
Gather all the parts that contribute to the DHCP4 server.
netgate.kea.keaconfig.Dhcp4Server to be added to list
object (netgate.kea.keaconfig.dhcp4server.Dhcp4) Kea DHCPv4 custom option definition information. |
{- "netgate-kea:Dhcp4": {
- "netgate-kea:option-def": [
- {
- "netgate-kea:code": 0,
- "netgate-kea:array": true,
- "netgate-kea:name": "string",
- "netgate-kea:type": "binary",
- "netgate-kea:encapsulate": "string",
- "netgate-kea:space": "string",
- "netgate-kea:record-types": "string"
}
], - "netgate-kea:option-data": [
- {
- "netgate-kea:name": "string",
- "netgate-kea:csv-format": true,
- "netgate-kea:always-send": true,
- "netgate-kea:data": "string",
- "netgate-kea:space": "string"
}
], - "netgate-kea:loggers": [
- {
- "netgate-kea:debuglevel": 0,
- "netgate-kea:severity": "fatal",
- "netgate-kea:name": "kea-dhcp4",
- "netgate-kea:output_options": [
- {
- "netgate-kea:maxver": 0,
- "netgate-kea:output": "string",
- "netgate-kea:maxsize": 0,
- "netgate-kea:flush": true
}
]
}
], - "interfaces-config": {
- "netgate-kea:dhcp-socket-type": "raw",
- "netgate-kea:interfaces": [
- {
- "netgate-kea:interface": "string"
}
]
}, - "valid-lifetime": 0,
- "authoritative": true,
- "lease-database": {
- "netgate-kea:name": "string",
- "netgate-kea:persist": true,
- "netgate-kea:type": "memfile",
- "netgate-kea:lfc-interval": 3600
}, - "renew-timer": 0,
- "next-server": "string",
- "description": "string",
- "decline-probation-period": 0,
- "subnet4": [
- {
- "netgate-kea:option-data": [
- {
- "netgate-kea:name": "string",
- "netgate-kea:csv-format": true,
- "netgate-kea:always-send": true,
- "netgate-kea:data": "string",
- "netgate-kea:space": "string"
}
], - "subnet": "string",
- "pools": [
- {
- "netgate-kea:option-data": [
- {
- "netgate-kea:name": "string",
- "netgate-kea:csv-format": true,
- "netgate-kea:always-send": true,
- "netgate-kea:data": "string",
- "netgate-kea:space": "string"
}
], - "pool": "string"
}
], - "authoritative": true,
- "id": 0,
- "reservations": [
- {
- "netgate-kea:option-data": [
- {
- "netgate-kea:name": "string",
- "netgate-kea:csv-format": true,
- "netgate-kea:always-send": true,
- "netgate-kea:data": "string",
- "netgate-kea:space": "string"
}
], - "hw-address": "string",
- "hostname": "string",
- "ip-address": "string"
}
], - "interface": "string"
}
], - "rebind-timer": 0,
- "match-client-id": true,
- "echo-client-id": true
}
}
Gather all the parts that contribute to the DHCP4 server.
netgate.kea.keaconfig.Dhcp4Server to be added or updated
object (netgate.kea.keaconfig.Dhcp4Server) Gather all the parts that contribute to the DHCP4 server. |
{- "netgate-kea:dhcp4-server": {
- "netgate-kea:Dhcp4": {
- "netgate-kea:option-def": [
- {
- "netgate-kea:code": 0,
- "netgate-kea:array": true,
- "netgate-kea:name": "string",
- "netgate-kea:type": "binary",
- "netgate-kea:encapsulate": "string",
- "netgate-kea:space": "string",
- "netgate-kea:record-types": "string"
}
], - "netgate-kea:option-data": [
- {
- "netgate-kea:name": "string",
- "netgate-kea:csv-format": true,
- "netgate-kea:always-send": true,
- "netgate-kea:data": "string",
- "netgate-kea:space": "string"
}
], - "netgate-kea:loggers": [
- {
- "netgate-kea:debuglevel": 0,
- "netgate-kea:severity": "fatal",
- "netgate-kea:name": "kea-dhcp4",
- "netgate-kea:output_options": [
- {
- "netgate-kea:maxver": 0,
- "netgate-kea:output": "string",
- "netgate-kea:maxsize": 0,
- "netgate-kea:flush": true
}
]
}
], - "interfaces-config": {
- "netgate-kea:dhcp-socket-type": "raw",
- "netgate-kea:interfaces": [
- {
- "netgate-kea:interface": "string"
}
]
}, - "valid-lifetime": 0,
- "authoritative": true,
- "lease-database": {
- "netgate-kea:name": "string",
- "netgate-kea:persist": true,
- "netgate-kea:type": "memfile",
- "netgate-kea:lfc-interval": 3600
}, - "renew-timer": 0,
- "next-server": "string",
- "description": "string",
- "decline-probation-period": 0,
- "subnet4": [
- {
- "netgate-kea:option-data": [
- {
- "netgate-kea:name": "string",
- "netgate-kea:csv-format": true,
- "netgate-kea:always-send": true,
- "netgate-kea:data": "string",
- "netgate-kea:space": "string"
}
], - "subnet": "string",
- "pools": [
- {
- "netgate-kea:option-data": [
- {
- "netgate-kea:name": "string",
- "netgate-kea:csv-format": true,
- "netgate-kea:always-send": true,
- "netgate-kea:data": "string",
- "netgate-kea:space": "string"
}
], - "pool": "string"
}
], - "authoritative": true,
- "id": 0,
- "reservations": [
- {
- "netgate-kea:option-data": [
- {
- "netgate-kea:name": "string",
- "netgate-kea:csv-format": true,
- "netgate-kea:always-send": true,
- "netgate-kea:data": "string",
- "netgate-kea:space": "string"
}
], - "hw-address": "string",
- "hostname": "string",
- "ip-address": "string"
}
], - "interface": "string"
}
], - "rebind-timer": 0,
- "match-client-id": true,
- "echo-client-id": true
}
}
}
Gather all the parts that contribute to the DHCP4 server.
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-kea:kea-config/dhcp4-server" req, _ := http.NewRequest("DELETE", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Configuration for the Kea DHCP IPv4 Server
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-kea:kea-config/dhcp4-server/Dhcp4" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
{- "netgate-kea:Dhcp4": {
- "netgate-kea:option-def": [
- {
- "netgate-kea:code": 0,
- "netgate-kea:array": true,
- "netgate-kea:name": "string",
- "netgate-kea:type": "binary",
- "netgate-kea:encapsulate": "string",
- "netgate-kea:space": "string",
- "netgate-kea:record-types": "string"
}
], - "netgate-kea:option-data": [
- {
- "netgate-kea:name": "string",
- "netgate-kea:csv-format": true,
- "netgate-kea:always-send": true,
- "netgate-kea:data": "string",
- "netgate-kea:space": "string"
}
], - "netgate-kea:loggers": [
- {
- "netgate-kea:debuglevel": 0,
- "netgate-kea:severity": "fatal",
- "netgate-kea:name": "kea-dhcp4",
- "netgate-kea:output_options": [
- {
- "netgate-kea:maxver": 0,
- "netgate-kea:output": "string",
- "netgate-kea:maxsize": 0,
- "netgate-kea:flush": true
}
]
}
], - "interfaces-config": {
- "netgate-kea:dhcp-socket-type": "raw",
- "netgate-kea:interfaces": [
- {
- "netgate-kea:interface": "string"
}
]
}, - "valid-lifetime": 0,
- "authoritative": true,
- "lease-database": {
- "netgate-kea:name": "string",
- "netgate-kea:persist": true,
- "netgate-kea:type": "memfile",
- "netgate-kea:lfc-interval": 3600
}, - "renew-timer": 0,
- "next-server": "string",
- "description": "string",
- "decline-probation-period": 0,
- "subnet4": [
- {
- "netgate-kea:option-data": [
- {
- "netgate-kea:name": "string",
- "netgate-kea:csv-format": true,
- "netgate-kea:always-send": true,
- "netgate-kea:data": "string",
- "netgate-kea:space": "string"
}
], - "subnet": "string",
- "pools": [
- {
- "netgate-kea:option-data": [
- {
- "netgate-kea:name": "string",
- "netgate-kea:csv-format": true,
- "netgate-kea:always-send": true,
- "netgate-kea:data": "string",
- "netgate-kea:space": "string"
}
], - "pool": "string"
}
], - "authoritative": true,
- "id": 0,
- "reservations": [
- {
- "netgate-kea:option-data": [
- {
- "netgate-kea:name": "string",
- "netgate-kea:csv-format": true,
- "netgate-kea:always-send": true,
- "netgate-kea:data": "string",
- "netgate-kea:space": "string"
}
], - "hw-address": "string",
- "hostname": "string",
- "ip-address": "string"
}
], - "interface": "string"
}
], - "rebind-timer": 0,
- "match-client-id": true,
- "echo-client-id": true
}
}
Configuration for the Kea DHCP IPv4 Server
netgate.kea.keaconfig.dhcp4server.Dhcp4 to be added to list
Array of objects (netgate.kea.keadhcp4optiondefgroup.OptionDef) List of DHCPv4 custom option definition. | |
Array of objects (netgate.kea.keadhcp4optiongroup.OptionData) List of DHCPv4 options and values. | |
Array of objects (netgate.kea.kealogginggroup.Loggers) List of logging facilities and parameters. | |
object (netgate.kea.keaconfig.dhcp4server.dhcp4.InterfacesConfig) The interfaces-config holds configuration information about each interface used by the DHCPv4 server. | |
valid-lifetime | integer <int64> The valid duration for an assigned lease in seconds. |
authoritative | boolean Default: true Global flag to determine whether to send a NAK in response to requests by clients for unknown IP addresses. Defaults to true. |
object (netgate.kea.keaconfig.dhcp4server.dhcp4.LeaseDatabase) | |
renew-timer | integer <int64> The RFC-2131 T1 renewal value in seconds. |
next-server | string This next-server IPv4 address is used as the siaddr field. |
description | string A user-supplied description of the server. |
decline-probation-period | integer <int64> The decline-probation-period specifies the period in seconds in which the server will recycle declined leases. The default period is 86400 seconds (24 hours). |
Array of objects (netgate.kea.keaconfig.dhcp4server.dhcp4.Subnet4) An IPv4 subnet configuration within the DHCPv4 server. | |
rebind-timer | integer <int64> The RFC-2131 T2 rebind value in seconds. |
match-client-id | boolean If match-client-id is false, the DHCP server will match clients using the 'chaddr' field. |
echo-client-id | boolean The echo-client-id boolean value specifies that the server should or should-not reply with the client-id if the client sent it. Setting this to false enables RFC-2131 backward compatibitlity. |
{- "netgate-kea:option-def": [
- {
- "netgate-kea:code": 0,
- "netgate-kea:array": true,
- "netgate-kea:name": "string",
- "netgate-kea:type": "binary",
- "netgate-kea:encapsulate": "string",
- "netgate-kea:space": "string",
- "netgate-kea:record-types": "string"
}
], - "netgate-kea:option-data": [
- {
- "netgate-kea:name": "string",
- "netgate-kea:csv-format": true,
- "netgate-kea:always-send": true,
- "netgate-kea:data": "string",
- "netgate-kea:space": "string"
}
], - "netgate-kea:loggers": [
- {
- "netgate-kea:debuglevel": 0,
- "netgate-kea:severity": "fatal",
- "netgate-kea:name": "kea-dhcp4",
- "netgate-kea:output_options": [
- {
- "netgate-kea:maxver": 0,
- "netgate-kea:output": "string",
- "netgate-kea:maxsize": 0,
- "netgate-kea:flush": true
}
]
}
], - "interfaces-config": {
- "netgate-kea:dhcp-socket-type": "raw",
- "netgate-kea:interfaces": [
- {
- "netgate-kea:interface": "string"
}
]
}, - "valid-lifetime": 0,
- "authoritative": true,
- "lease-database": {
- "netgate-kea:name": "string",
- "netgate-kea:persist": true,
- "netgate-kea:type": "memfile",
- "netgate-kea:lfc-interval": 3600
}, - "renew-timer": 0,
- "next-server": "string",
- "description": "string",
- "decline-probation-period": 0,
- "subnet4": [
- {
- "netgate-kea:option-data": [
- {
- "netgate-kea:name": "string",
- "netgate-kea:csv-format": true,
- "netgate-kea:always-send": true,
- "netgate-kea:data": "string",
- "netgate-kea:space": "string"
}
], - "subnet": "string",
- "pools": [
- {
- "netgate-kea:option-data": [
- {
- "netgate-kea:name": "string",
- "netgate-kea:csv-format": true,
- "netgate-kea:always-send": true,
- "netgate-kea:data": "string",
- "netgate-kea:space": "string"
}
], - "pool": "string"
}
], - "authoritative": true,
- "id": 0,
- "reservations": [
- {
- "netgate-kea:option-data": [
- {
- "netgate-kea:name": "string",
- "netgate-kea:csv-format": true,
- "netgate-kea:always-send": true,
- "netgate-kea:data": "string",
- "netgate-kea:space": "string"
}
], - "hw-address": "string",
- "hostname": "string",
- "ip-address": "string"
}
], - "interface": "string"
}
], - "rebind-timer": 0,
- "match-client-id": true,
- "echo-client-id": true
}
Configuration for the Kea DHCP IPv4 Server
netgate.kea.keaconfig.dhcp4server.Dhcp4 to be added or updated
object (netgate.kea.keaconfig.dhcp4server.Dhcp4) Kea DHCPv4 custom option definition information. |
{- "netgate-kea:Dhcp4": {
- "netgate-kea:option-def": [
- {
- "netgate-kea:code": 0,
- "netgate-kea:array": true,
- "netgate-kea:name": "string",
- "netgate-kea:type": "binary",
- "netgate-kea:encapsulate": "string",
- "netgate-kea:space": "string",
- "netgate-kea:record-types": "string"
}
], - "netgate-kea:option-data": [
- {
- "netgate-kea:name": "string",
- "netgate-kea:csv-format": true,
- "netgate-kea:always-send": true,
- "netgate-kea:data": "string",
- "netgate-kea:space": "string"
}
], - "netgate-kea:loggers": [
- {
- "netgate-kea:debuglevel": 0,
- "netgate-kea:severity": "fatal",
- "netgate-kea:name": "kea-dhcp4",
- "netgate-kea:output_options": [
- {
- "netgate-kea:maxver": 0,
- "netgate-kea:output": "string",
- "netgate-kea:maxsize": 0,
- "netgate-kea:flush": true
}
]
}
], - "interfaces-config": {
- "netgate-kea:dhcp-socket-type": "raw",
- "netgate-kea:interfaces": [
- {
- "netgate-kea:interface": "string"
}
]
}, - "valid-lifetime": 0,
- "authoritative": true,
- "lease-database": {
- "netgate-kea:name": "string",
- "netgate-kea:persist": true,
- "netgate-kea:type": "memfile",
- "netgate-kea:lfc-interval": 3600
}, - "renew-timer": 0,
- "next-server": "string",
- "description": "string",
- "decline-probation-period": 0,
- "subnet4": [
- {
- "netgate-kea:option-data": [
- {
- "netgate-kea:name": "string",
- "netgate-kea:csv-format": true,
- "netgate-kea:always-send": true,
- "netgate-kea:data": "string",
- "netgate-kea:space": "string"
}
], - "subnet": "string",
- "pools": [
- {
- "netgate-kea:option-data": [
- {
- "netgate-kea:name": "string",
- "netgate-kea:csv-format": true,
- "netgate-kea:always-send": true,
- "netgate-kea:data": "string",
- "netgate-kea:space": "string"
}
], - "pool": "string"
}
], - "authoritative": true,
- "id": 0,
- "reservations": [
- {
- "netgate-kea:option-data": [
- {
- "netgate-kea:name": "string",
- "netgate-kea:csv-format": true,
- "netgate-kea:always-send": true,
- "netgate-kea:data": "string",
- "netgate-kea:space": "string"
}
], - "hw-address": "string",
- "hostname": "string",
- "ip-address": "string"
}
], - "interface": "string"
}
], - "rebind-timer": 0,
- "match-client-id": true,
- "echo-client-id": true
}
}
Configuration for the Kea DHCP IPv4 Server
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-kea:kea-config/dhcp4-server/Dhcp4" req, _ := http.NewRequest("DELETE", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
The interfaces-config holds configuration information about each interface used by the DHCPv4 server.
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-kea:kea-config/dhcp4-server/Dhcp4/interfaces-config" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
{- "netgate-kea:interfaces-config": {
- "netgate-kea:dhcp-socket-type": "raw",
- "netgate-kea:interfaces": [
- {
- "netgate-kea:interface": "string"
}
]
}
}
The interfaces-config holds configuration information about each interface used by the DHCPv4 server.
netgate.kea.keaconfig.dhcp4server.dhcp4.InterfacesConfig to be added to list
netgate-kea:dhcp-socket-type | string Default: "raw" Sockets used for listening on the set of interfaces will be opened as either'raw' IP sockets, or 'udp' sockets. |
Array of objects (netgate.kea.keaconfig.dhcp4server.dhcp4.interfacesconfig.Interfaces) The interfaces is a list of interface names or interface names with unicast addresses on them on which the server will listen for DHCP requests. |
{- "netgate-kea:dhcp-socket-type": "raw",
- "netgate-kea:interfaces": [
- {
- "netgate-kea:interface": "string"
}
]
}
The interfaces-config holds configuration information about each interface used by the DHCPv4 server.
netgate.kea.keaconfig.dhcp4server.dhcp4.InterfacesConfig to be added or updated
object (netgate.kea.keaconfig.dhcp4server.dhcp4.InterfacesConfig) The interfaces-config holds configuration information about each interface used by the DHCPv4 server. |
{- "netgate-kea:interfaces-config": {
- "netgate-kea:dhcp-socket-type": "raw",
- "netgate-kea:interfaces": [
- {
- "netgate-kea:interface": "string"
}
]
}
}
The interfaces-config holds configuration information about each interface used by the DHCPv4 server.
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-kea:kea-config/dhcp4-server/Dhcp4/interfaces-config" req, _ := http.NewRequest("DELETE", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
The interfaces is a list of interface names or interface names with unicast addresses on them on which the server will listen for DHCP requests.
netgate.kea.keaconfig.dhcp4server.dhcp4.interfacesconfig.Interfaces to be added to list
netgate-kea:interface | string The name of an interface on which the server will listen for IPv4 DHCP requests. |
{- "netgate-kea:interface": "string"
}
The interfaces is a list of interface names or interface names with unicast addresses on them on which the server will listen for DHCP requests.
interface required | string Id of interfaces |
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-kea:kea-config/dhcp4-server/Dhcp4/interfaces-config/interfaces=%7Binterface%7D" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
{- "netgate-kea:interfaces": {
- "netgate-kea:interface": "string"
}
}
The interfaces is a list of interface names or interface names with unicast addresses on them on which the server will listen for DHCP requests.
interface required | string Id of interfaces |
netgate.kea.keaconfig.dhcp4server.dhcp4.interfacesconfig.Interfaces to be added or updated
object (netgate.kea.keaconfig.dhcp4server.dhcp4.interfacesconfig.Interfaces) The interfaces is a list of interface names or interface names with unicast addresses on them on which the server will listen for DHCP requests. |
{- "netgate-kea:interfaces": {
- "netgate-kea:interface": "string"
}
}
The interfaces is a list of interface names or interface names with unicast addresses on them on which the server will listen for DHCP requests.
interface required | string Id of interfaces |
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-kea:kea-config/dhcp4-server/Dhcp4/interfaces-config/interfaces=%7Binterface%7D" req, _ := http.NewRequest("DELETE", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
returns netgate.kea.keaconfig.dhcp4server.dhcp4.LeaseDatabase
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-kea:kea-config/dhcp4-server/Dhcp4/lease-database" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
{- "netgate-kea:lease-database": {
- "netgate-kea:name": "string",
- "netgate-kea:persist": true,
- "netgate-kea:type": "memfile",
- "netgate-kea:lfc-interval": 3600
}
}
creates netgate.kea.keaconfig.dhcp4server.dhcp4.LeaseDatabase
netgate.kea.keaconfig.dhcp4server.dhcp4.LeaseDatabase to be added to list
netgate-kea:name | string Name of the DHCPv4 leases file on disk. This should be a name ending in '.csv'. |
netgate-kea:persist | boolean Default: true If set to TRUE, new leases and updates to existing leases are written to the leases file on disk. If leases aren't written to disk, no assurance can be made that leases will persist across a server restart. |
netgate-kea:type | string Default: "memfile" The database type used to store the lease information. Currently only the type 'memfile' is supported. |
netgate-kea:lfc-interval | integer <int64> Default: 3600 The lfc-interval specifies the interval in seconds at which the server will perform a lease file cleanup to remove the unused, historical information from the lease file. The default is one hour (3600). Zero disables the LFC operation. |
{- "netgate-kea:name": "string",
- "netgate-kea:persist": true,
- "netgate-kea:type": "memfile",
- "netgate-kea:lfc-interval": 3600
}
creates or updates netgate.kea.keaconfig.dhcp4server.dhcp4.LeaseDatabase
netgate.kea.keaconfig.dhcp4server.dhcp4.LeaseDatabase to be added or updated
object (netgate.kea.keaconfig.dhcp4server.dhcp4.LeaseDatabase) |
{- "netgate-kea:lease-database": {
- "netgate-kea:name": "string",
- "netgate-kea:persist": true,
- "netgate-kea:type": "memfile",
- "netgate-kea:lfc-interval": 3600
}
}
removes netgate.kea.keaconfig.dhcp4server.dhcp4.LeaseDatabase
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-kea:kea-config/dhcp4-server/Dhcp4/lease-database" req, _ := http.NewRequest("DELETE", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
List of logging facilities and parameters.
netgate.kea.kealogginggroup.Loggers to be added to list
netgate-kea:debuglevel | integer <int32> A Kea debug level. |
netgate-kea:severity | string (netgate.kea.KeaLoggerSeverity) Enum: "fatal" "error" "warn" "info" "debug" |
netgate-kea:name | string (netgate.kea.KeaLoggerName) Enum: "kea-dhcp4" "kea-dhcp4.alloc-engine" "kea-dhcp4.bad-packets" "kea-dhcp4.callouts" "kea-dhcp4.commands" "kea-dhcp4.ddns" "kea-dhcp4.dhcp4" "kea-dhcp4.dhcpsrv" "kea-dhcp4.eval" "kea-dhcp4.hooks" "kea-dhcp4.hosts" "kea-dhcp4.leases" "kea-dhcp4.options" "kea-dhcp4.packets" "kea-dhcp4.stat-cmds-hooks" |
Array of objects (netgate.kea.kealogginggroup.loggers.OutputOptions) List of output options for a logger. |
{- "netgate-kea:debuglevel": 0,
- "netgate-kea:severity": "fatal",
- "netgate-kea:name": "kea-dhcp4",
- "netgate-kea:output_options": [
- {
- "netgate-kea:maxver": 0,
- "netgate-kea:output": "string",
- "netgate-kea:maxsize": 0,
- "netgate-kea:flush": true
}
]
}
List of logging facilities and parameters.
name required | string Id of loggers |
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-kea:kea-config/dhcp4-server/Dhcp4/loggers=%7Bname%7D" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
{- "netgate-kea:loggers": {
- "netgate-kea:debuglevel": 0,
- "netgate-kea:severity": "fatal",
- "netgate-kea:name": "kea-dhcp4",
- "netgate-kea:output_options": [
- {
- "netgate-kea:maxver": 0,
- "netgate-kea:output": "string",
- "netgate-kea:maxsize": 0,
- "netgate-kea:flush": true
}
]
}
}
List of logging facilities and parameters.
name required | string Id of loggers |
netgate.kea.kealogginggroup.Loggers to be added or updated
object (netgate.kea.kealogginggroup.Loggers) List of logging facilities and parameters. |
{- "netgate-kea:loggers": {
- "netgate-kea:debuglevel": 0,
- "netgate-kea:severity": "fatal",
- "netgate-kea:name": "kea-dhcp4",
- "netgate-kea:output_options": [
- {
- "netgate-kea:maxver": 0,
- "netgate-kea:output": "string",
- "netgate-kea:maxsize": 0,
- "netgate-kea:flush": true
}
]
}
}
List of logging facilities and parameters.
name required | string Id of loggers |
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-kea:kea-config/dhcp4-server/Dhcp4/loggers=%7Bname%7D" req, _ := http.NewRequest("DELETE", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
List of output options for a logger.
name required | string Id of loggers |
netgate.kea.kealogginggroup.loggers.OutputOptions to be added to list
netgate-kea:maxver | integer <int64> The maximum number of rotation log files to keep. The default value is 1. |
netgate-kea:output | string The logger's file or keyword output location. |
netgate-kea:maxsize | integer <int64> The maximum size of a rotating log file in bytes. The default is 10MB. |
netgate-kea:flush | boolean If true, each log message is flushed as it is logged at a slight performance penalty. |
{- "netgate-kea:maxver": 0,
- "netgate-kea:output": "string",
- "netgate-kea:maxsize": 0,
- "netgate-kea:flush": true
}
List of output options for a logger.
name required | string Id of loggers |
output required | string Id of output_options |
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-kea:kea-config/dhcp4-server/Dhcp4/loggers=%7Bname%7D/output_options=%7Boutput%7D" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
{- "netgate-kea:output_options": {
- "netgate-kea:maxver": 0,
- "netgate-kea:output": "string",
- "netgate-kea:maxsize": 0,
- "netgate-kea:flush": true
}
}
List of output options for a logger.
name required | string Id of loggers |
output required | string Id of output_options |
netgate.kea.kealogginggroup.loggers.OutputOptions to be added or updated
object (netgate.kea.kealogginggroup.loggers.OutputOptions) List of output options for a logger. |
{- "netgate-kea:output_options": {
- "netgate-kea:maxver": 0,
- "netgate-kea:output": "string",
- "netgate-kea:maxsize": 0,
- "netgate-kea:flush": true
}
}
List of output options for a logger.
name required | string Id of loggers |
output required | string Id of output_options |
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-kea:kea-config/dhcp4-server/Dhcp4/loggers=%7Bname%7D/output_options=%7Boutput%7D" req, _ := http.NewRequest("DELETE", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
List of DHCPv4 options and values.
netgate.kea.keadhcp4optiongroup.OptionData to be added to list
object (netgate.kea.keadhcp4optiongroup.OptionData) List of DHCPv4 options and values. |
{- "netgate-kea:option-data": {
- "netgate-kea:name": "string",
- "netgate-kea:csv-format": true,
- "netgate-kea:always-send": true,
- "netgate-kea:data": "string",
- "netgate-kea:space": "string"
}
}
List of DHCPv4 options and values.
name required | string Id of option-data |
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-kea:kea-config/dhcp4-server/Dhcp4/option-data=%7Bname%7D" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
{- "netgate-kea:option-data": {
- "netgate-kea:name": "string",
- "netgate-kea:csv-format": true,
- "netgate-kea:always-send": true,
- "netgate-kea:data": "string",
- "netgate-kea:space": "string"
}
}
List of DHCPv4 options and values.
name required | string Id of option-data |
netgate.kea.keadhcp4optiongroup.OptionData to be added or updated
object (netgate.kea.keadhcp4optiongroup.OptionData) List of DHCPv4 options and values. |
{- "netgate-kea:option-data": {
- "netgate-kea:name": "string",
- "netgate-kea:csv-format": true,
- "netgate-kea:always-send": true,
- "netgate-kea:data": "string",
- "netgate-kea:space": "string"
}
}
List of DHCPv4 options and values.
name required | string Id of option-data |
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-kea:kea-config/dhcp4-server/Dhcp4/option-data=%7Bname%7D" req, _ := http.NewRequest("DELETE", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
List of DHCPv4 custom option definition.
netgate.kea.keadhcp4optiondefgroup.OptionDef to be added to list
netgate-kea:code | integer <int32> The numeric uint8 option code. |
netgate-kea:array | boolean If true, specifies an array of values. If false, specifies a singular datum or record. |
netgate-kea:name | string The server requires an option name to identify an option definition. |
netgate-kea:type | string (netgate.kea.KeaDhcp4OptionDefType) Enum: "binary" "boolean" "empty" "fqdn" "ipv4-address" "ipv6-address" "ipv6-prefix" "psid" "record" "string" "tuple" "uint8" "uint16" "uint32" "int8" "int16" "int32" |
netgate-kea:encapsulate | string The name of the option space being encapsulated by the particular option. |
netgate-kea:space | string The namespace for the option definition. |
netgate-kea:record-types | string A comma separated list of record field types. |
{- "netgate-kea:code": 0,
- "netgate-kea:array": true,
- "netgate-kea:name": "string",
- "netgate-kea:type": "binary",
- "netgate-kea:encapsulate": "string",
- "netgate-kea:space": "string",
- "netgate-kea:record-types": "string"
}
List of DHCPv4 custom option definition.
name required | string Id of option-def |
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-kea:kea-config/dhcp4-server/Dhcp4/option-def=%7Bname%7D" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
{- "netgate-kea:option-def": {
- "netgate-kea:code": 0,
- "netgate-kea:array": true,
- "netgate-kea:name": "string",
- "netgate-kea:type": "binary",
- "netgate-kea:encapsulate": "string",
- "netgate-kea:space": "string",
- "netgate-kea:record-types": "string"
}
}
List of DHCPv4 custom option definition.
name required | string Id of option-def |
netgate.kea.keadhcp4optiondefgroup.OptionDef to be added or updated
object (netgate.kea.keadhcp4optiondefgroup.OptionDef) List of DHCPv4 custom option definition. |
{- "netgate-kea:option-def": {
- "netgate-kea:code": 0,
- "netgate-kea:array": true,
- "netgate-kea:name": "string",
- "netgate-kea:type": "binary",
- "netgate-kea:encapsulate": "string",
- "netgate-kea:space": "string",
- "netgate-kea:record-types": "string"
}
}
List of DHCPv4 custom option definition.
name required | string Id of option-def |
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-kea:kea-config/dhcp4-server/Dhcp4/option-def=%7Bname%7D" req, _ := http.NewRequest("DELETE", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
An IPv4 subnet configuration within the DHCPv4 server.
netgate.kea.keaconfig.dhcp4server.dhcp4.Subnet4 to be added to list
Array of objects (netgate.kea.keadhcp4optiongroup.OptionData) List of DHCPv4 options and values. | |
subnet | string The IPv4 subnet prefix. |
Array of objects (netgate.kea.keaconfig.dhcp4server.dhcp4.subnet4.Pools) A list of leased address pools. Each pool is specified as a start and optional end IPv4 addresses, or as an IPv4 address and prefix. | |
authoritative | boolean Per-subnet flag to determine whether to send a NAK in response to requests by clients for unknown IP addresses. |
id | integer <int64> Manually assigned subnet id. |
Array of objects (netgate.kea.keaconfig.dhcp4server.dhcp4.subnet4.Reservations) List of host reservations. | |
interface | string Interface on which subnet is located. |
{- "netgate-kea:option-data": [
- {
- "netgate-kea:name": "string",
- "netgate-kea:csv-format": true,
- "netgate-kea:always-send": true,
- "netgate-kea:data": "string",
- "netgate-kea:space": "string"
}
], - "subnet": "string",
- "pools": [
- {
- "netgate-kea:option-data": [
- {
- "netgate-kea:name": "string",
- "netgate-kea:csv-format": true,
- "netgate-kea:always-send": true,
- "netgate-kea:data": "string",
- "netgate-kea:space": "string"
}
], - "pool": "string"
}
], - "authoritative": true,
- "id": 0,
- "reservations": [
- {
- "netgate-kea:option-data": [
- {
- "netgate-kea:name": "string",
- "netgate-kea:csv-format": true,
- "netgate-kea:always-send": true,
- "netgate-kea:data": "string",
- "netgate-kea:space": "string"
}
], - "hw-address": "string",
- "hostname": "string",
- "ip-address": "string"
}
], - "interface": "string"
}
An IPv4 subnet configuration within the DHCPv4 server.
subnet required | string Id of subnet4 |
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-kea:kea-config/dhcp4-server/Dhcp4/subnet4=%7Bsubnet%7D" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
{- "netgate-kea:subnet4": {
- "netgate-kea:option-data": [
- {
- "netgate-kea:name": "string",
- "netgate-kea:csv-format": true,
- "netgate-kea:always-send": true,
- "netgate-kea:data": "string",
- "netgate-kea:space": "string"
}
], - "subnet": "string",
- "pools": [
- {
- "netgate-kea:option-data": [
- {
- "netgate-kea:name": "string",
- "netgate-kea:csv-format": true,
- "netgate-kea:always-send": true,
- "netgate-kea:data": "string",
- "netgate-kea:space": "string"
}
], - "pool": "string"
}
], - "authoritative": true,
- "id": 0,
- "reservations": [
- {
- "netgate-kea:option-data": [
- {
- "netgate-kea:name": "string",
- "netgate-kea:csv-format": true,
- "netgate-kea:always-send": true,
- "netgate-kea:data": "string",
- "netgate-kea:space": "string"
}
], - "hw-address": "string",
- "hostname": "string",
- "ip-address": "string"
}
], - "interface": "string"
}
}
An IPv4 subnet configuration within the DHCPv4 server.
subnet required | string Id of subnet4 |
netgate.kea.keaconfig.dhcp4server.dhcp4.Subnet4 to be added or updated
object (netgate.kea.keaconfig.dhcp4server.dhcp4.Subnet4) Kea DHCPv4 option information. |
{- "netgate-kea:subnet4": {
- "netgate-kea:option-data": [
- {
- "netgate-kea:name": "string",
- "netgate-kea:csv-format": true,
- "netgate-kea:always-send": true,
- "netgate-kea:data": "string",
- "netgate-kea:space": "string"
}
], - "subnet": "string",
- "pools": [
- {
- "netgate-kea:option-data": [
- {
- "netgate-kea:name": "string",
- "netgate-kea:csv-format": true,
- "netgate-kea:always-send": true,
- "netgate-kea:data": "string",
- "netgate-kea:space": "string"
}
], - "pool": "string"
}
], - "authoritative": true,
- "id": 0,
- "reservations": [
- {
- "netgate-kea:option-data": [
- {
- "netgate-kea:name": "string",
- "netgate-kea:csv-format": true,
- "netgate-kea:always-send": true,
- "netgate-kea:data": "string",
- "netgate-kea:space": "string"
}
], - "hw-address": "string",
- "hostname": "string",
- "ip-address": "string"
}
], - "interface": "string"
}
}
An IPv4 subnet configuration within the DHCPv4 server.
subnet required | string Id of subnet4 |
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-kea:kea-config/dhcp4-server/Dhcp4/subnet4=%7Bsubnet%7D" req, _ := http.NewRequest("DELETE", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
List of DHCPv4 options and values.
subnet required | string Id of subnet4 |
netgate.kea.keadhcp4optiongroup.OptionData to be added to list
object (netgate.kea.keadhcp4optiongroup.OptionData) List of DHCPv4 options and values. |
{- "netgate-kea:option-data": {
- "netgate-kea:name": "string",
- "netgate-kea:csv-format": true,
- "netgate-kea:always-send": true,
- "netgate-kea:data": "string",
- "netgate-kea:space": "string"
}
}
List of DHCPv4 options and values.
subnet required | string Id of subnet4 |
name required | string Id of option-data |
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-kea:kea-config/dhcp4-server/Dhcp4/subnet4=%7Bsubnet%7D/option-data=%7Bname%7D" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
{- "netgate-kea:option-data": {
- "netgate-kea:name": "string",
- "netgate-kea:csv-format": true,
- "netgate-kea:always-send": true,
- "netgate-kea:data": "string",
- "netgate-kea:space": "string"
}
}
List of DHCPv4 options and values.
subnet required | string Id of subnet4 |
name required | string Id of option-data |
netgate.kea.keadhcp4optiongroup.OptionData to be added or updated
object (netgate.kea.keadhcp4optiongroup.OptionData) List of DHCPv4 options and values. |
{- "netgate-kea:option-data": {
- "netgate-kea:name": "string",
- "netgate-kea:csv-format": true,
- "netgate-kea:always-send": true,
- "netgate-kea:data": "string",
- "netgate-kea:space": "string"
}
}
List of DHCPv4 options and values.
subnet required | string Id of subnet4 |
name required | string Id of option-data |
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-kea:kea-config/dhcp4-server/Dhcp4/subnet4=%7Bsubnet%7D/option-data=%7Bname%7D" req, _ := http.NewRequest("DELETE", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
A list of leased address pools. Each pool is specified as a start and optional end IPv4 addresses, or as an IPv4 address and prefix.
subnet required | string Id of subnet4 |
netgate.kea.keaconfig.dhcp4server.dhcp4.subnet4.Pools to be added to list
Array of objects (netgate.kea.keadhcp4optiongroup.OptionData) List of DHCPv4 options and values. | |
pool | string A pool is specified as a start and optional end IPv4 addresses, or as an IPv4 address and prefix. |
{- "netgate-kea:option-data": [
- {
- "netgate-kea:name": "string",
- "netgate-kea:csv-format": true,
- "netgate-kea:always-send": true,
- "netgate-kea:data": "string",
- "netgate-kea:space": "string"
}
], - "pool": "string"
}
A list of leased address pools. Each pool is specified as a start and optional end IPv4 addresses, or as an IPv4 address and prefix.
subnet required | string Id of subnet4 |
pool required | string Id of pools |
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-kea:kea-config/dhcp4-server/Dhcp4/subnet4=%7Bsubnet%7D/pools=%7Bpool%7D" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
{- "netgate-kea:pools": {
- "netgate-kea:option-data": [
- {
- "netgate-kea:name": "string",
- "netgate-kea:csv-format": true,
- "netgate-kea:always-send": true,
- "netgate-kea:data": "string",
- "netgate-kea:space": "string"
}
], - "pool": "string"
}
}
A list of leased address pools. Each pool is specified as a start and optional end IPv4 addresses, or as an IPv4 address and prefix.
subnet required | string Id of subnet4 |
pool required | string Id of pools |
netgate.kea.keaconfig.dhcp4server.dhcp4.subnet4.Pools to be added or updated
object (netgate.kea.keaconfig.dhcp4server.dhcp4.subnet4.Pools) Kea DHCPv4 option information. |
{- "netgate-kea:pools": {
- "netgate-kea:option-data": [
- {
- "netgate-kea:name": "string",
- "netgate-kea:csv-format": true,
- "netgate-kea:always-send": true,
- "netgate-kea:data": "string",
- "netgate-kea:space": "string"
}
], - "pool": "string"
}
}
A list of leased address pools. Each pool is specified as a start and optional end IPv4 addresses, or as an IPv4 address and prefix.
subnet required | string Id of subnet4 |
pool required | string Id of pools |
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-kea:kea-config/dhcp4-server/Dhcp4/subnet4=%7Bsubnet%7D/pools=%7Bpool%7D" req, _ := http.NewRequest("DELETE", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
List of DHCPv4 options and values.
subnet required | string Id of subnet4 |
pool required | string Id of pools |
netgate.kea.keadhcp4optiongroup.OptionData to be added to list
object (netgate.kea.keadhcp4optiongroup.OptionData) List of DHCPv4 options and values. |
{- "netgate-kea:option-data": {
- "netgate-kea:name": "string",
- "netgate-kea:csv-format": true,
- "netgate-kea:always-send": true,
- "netgate-kea:data": "string",
- "netgate-kea:space": "string"
}
}
List of DHCPv4 options and values.
subnet required | string Id of subnet4 |
pool required | string Id of pools |
name required | string Id of option-data |
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-kea:kea-config/dhcp4-server/Dhcp4/subnet4=%7Bsubnet%7D/pools=%7Bpool%7D/option-data=%7Bname%7D" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
{- "netgate-kea:option-data": {
- "netgate-kea:name": "string",
- "netgate-kea:csv-format": true,
- "netgate-kea:always-send": true,
- "netgate-kea:data": "string",
- "netgate-kea:space": "string"
}
}
List of DHCPv4 options and values.
subnet required | string Id of subnet4 |
pool required | string Id of pools |
name required | string Id of option-data |
netgate.kea.keadhcp4optiongroup.OptionData to be added or updated
object (netgate.kea.keadhcp4optiongroup.OptionData) List of DHCPv4 options and values. |
{- "netgate-kea:option-data": {
- "netgate-kea:name": "string",
- "netgate-kea:csv-format": true,
- "netgate-kea:always-send": true,
- "netgate-kea:data": "string",
- "netgate-kea:space": "string"
}
}
List of DHCPv4 options and values.
subnet required | string Id of subnet4 |
pool required | string Id of pools |
name required | string Id of option-data |
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-kea:kea-config/dhcp4-server/Dhcp4/subnet4=%7Bsubnet%7D/pools=%7Bpool%7D/option-data=%7Bname%7D" req, _ := http.NewRequest("DELETE", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
List of host reservations.
subnet required | string Id of subnet4 |
netgate.kea.keaconfig.dhcp4server.dhcp4.subnet4.Reservations to be added to list
Array of objects (netgate.kea.keadhcp4optiongroup.OptionData) List of DHCPv4 options and values. | |
hw-address | string The host's MAC address. |
hostname | string The host name of the identified host. |
ip-address | string The IPv4 address for the host. |
{- "netgate-kea:option-data": [
- {
- "netgate-kea:name": "string",
- "netgate-kea:csv-format": true,
- "netgate-kea:always-send": true,
- "netgate-kea:data": "string",
- "netgate-kea:space": "string"
}
], - "hw-address": "string",
- "hostname": "string",
- "ip-address": "string"
}
List of host reservations.
subnet required | string Id of subnet4 |
ip-address required | string Id of reservations |
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-kea:kea-config/dhcp4-server/Dhcp4/subnet4=%7Bsubnet%7D/reservations=%7Bip-address%7D" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
{- "netgate-kea:reservations": {
- "netgate-kea:option-data": [
- {
- "netgate-kea:name": "string",
- "netgate-kea:csv-format": true,
- "netgate-kea:always-send": true,
- "netgate-kea:data": "string",
- "netgate-kea:space": "string"
}
], - "hw-address": "string",
- "hostname": "string",
- "ip-address": "string"
}
}
List of host reservations.
subnet required | string Id of subnet4 |
ip-address required | string Id of reservations |
netgate.kea.keaconfig.dhcp4server.dhcp4.subnet4.Reservations to be added or updated
object (netgate.kea.keaconfig.dhcp4server.dhcp4.subnet4.Reservations) Kea DHCPv4 option information. |
{- "netgate-kea:reservations": {
- "netgate-kea:option-data": [
- {
- "netgate-kea:name": "string",
- "netgate-kea:csv-format": true,
- "netgate-kea:always-send": true,
- "netgate-kea:data": "string",
- "netgate-kea:space": "string"
}
], - "hw-address": "string",
- "hostname": "string",
- "ip-address": "string"
}
}
List of host reservations.
subnet required | string Id of subnet4 |
ip-address required | string Id of reservations |
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-kea:kea-config/dhcp4-server/Dhcp4/subnet4=%7Bsubnet%7D/reservations=%7Bip-address%7D" req, _ := http.NewRequest("DELETE", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
List of DHCPv4 options and values.
subnet required | string Id of subnet4 |
ip-address required | string Id of reservations |
netgate.kea.keadhcp4optiongroup.OptionData to be added to list
object (netgate.kea.keadhcp4optiongroup.OptionData) List of DHCPv4 options and values. |
{- "netgate-kea:option-data": {
- "netgate-kea:name": "string",
- "netgate-kea:csv-format": true,
- "netgate-kea:always-send": true,
- "netgate-kea:data": "string",
- "netgate-kea:space": "string"
}
}
List of DHCPv4 options and values.
subnet required | string Id of subnet4 |
ip-address required | string Id of reservations |
name required | string Id of option-data |
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-kea:kea-config/dhcp4-server/Dhcp4/subnet4=%7Bsubnet%7D/reservations=%7Bip-address%7D/option-data=%7Bname%7D" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
{- "netgate-kea:option-data": {
- "netgate-kea:name": "string",
- "netgate-kea:csv-format": true,
- "netgate-kea:always-send": true,
- "netgate-kea:data": "string",
- "netgate-kea:space": "string"
}
}
List of DHCPv4 options and values.
subnet required | string Id of subnet4 |
ip-address required | string Id of reservations |
name required | string Id of option-data |
netgate.kea.keadhcp4optiongroup.OptionData to be added or updated
object (netgate.kea.keadhcp4optiongroup.OptionData) List of DHCPv4 options and values. |
{- "netgate-kea:option-data": {
- "netgate-kea:name": "string",
- "netgate-kea:csv-format": true,
- "netgate-kea:always-send": true,
- "netgate-kea:data": "string",
- "netgate-kea:space": "string"
}
}
List of DHCPv4 options and values.
subnet required | string Id of subnet4 |
ip-address required | string Id of reservations |
name required | string Id of option-data |
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-kea:kea-config/dhcp4-server/Dhcp4/subnet4=%7Bsubnet%7D/reservations=%7Bip-address%7D/option-data=%7Bname%7D" req, _ := http.NewRequest("DELETE", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
This section contains parameters for the keactrl configuration file.
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-kea:kea-config/keactrl" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
{- "netgate-kea:keactrl": {
- "netgate-kea:dhcp4": {
- "netgate-kea:enable": true
}, - "netgate-kea:verbose": true
}
}
This section contains parameters for the keactrl configuration file.
netgate.kea.keaconfig.Keactrl to be added to list
object (netgate.kea.keaconfig.keactrl.Dhcp4) Parameters for the DHCP IPv4 server. | |
netgate-kea:verbose | boolean If true, the Kea Control daemon will be verbose. |
{- "netgate-kea:dhcp4": {
- "netgate-kea:enable": true
}, - "netgate-kea:verbose": true
}
This section contains parameters for the keactrl configuration file.
netgate.kea.keaconfig.Keactrl to be added or updated
object (netgate.kea.keaconfig.Keactrl) This section contains parameters for the keactrl configuration file. |
{- "netgate-kea:keactrl": {
- "netgate-kea:dhcp4": {
- "netgate-kea:enable": true
}, - "netgate-kea:verbose": true
}
}
This section contains parameters for the keactrl configuration file.
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-kea:kea-config/keactrl" req, _ := http.NewRequest("DELETE", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-kea:kea-config/keactrl/dhcp4" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
{- "netgate-kea:dhcp4": {
- "netgate-kea:enable": true
}
}
Parameters for the DHCP IPv4 server.
netgate.kea.keaconfig.keactrl.Dhcp4 to be added to list
netgate-kea:enable | boolean If true, the Kea dhcp4 server is enabled. |
{- "netgate-kea:enable": true
}
Parameters for the DHCP IPv4 server.
netgate.kea.keaconfig.keactrl.Dhcp4 to be added or updated
object (netgate.kea.keaconfig.keactrl.Dhcp4) Parameters for the DHCP IPv4 server. |
{- "netgate-kea:dhcp4": {
- "netgate-kea:enable": true
}
}
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-kea:kea-config/keactrl/dhcp4" req, _ := http.NewRequest("DELETE", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-kea:kea-state" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
{- "netgate-kea:kea-state": {
- "netgate-kea:dhcp4-server": {
- "netgate-kea:leases": {
- "netgate-kea:lease": [
- {
- "netgate-kea:hostname": "string",
- "netgate-kea:valid-lifetime": 0,
- "netgate-kea:ip-address": "string",
- "netgate-kea:hw-address": "string",
- "netgate-kea:cltt": 0,
- "netgate-kea:subnet-id": 0,
- "netgate-kea:state": "default",
- "netgate-kea:fqdn-rev": true,
- "netgate-kea:fqdn-fwd": true,
- "netgate-kea:client-id": "string"
}
]
}
}
}
}
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-kea:kea-state/dhcp4-server" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
{- "netgate-kea:dhcp4-server": {
- "netgate-kea:leases": {
- "netgate-kea:lease": [
- {
- "netgate-kea:hostname": "string",
- "netgate-kea:valid-lifetime": 0,
- "netgate-kea:ip-address": "string",
- "netgate-kea:hw-address": "string",
- "netgate-kea:cltt": 0,
- "netgate-kea:subnet-id": 0,
- "netgate-kea:state": "default",
- "netgate-kea:fqdn-rev": true,
- "netgate-kea:fqdn-fwd": true,
- "netgate-kea:client-id": "string"
}
]
}
}
}
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-kea:kea-state/dhcp4-server/leases" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
{- "netgate-kea:leases": {
- "netgate-kea:lease": [
- {
- "netgate-kea:hostname": "string",
- "netgate-kea:valid-lifetime": 0,
- "netgate-kea:ip-address": "string",
- "netgate-kea:hw-address": "string",
- "netgate-kea:cltt": 0,
- "netgate-kea:subnet-id": 0,
- "netgate-kea:state": "default",
- "netgate-kea:fqdn-rev": true,
- "netgate-kea:fqdn-fwd": true,
- "netgate-kea:client-id": "string"
}
]
}
}
Kea DHCPv4 lease.
ip-address required | string Id of lease |
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-kea:kea-state/dhcp4-server/leases/lease=%7Bip-address%7D" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
{- "netgate-kea:lease": {
- "netgate-kea:hostname": "string",
- "netgate-kea:valid-lifetime": 0,
- "netgate-kea:ip-address": "string",
- "netgate-kea:hw-address": "string",
- "netgate-kea:cltt": 0,
- "netgate-kea:subnet-id": 0,
- "netgate-kea:state": "default",
- "netgate-kea:fqdn-rev": true,
- "netgate-kea:fqdn-fwd": true,
- "netgate-kea:client-id": "string"
}
}
operates on netgate.kea.KeaControl
object (netgate.kea.keacontrol.Input) |
{- "input": {
- "netgate-kea:kea-service": "dhcp4",
- "netgate-kea:operation": "start"
}
}
{- "output": {
- "netgate-kea:stdout": "string"
}
}
operates on netgate.kea.KeaCoredump
object (netgate.kea.keacoredump.Input) |
{- "input": {
- "netgate-kea:operation": "enable"
}
}
{- "output": {
- "netgate-kea:stdout": "string"
}
}
operates on netgate.kea.KeaShow
object (netgate.kea.keashow.Input) |
{- "input": {
- "netgate-kea:request": "config",
- "netgate-kea:param": "dhcp4"
}
}
{- "output": {
- "netgate-kea:stdout": "string"
}
}