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 DualStack IPPool that support both IPv4 and IPv6 addresses #1659

Closed

Conversation

NikitaSkrynnik
Copy link
Contributor

@NikitaSkrynnik NikitaSkrynnik commented Aug 19, 2024

Description

Add a dual stack ippool that support both IPv4 and IPv6 addresses. It fixes some errors in strictipam chain element

Issue link

How Has This Been Tested?

  • Added unit testing to cover
  • Tested manually
  • Tested by integration testing
  • Have not tested

Types of changes

  • Bug fix
  • New functionality
  • Documentation
  • Refactoring
  • CI

Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com>
Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com>
Copy link

codecov bot commented Aug 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (main@eeb0114). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1659   +/-   ##
=======================================
  Coverage        ?   67.78%           
=======================================
  Files           ?      265           
  Lines           ?    12626           
  Branches        ?        0           
=======================================
  Hits            ?     8559           
  Misses          ?     3537           
  Partials        ?      530           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com>
pkg/tools/dualstackippool/ippool.go Outdated Show resolved Hide resolved
pkg/tools/dualstackippool/ippool.go Outdated Show resolved Hide resolved
Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com>
Copy link
Member

@denis-tingaikin denis-tingaikin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As I know @Ex4amp1e has found a few problems with these changes during testing networkservicemesh/deployments-k8s#11371

So @Ex4amp1e is planned to continue this PR.

@Ex4amp1e
Copy link
Contributor

Taken the main part from here and implemented in the scope of the #1679 PR.

@NikitaSkrynnik
Copy link
Contributor Author

Done in #1679

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.

3 participants