Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • Kea Kea
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 504
    • Issues 504
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 54
    • Merge requests 54
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • ISC Open Source Projects
  • KeaKea
  • Issues
  • #1724
Closed
Open
Created Feb 23, 2021 by Jozef Rebjak@jozefrebjak

How to define Kreatel options in KEA which have been used in isc-dhcp server ?

I need to migrate these options to KEA

class "STB" { match option vendor-class-identifier; }
subclass "STB" "Motorola_VIP1003";
subclass "STB" "ARRIS_VIP1113";
subclass "STB" "ARRIS_VIP4205";
subclass "STB" "ARRIS_VIP4205_VU";
subclass "STB" "ARRIS_VIP4302";
subclass "STB" "ARRIS_VIP4302BT";

pool {
                allow members of "STB";
                vendor-option-space Kreatel;
                option Kreatel.splash-protocol  "363";
                option Kreatel.kernel-protocol  "363";
                option Kreatel.bootcast-address "1.1.1.1:55555";
                option Kreatel.firmware-log     "1.1.1.1:19999";
                option Kreatel.http-server      "boot.tv.example.com";
        }

I already migrated class "STB" from isc-dhcp to a new format and tried to specify option-data to that class, but kea is not able to start with log:

DHCP4_PARSER_FAIL failed to create or run parser for configuration element client-classes: definition for the option 'dhcp4.Kreatel.splash-protocol' does not exist (/etc/kea/class-STB.conf:6:21)

{
    "name": "STB",
    "test" : "substring(option[60].hex,0,6) == 'VIP'",
    "option-data": [
        {
            "name": "Kreatel.splash-protocol",
            "data": "363"
        },
        {
            "name": "Kreatel.kernel-protocol",
            "data": "363"
        },
        {
            "name": "Kreatel.bootcast-address",
            "data": "1.1.1.1:55555"
        },
        {
            "name": "Kreatel.firmware-log",
            "data": "1.1.1.1:19999"
        },
        {
            "name": "Kreatel.http-server",
            "data": "boot.tv.example.com"
        }
    ]
}

Can somebody help?

Thank you.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking