Skip to content
GitLab
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 560
    • Issues 560
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 68
    • Merge requests 68
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and 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 ProjectsISC Open Source Projects
  • KeaKea
  • Merge requests
  • !510

Log enhancements: Alloc engine v4 alloc fail classes

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Kristoffer Larsen requested to merge KryoStoffer/kea:alloc_engine_v4_alloc_fail_classes into master Sep 16, 2019
  • Overview 1
  • Commits 1
  • Pipelines 0
  • Changes 3

After discussion with support, I was suggested to share this trivial patch here.

We are using a northbound NETCONF system to automatically fill the pool on our DHCP servers, but the standard log messages is missing vital information for us to know witch pool to fill.

I know a log parser could be created to including some caching, and somehow match transaction and/or mac addresses for the standard alloc fail messages, but Kea already has all the needed information when generating the log.

This patch was made for our specific needs, and might not have use for many others, that eg. could be using incoming interface or gi for pool selection. So would have been better suited for a hook, but log mangling is not possible via hooks.

Note this also fixed the copy paste error pointed out in #752 (closed)

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: alloc_engine_v4_alloc_fail_classes