[Kea-users] option 125 vivso-suboptions

Stsl stsl637 at gmail.com
Wed Jul 15 10:47:15 UTC 2020


Hello everyone,

I am trying to use "encapsulate" field inside option-data for option 125.

I'm using the following config 
"option-data":[
   {
      "name":"vivso-suboptions",
      "code":125,
      "csv-format":true,
      "data":"25167",
      "encapsulate":"vendor-25167"
   
   },
   {
      "name":"foo25167",
      "code":226,
      "space":"vendor-25167",
      "csv-format":true,
      "data":"foo25167"
   }
],
"option-def":[ 
   {
      "name":"foo25167",
      "code":226,
      "type":"string",
      "space":"vendor-25167"
   }
]

and I receive the following error 
DHCP4_PARSER_FAIL failed to create or run parser for configuration element
option-data: spurious 'encapsulate' parameter

I am referencing this doc
https://kea.readthedocs.io/en/kea-1.6.2/arm/dhcp4-srv.html#dhcpv4-vendor-specific-options

What I am doing wrong? Seems like I follow the guidlines from the doc.



--
Sent from: http://kea-users.7364.n8.nabble.com/


More information about the Kea-users mailing list