Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
Kea
Kea
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 457
    • Issues 457
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 75
    • Merge Requests 75
  • Operations
    • Operations
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • 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
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None