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 561
    • Issues 561
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 58
    • Merge requests 58
  • 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
  • #492
Closed
Open
Issue created Feb 21, 2019 by Francis Dupont@fdupontDeveloper

CB subnet merge vs duplicate subnet prefixes

Current CfgSubnets4::merge method checks duplicate subnet IDs (erase the existing one before push back the new one) but not duplicate prefixes (subnet fields). I guess that the push back will throw, at least it fails as the prefix is an unique index in the multi index container.

It is a corner case because it is unlikely to get two subnets with exactly (ref #36 (closed)) the same prefix but different IDs. But it is still possible and the correct action when it happens needs to be defined.

#481 (closed) is related but not a duplicate.

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