Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add IPv6 address support to linknets #296

Draft
wants to merge 6 commits into
base: develop
Choose a base branch
from

Conversation

lunkwill42
Copy link
Collaborator

@lunkwill42 lunkwill42 commented Mar 17, 2023

Fixes #263

At Sikt, we want to run the underlay directly on IPv6. This requires support for IPv6 network address fields on the Linknet model, which must also be supported by the API.

This is still in draft mode, currently awaiting two things:

  1. We also need to add an infra_ipv6 field to Devices, with the associated functionality. E.g., this is required to be able to populate bgp_ipv6_peers as a device variable, among other things.
  2. We need to test this in our own lab deployment.

Whereas CNaaS-NMS requires an IPv4 linknet to be /31, this PR will accept IPv6 linknets as large as /64, as this is standard practice in our case. Still, only the two first host addresses are picked from a linknet of this size.

These would be necessary to define a dual stack Linknet
This makes the new linknet ipv6 fields (corresponding to the existing
ipv4 fields) to the device variable context.
If we don't the tests won't pass :)
@lunkwill42 lunkwill42 self-assigned this Mar 17, 2023
@sonarcloud
Copy link

sonarcloud bot commented May 31, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

No Coverage information No Coverage information
0.7% 0.7% Duplication

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

IPv6 in linknets
1 participant