[Kea-users] circuit-id?

Tim Howe tim.h at bendtel.com
Fri Jan 5 23:03:31 UTC 2018


Trying to get started with KEA.

I have configured a gPON connection on my test bench to use option-82
and send a circuit-id in a format that should look like "3/2/1/800"
which will be something like slot/port/ont-port/vlan.

When I try to configure a reservation like the following:

 {
   "circuit-id": "3/2/1/800",
   "ip-address": "10.2.171.29"
 }

	Kea tells me:  invalid host identifier value '3/2/1/800'.

	I tried entering it into the config like so: "'3/2/1/800'", and
when I do that (put single quotes in), it doesn't complain about the
config, but it also doesn't work.


	Also, probably unrelated but it confuses me, the log file says
this about the circuit-id:

2018-01-05 14:36:59.034 DEBUG [kea-dhcp4.hosts/90659] HOSTS_CFG_GET_ONE_SUBNET_ID_IDENTIFIER get one host with IPv4 reservation for subnet id 1, identified by circuit-id=332F322F312F
2018-01-05 14:36:59.034 DEBUG [kea-dhcp4.hosts/90659] HOSTS_CFG_GET_ALL_IDENTIFIER get all hosts with reservations using identifier: circuit-id=332F322F312F
2018-01-05 14:36:59.034 DEBUG [kea-dhcp4.hosts/90659] HOSTS_CFG_GET_ALL_IDENTIFIER_COUNT using identifier circuit-id=332F322F312F, found 0 host(s)
2018-01-05 14:36:59.034 DEBUG [kea-dhcp4.hosts/90659] HOSTS_CFG_GET_ONE_SUBNET_ID_IDENTIFIER_NULL host not found using subnet id 1 and identifier circuit-id=332F322F312F


	What do I not understand?

--TimH



More information about the Kea-users mailing list