Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • Kea Kea
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 594
    • Issues 594
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 59
    • Merge requests 59
  • 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
  • Issues
  • #2260
Closed
Open
Issue created Jan 04, 2022 by Marcin Godzina@mgodzinaMaintainer

minor bugs in lease4 commands

  1. lease4-get error states "duid" and not "client-id"
{"command": "lease4-get",
           "arguments": {"identifier": "ff:01:02:03:ff:05",
                         "identifier-type": "something",
                         "subnet-id": 1}}

Should return: "Incorrect identifier type: something, the only supported values are: address, hw-address, client-id"

Returns: "Incorrect identifier type: something, the only supported values are: address, hw-address, duid"

  1. lease4-get-by-client-id error states "duid" and not "client-id"
{"command": "lease4-get-by-client-id",
           "arguments": {"client-id": ""}}

Should return: "Empty client-id is not allowed"

Returns: "Empty DUIDs are not allowed"

  1. lease4-get-all accepts negative numbers as subnet number Not necessary a problem.
{"command": "lease4-get-all",
           "arguments": {"subnets": [-1]}}
  1. lease6-get accepts "subnet-id" and "identifier" and "identifier-type": "duid" without "iaid" but returns 0 leases found without complaining about lack of iaid example:
{"command": "lease4-get",
           "arguments": {"subnet-id": 1, "identifier": "1a:1b:1c:1d:1e:1f:20:21:22:23:24", "identifier-type": "duid"}}

will always return 0 leases found.

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