Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • forge forge
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 3
    • Merge requests 3
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ISC Open Source ProjectsISC Open Source Projects
  • forgeforge
  • Merge requests
  • !359

use in-subnet reservations in test_reservation_mode_in_globals

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Andrei Pavel requested to merge test_reservations into master Mar 08, 2023
  • Overview 0
  • Commits 2
  • Pipelines 2
  • Changes 2

Should fix 2 tests test_reservation_mode_in_globals[v4-(mysql|postgresql)].

  • f9a30f0a improve error message

  • 60ac9d56 use in-subnet reservations in test_reservation_mode_in_globals

    According to https://kea.readthedocs.io/en/kea-2.3.5/arm/dhcp4-srv.html#global-reservations-in-dhcpv4:

    An address assigned via global host reservation must be feasible for the subnet the server selects for the client. In other words, the address must lie within the subnet otherwise it will be ignored and the server will attempt to dynamically allocate an address. In the event the selected subnet belongs to a shared-network the server will check for feasibility against the subnet's siblings, selecting the first in-range subnet. If no such subnet exists, the server will fallback to dynamically allocating the address.

Edited Mar 08, 2023 by Andrei Pavel
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: test_reservations