This YANG module provides a data model for the Kea DHCP server.
Copyright 2019-2023 Rubicon Communications, LLC.
Example URL
returns netgate.kea.KeaConfig
netgate.kea.KeaConfig
Internal error
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)) }
Example URL
creates netgate.kea.KeaConfig
netgate.kea.KeaConfig to be added to list
netgate-kea:kea-config | object (netgate.kea.KeaConfig) |
Object created
Internal error
Object already exists
Example URL
creates or updates netgate.kea.KeaConfig
netgate.kea.KeaConfig to be added or updated
netgate-kea:kea-config-wrapper | object (netgate.kea.KeaConfigWrapper) |
Object created
Object modified
Internal error
Example URL
removes netgate.kea.KeaConfig
Object deleted
Internal error
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)) }
Example URL
Gather all the parts that contribute to the DHCP4 server.
netgate.kea.keaconfig.Dhcp4Server
Internal error
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)) }
Example URL
Gather all the parts that contribute to the DHCP4 server.
netgate.kea.keaconfig.Dhcp4Server to be added to list
dhcp4-server | object (netgate.kea.keaconfig.Dhcp4Server) |
Object created
Internal error
Object already exists
Example URL
Gather all the parts that contribute to the DHCP4 server.
netgate.kea.keaconfig.Dhcp4Server to be added or updated
netgate-kea:dhcp4-server-wrapper | object (netgate.kea.keaconfig.Dhcp4ServerWrapper) |
Object created
Object modified
Internal error
Example URL
Gather all the parts that contribute to the DHCP4 server.
Object deleted
Internal error
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)) }
Example URL
Configuration for the Kea DHCP IPv4 Server
netgate.kea.keaconfig.dhcp4server.Dhcp4
Internal error
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)) }
Example URL
Configuration for the Kea DHCP IPv4 Server
netgate.kea.keaconfig.dhcp4server.Dhcp4 to be added to list
Dhcp4 | object (netgate.kea.keaconfig.dhcp4server.Dhcp4) Configuration for the Kea DHCP IPv4 Server |
Object created
Internal error
Object already exists
Example URL
Configuration for the Kea DHCP IPv4 Server
netgate.kea.keaconfig.dhcp4server.Dhcp4 to be added or updated
netgate-kea:dhcp4-wrapper | object (netgate.kea.keaconfig.dhcp4server.Dhcp4Wrapper) |
Object created
Object modified
Internal error
Example URL
Configuration for the Kea DHCP IPv4 Server
Object deleted
Internal error
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)) }
Example URL
The interfaces-config holds configuration information about each interface used by the DHCPv4 server.
netgate.kea.keaconfig.dhcp4server.dhcp4.InterfacesConfig
Internal error
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)) }
Example URL
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
interfaces-config | object (netgate.kea.keaconfig.dhcp4server.dhcp4.InterfacesConfig) |
Object created
Internal error
Object already exists
Example URL
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
netgate-kea:interfaces-config-wrapper | object (netgate.kea.keaconfig.dhcp4server.dhcp4.InterfacesConfigWrapper) |
Object created
Object modified
Internal error
Example URL
The interfaces-config holds configuration information about each interface used by the DHCPv4 server.
Object deleted
Internal error
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)) }
Example URL
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
interfaces | object (netgate.kea.keaconfig.dhcp4server.dhcp4.interfacesconfig.Interfaces) |
Object created
Internal error
Object already exists
Example URL
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
Internal error
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)) }
Example URL
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
netgate-kea:interfaces-wrapper | object (netgate.kea.keaconfig.dhcp4server.dhcp4.interfacesconfig.InterfacesWrapper) |
Object created
Object modified
Internal error
Example URL
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 |
Object deleted
Internal error
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)) }
Example URL
returns netgate.kea.keaconfig.dhcp4server.dhcp4.LeaseDatabase
netgate.kea.keaconfig.dhcp4server.dhcp4.LeaseDatabase
Internal error
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)) }
Example URL
creates netgate.kea.keaconfig.dhcp4server.dhcp4.LeaseDatabase
netgate.kea.keaconfig.dhcp4server.dhcp4.LeaseDatabase to be added to list
lease-database | object (netgate.kea.keaconfig.dhcp4server.dhcp4.LeaseDatabase) |
Object created
Internal error
Object already exists
Example URL
creates or updates netgate.kea.keaconfig.dhcp4server.dhcp4.LeaseDatabase
netgate.kea.keaconfig.dhcp4server.dhcp4.LeaseDatabase to be added or updated
netgate-kea:lease-database-wrapper | object (netgate.kea.keaconfig.dhcp4server.dhcp4.LeaseDatabaseWrapper) |
Object created
Object modified
Internal error
Example URL
removes netgate.kea.keaconfig.dhcp4server.dhcp4.LeaseDatabase
Object deleted
Internal error
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)) }
Example URL
List of logging facilities and parameters.
netgate.kea.kealogginggroup.Loggers to be added to list
loggers | object (netgate.kea.kealogginggroup.Loggers) |
Object created
Internal error
Object already exists
Example URL
List of logging facilities and parameters.
name required | string Id of loggers |
netgate.kea.kealogginggroup.Loggers
Internal error
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)) }
Example URL
List of logging facilities and parameters.
name required | string Id of loggers |
netgate.kea.kealogginggroup.Loggers to be added or updated
netgate-kea:loggers-wrapper | object (netgate.kea.kealogginggroup.LoggersWrapper) |
Object created
Object modified
Internal error
Example URL
List of logging facilities and parameters.
name required | string Id of loggers |
Object deleted
Internal error
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)) }
Example URL
List of output options for a logger.
name required | string Id of loggers |
netgate.kea.kealogginggroup.loggers.OutputOptions to be added to list
output_options | object (netgate.kea.kealogginggroup.loggers.OutputOptions) |
Object created
Internal error
Object already exists
Example URL
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
Internal error
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)) }
Example URL
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
netgate-kea:output-options-wrapper | object (netgate.kea.kealogginggroup.loggers.OutputOptionsWrapper) |
Object created
Object modified
Internal error
Example URL
List of output options for a logger.
name required | string Id of loggers |
output required | string Id of output_options |
Object deleted
Internal error
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)) }
Example URL
List of DHCPv4 options and values.
netgate.kea.keadhcp4optiongroup.OptionData to be added to list
option-data | object (netgate.kea.keadhcp4optiongroup.OptionData) |
Object created
Internal error
Object already exists
Example URL
List of DHCPv4 options and values.
name required | string Id of option-data |
netgate.kea.keadhcp4optiongroup.OptionData
Internal error
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)) }
Example URL
List of DHCPv4 options and values.
name required | string Id of option-data |
netgate.kea.keadhcp4optiongroup.OptionData to be added or updated
option-data | object (netgate.kea.keadhcp4optiongroup.OptionData) |
Object created
Object modified
Internal error
Example URL
List of DHCPv4 options and values.
name required | string Id of option-data |
Object deleted
Internal error
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)) }
Example URL
List of DHCPv4 custom option definition.
netgate.kea.keadhcp4optiondefgroup.OptionDef to be added to list
option-def | object (netgate.kea.keadhcp4optiondefgroup.OptionDef) |
Object created
Internal error
Object already exists
Example URL
List of DHCPv4 custom option definition.
name required | string Id of option-def |
netgate.kea.keadhcp4optiondefgroup.OptionDef
Internal error
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)) }
Example URL
List of DHCPv4 custom option definition.
name required | string Id of option-def |
netgate.kea.keadhcp4optiondefgroup.OptionDef to be added or updated
netgate-kea:option-def-wrapper | object (netgate.kea.keadhcp4optiondefgroup.OptionDefWrapper) |
Object created
Object modified
Internal error
Example URL
List of DHCPv4 custom option definition.
name required | string Id of option-def |
Object deleted
Internal error
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)) }
Example URL
An IPv4 subnet configuration within the DHCPv4 server.
netgate.kea.keaconfig.dhcp4server.dhcp4.Subnet4 to be added to list
subnet4 | object (netgate.kea.keaconfig.dhcp4server.dhcp4.Subnet4) An IPv4 subnet configuration within the DHCPv4 server. |
Object created
Internal error
Object already exists
Example URL
An IPv4 subnet configuration within the DHCPv4 server.
subnet required | string Id of subnet4 |
netgate.kea.keaconfig.dhcp4server.dhcp4.Subnet4
Internal error
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)) }
Example URL
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
netgate-kea:subnet4-wrapper | object (netgate.kea.keaconfig.dhcp4server.dhcp4.Subnet4Wrapper) |
Object created
Object modified
Internal error
Example URL
An IPv4 subnet configuration within the DHCPv4 server.
subnet required | string Id of subnet4 |
Object deleted
Internal error
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)) }
Example URL
List of DHCPv4 options and values.
subnet required | string Id of subnet4 |
netgate.kea.keadhcp4optiongroup.OptionData to be added to list
option-data | object (netgate.kea.keadhcp4optiongroup.OptionData) |
Object created
Internal error
Object already exists
Example URL
List of DHCPv4 options and values.
subnet required | string Id of subnet4 |
name required | string Id of option-data |
netgate.kea.keadhcp4optiongroup.OptionData
Internal error
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)) }
Example URL
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
option-data | object (netgate.kea.keadhcp4optiongroup.OptionData) |
Object created
Object modified
Internal error
Example URL
List of DHCPv4 options and values.
subnet required | string Id of subnet4 |
name required | string Id of option-data |
Object deleted
Internal error
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)) }
Example URL
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
pools | object (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. |
Object created
Internal error
Object already exists
Example URL
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
Internal error
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)) }
Example URL
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
netgate-kea:pools-wrapper | object (netgate.kea.keaconfig.dhcp4server.dhcp4.subnet4.PoolsWrapper) |
Object created
Object modified
Internal error
Example URL
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 |
Object deleted
Internal error
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)) }
Example URL
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
option-data | object (netgate.kea.keadhcp4optiongroup.OptionData) |
Object created
Internal error
Object already exists
Example URL
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
Internal error
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)) }
Example URL
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
option-data | object (netgate.kea.keadhcp4optiongroup.OptionData) |
Object created
Object modified
Internal error
Example URL
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 |
Object deleted
Internal error
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)) }
Example URL
List of host reservations.
subnet required | string Id of subnet4 |
netgate.kea.keaconfig.dhcp4server.dhcp4.subnet4.Reservations to be added to list
reservations | object (netgate.kea.keaconfig.dhcp4server.dhcp4.subnet4.Reservations) List of host reservations. |
Object created
Internal error
Object already exists
Example URL
List of host reservations.
subnet required | string Id of subnet4 |
ip-address required | string Id of reservations |
netgate.kea.keaconfig.dhcp4server.dhcp4.subnet4.Reservations
Internal error
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)) }
Example URL
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
netgate-kea:reservations-wrapper | object (netgate.kea.keaconfig.dhcp4server.dhcp4.subnet4.ReservationsWrapper) |
Object created
Object modified
Internal error
Example URL
List of host reservations.
subnet required | string Id of subnet4 |
ip-address required | string Id of reservations |
Object deleted
Internal error
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)) }
Example URL
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
option-data | object (netgate.kea.keadhcp4optiongroup.OptionData) |
Object created
Internal error
Object already exists
Example URL
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
Internal error
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)) }
Example URL
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
option-data | object (netgate.kea.keadhcp4optiongroup.OptionData) |
Object created
Object modified
Internal error
Example URL
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 |
Object deleted
Internal error
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)) }
Example URL
This section contains parameters for the keactrl configuration file.
netgate.kea.keaconfig.Keactrl
Internal error
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)) }
Example URL
This section contains parameters for the keactrl configuration file.
netgate.kea.keaconfig.Keactrl to be added to list
keactrl | object (netgate.kea.keaconfig.Keactrl) |
Object created
Internal error
Object already exists
Example URL
This section contains parameters for the keactrl configuration file.
netgate.kea.keaconfig.Keactrl to be added or updated
netgate-kea:keactrl-wrapper | object (netgate.kea.keaconfig.KeactrlWrapper) |
Object created
Object modified
Internal error
Example URL
This section contains parameters for the keactrl configuration file.
Object deleted
Internal error
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)) }
Example URL
Parameters for the DHCP IPv4 server.
netgate.kea.keaconfig.keactrl.Dhcp4
Internal error
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)) }
Example URL
Parameters for the DHCP IPv4 server.
netgate.kea.keaconfig.keactrl.Dhcp4 to be added to list
dhcp4 | object (netgate.kea.keaconfig.keactrl.Dhcp4) |
Object created
Internal error
Object already exists
Example URL
Parameters for the DHCP IPv4 server.
netgate.kea.keaconfig.keactrl.Dhcp4 to be added or updated
netgate-kea:dhcp4-wrapper | object (netgate.kea.keaconfig.keactrl.Dhcp4Wrapper) |
Object created
Object modified
Internal error
Example URL
Parameters for the DHCP IPv4 server.
Object deleted
Internal error
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)) }
Example URL
Kea state.
netgate.kea.KeaState
Internal error
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)) }
Example URL
DHCPv4 state.
netgate.kea.keastate.Dhcp4Server
Internal error
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)) }
Example URL
List of Kea DHCPv4 leases.
netgate.kea.keastate.dhcp4server.Leases
Internal error
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)) }
Example URL
Kea DHCPv4 lease.
ip-address required | string Id of lease |
netgate.kea.keastate.dhcp4server.leases.Lease
Internal error
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)) }
Example URL
operates on netgate.kea.KeaControl
input | object (netgate.kea.keacontrol.Input) |
Correct response
No response
Internal error
Example URL
operates on netgate.kea.KeaCoredump
input | object (netgate.kea.keacoredump.Input) |
Correct response
No response
Internal error
Example URL
operates on netgate.kea.KeaShow
input | object (netgate.kea.keashow.Input) |
Correct response
No response
Internal error