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

vl3 chain element that resets IPContext configuration depending on dst and src addresses #1588

Merged

Conversation

NikitaSkrynnik
Copy link
Contributor

Description

Added a new chain element that resets client's IPContext configuration if its dst and src addresses are from another vl3 subnetwork

Issue link

networkservicemesh/cmd-nse-vl3-vpp#289

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>
Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com>
@NikitaSkrynnik NikitaSkrynnik changed the title A new chain element for vl3 endpoints that resets IPContext configuration depending on dst and src addresses Chain element that resets IPContext configuration depending on dst and src addresses Feb 27, 2024
@NikitaSkrynnik NikitaSkrynnik changed the title Chain element that resets IPContext configuration depending on dst and src addresses vl3 chain element that resets IPContext configuration depending on dst and src addresses Feb 27, 2024
Copy link

codecov bot commented Feb 27, 2024

Codecov Report

Attention: Patch coverage is 66.66667% with 6 lines in your changes are missing coverage. Please review.

❗ No coverage uploaded for pull request base (main@b1a3e26). Click here to learn what that means.

Files Patch % Lines
...orkservice/connectioncontext/ipcontext/vl3/ipam.go 66.66% 4 Missing ⚠️
...kservice/connectioncontext/ipcontext/vl3/client.go 50.00% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1588   +/-   ##
=======================================
  Coverage        ?   67.25%           
=======================================
  Files           ?      261           
  Lines           ?    12371           
  Branches        ?        0           
=======================================
  Hits            ?     8320           
  Misses          ?     3529           
  Partials        ?      522           

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

Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com>
Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com>
Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com>
Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com>
Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com>
Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com>
Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com>
Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com>
Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com>
@denis-tingaikin denis-tingaikin merged commit 3027f90 into networkservicemesh:main Mar 19, 2024
17 checks passed
nsmbot pushed a commit to networkservicemesh/cmd-csi-driver that referenced this pull request Mar 19, 2024
…k@main

PR link: networkservicemesh/sdk#1588

Commit: 3027f90
Author: Nikita Skrynnik
Date: 2024-03-19 16:01:00 +0700
Message:
  - vl3 chain element that resets IPContext configuration depending on dst and src addresses (#1588)
* add strict ipam for vl3 networks

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

* fix chain element

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

* rename chain element

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

* fix go linter issues

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

* apply review comments

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

* remove all channels, use ipPools only

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

* rerun CI

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

* fix review comments

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

* fix review comments

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

* fix go linter issues

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

* revert changes

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

* revert some changes + add mutex to ContainsNetString

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

---------

Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/cmd-dashboard-backend that referenced this pull request Mar 19, 2024
…k@main

PR link: networkservicemesh/sdk#1588

Commit: 3027f90
Author: Nikita Skrynnik
Date: 2024-03-19 16:01:00 +0700
Message:
  - vl3 chain element that resets IPContext configuration depending on dst and src addresses (#1588)
* add strict ipam for vl3 networks

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

* fix chain element

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

* rename chain element

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

* fix go linter issues

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

* apply review comments

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

* remove all channels, use ipPools only

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

* rerun CI

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

* fix review comments

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

* fix review comments

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

* fix go linter issues

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

* revert changes

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

* revert some changes + add mutex to ContainsNetString

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

---------

Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/cmd-cluster-info-k8s that referenced this pull request Mar 19, 2024
…k@main

PR link: networkservicemesh/sdk#1588

Commit: 3027f90
Author: Nikita Skrynnik
Date: 2024-03-19 16:01:00 +0700
Message:
  - vl3 chain element that resets IPContext configuration depending on dst and src addresses (#1588)
* add strict ipam for vl3 networks

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

* fix chain element

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

* rename chain element

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

* fix go linter issues

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

* apply review comments

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

* remove all channels, use ipPools only

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

* rerun CI

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

* fix review comments

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

* fix review comments

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

* fix go linter issues

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

* revert changes

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

* revert some changes + add mutex to ContainsNetString

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

---------

Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/cmd-ipam-vl3 that referenced this pull request Mar 19, 2024
…k@main

PR link: networkservicemesh/sdk#1588

Commit: 3027f90
Author: Nikita Skrynnik
Date: 2024-03-19 16:01:00 +0700
Message:
  - vl3 chain element that resets IPContext configuration depending on dst and src addresses (#1588)
* add strict ipam for vl3 networks

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

* fix chain element

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

* rename chain element

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

* fix go linter issues

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

* apply review comments

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

* remove all channels, use ipPools only

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

* rerun CI

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

* fix review comments

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

* fix review comments

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

* fix go linter issues

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

* revert changes

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

* revert some changes + add mutex to ContainsNetString

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

---------

Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/cmd-nse-vfio that referenced this pull request Mar 19, 2024
…k@main

PR link: networkservicemesh/sdk#1588

Commit: 3027f90
Author: Nikita Skrynnik
Date: 2024-03-19 16:01:00 +0700
Message:
  - vl3 chain element that resets IPContext configuration depending on dst and src addresses (#1588)
* add strict ipam for vl3 networks

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

* fix chain element

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

* rename chain element

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

* fix go linter issues

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

* apply review comments

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

* remove all channels, use ipPools only

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

* rerun CI

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

* fix review comments

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

* fix review comments

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

* fix go linter issues

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

* revert changes

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

* revert some changes + add mutex to ContainsNetString

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

---------

Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/cmd-nse-remote-vlan that referenced this pull request Mar 19, 2024
…k@main

PR link: networkservicemesh/sdk#1588

Commit: 3027f90
Author: Nikita Skrynnik
Date: 2024-03-19 16:01:00 +0700
Message:
  - vl3 chain element that resets IPContext configuration depending on dst and src addresses (#1588)
* add strict ipam for vl3 networks

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

* fix chain element

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

* rename chain element

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

* fix go linter issues

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

* apply review comments

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

* remove all channels, use ipPools only

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

* rerun CI

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

* fix review comments

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

* fix review comments

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

* fix go linter issues

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

* revert changes

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

* revert some changes + add mutex to ContainsNetString

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

---------

Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/cmd-nsc-init that referenced this pull request Mar 19, 2024
…k@main

PR link: networkservicemesh/sdk#1588

Commit: 3027f90
Author: Nikita Skrynnik
Date: 2024-03-19 16:01:00 +0700
Message:
  - vl3 chain element that resets IPContext configuration depending on dst and src addresses (#1588)
* add strict ipam for vl3 networks

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

* fix chain element

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

* rename chain element

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

* fix go linter issues

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

* apply review comments

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

* remove all channels, use ipPools only

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

* rerun CI

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

* fix review comments

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

* fix review comments

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

* fix go linter issues

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

* revert changes

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

* revert some changes + add mutex to ContainsNetString

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

---------

Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/sdk-kernel that referenced this pull request Mar 19, 2024
…k@main

PR link: networkservicemesh/sdk#1588

Commit: 3027f90
Author: Nikita Skrynnik
Date: 2024-03-19 16:01:00 +0700
Message:
  - vl3 chain element that resets IPContext configuration depending on dst and src addresses (#1588)
* add strict ipam for vl3 networks

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

* fix chain element

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

* rename chain element

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

* fix go linter issues

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

* apply review comments

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

* remove all channels, use ipPools only

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

* rerun CI

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

* fix review comments

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

* fix review comments

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

* fix go linter issues

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

* revert changes

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

* revert some changes + add mutex to ContainsNetString

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

---------

Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/sdk-k8s that referenced this pull request Mar 19, 2024
…k@main

PR link: networkservicemesh/sdk#1588

Commit: 3027f90
Author: Nikita Skrynnik
Date: 2024-03-19 16:01:00 +0700
Message:
  - vl3 chain element that resets IPContext configuration depending on dst and src addresses (#1588)
* add strict ipam for vl3 networks

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

* fix chain element

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

* rename chain element

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

* fix go linter issues

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

* apply review comments

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

* remove all channels, use ipPools only

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

* rerun CI

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

* fix review comments

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

* fix review comments

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

* fix go linter issues

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

* revert changes

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

* revert some changes + add mutex to ContainsNetString

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

---------

Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/cmd-map-ip-k8s that referenced this pull request Mar 19, 2024
…k@main

PR link: networkservicemesh/sdk#1588

Commit: 3027f90
Author: Nikita Skrynnik
Date: 2024-03-19 16:01:00 +0700
Message:
  - vl3 chain element that resets IPContext configuration depending on dst and src addresses (#1588)
* add strict ipam for vl3 networks

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

* fix chain element

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

* rename chain element

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

* fix go linter issues

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

* apply review comments

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

* remove all channels, use ipPools only

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

* rerun CI

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

* fix review comments

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

* fix review comments

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

* fix go linter issues

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

* revert changes

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

* revert some changes + add mutex to ContainsNetString

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

---------

Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/cmd-registry-memory that referenced this pull request Mar 19, 2024
…k@main

PR link: networkservicemesh/sdk#1588

Commit: 3027f90
Author: Nikita Skrynnik
Date: 2024-03-19 16:01:00 +0700
Message:
  - vl3 chain element that resets IPContext configuration depending on dst and src addresses (#1588)
* add strict ipam for vl3 networks

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

* fix chain element

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

* rename chain element

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

* fix go linter issues

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

* apply review comments

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

* remove all channels, use ipPools only

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

* rerun CI

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

* fix review comments

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

* fix review comments

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

* fix go linter issues

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

* revert changes

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

* revert some changes + add mutex to ContainsNetString

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

---------

Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/cmd-nsmgr that referenced this pull request Mar 19, 2024
…k@main

PR link: networkservicemesh/sdk#1588

Commit: 3027f90
Author: Nikita Skrynnik
Date: 2024-03-19 16:01:00 +0700
Message:
  - vl3 chain element that resets IPContext configuration depending on dst and src addresses (#1588)
* add strict ipam for vl3 networks

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

* fix chain element

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

* rename chain element

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

* fix go linter issues

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

* apply review comments

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

* remove all channels, use ipPools only

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

* rerun CI

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

* fix review comments

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

* fix review comments

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

* fix go linter issues

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

* revert changes

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

* revert some changes + add mutex to ContainsNetString

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

---------

Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/cmd-nsmgr-proxy that referenced this pull request Mar 19, 2024
…k@main

PR link: networkservicemesh/sdk#1588

Commit: 3027f90
Author: Nikita Skrynnik
Date: 2024-03-19 16:01:00 +0700
Message:
  - vl3 chain element that resets IPContext configuration depending on dst and src addresses (#1588)
* add strict ipam for vl3 networks

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

* fix chain element

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

* rename chain element

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

* fix go linter issues

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

* apply review comments

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

* remove all channels, use ipPools only

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

* rerun CI

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

* fix review comments

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

* fix review comments

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

* fix go linter issues

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

* revert changes

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

* revert some changes + add mutex to ContainsNetString

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

---------

Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/cmd-admission-webhook-k8s that referenced this pull request Mar 19, 2024
…k@main

PR link: networkservicemesh/sdk#1588

Commit: 3027f90
Author: Nikita Skrynnik
Date: 2024-03-19 16:01:00 +0700
Message:
  - vl3 chain element that resets IPContext configuration depending on dst and src addresses (#1588)
* add strict ipam for vl3 networks

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

* fix chain element

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

* rename chain element

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

* fix go linter issues

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

* apply review comments

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

* remove all channels, use ipPools only

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

* rerun CI

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

* fix review comments

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

* fix review comments

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

* fix go linter issues

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

* revert changes

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

* revert some changes + add mutex to ContainsNetString

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

---------

Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/cmd-registry-proxy-dns that referenced this pull request Mar 19, 2024
…k@main

PR link: networkservicemesh/sdk#1588

Commit: 3027f90
Author: Nikita Skrynnik
Date: 2024-03-19 16:01:00 +0700
Message:
  - vl3 chain element that resets IPContext configuration depending on dst and src addresses (#1588)
* add strict ipam for vl3 networks

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

* fix chain element

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

* rename chain element

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

* fix go linter issues

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

* apply review comments

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

* remove all channels, use ipPools only

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

* rerun CI

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

* fix review comments

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

* fix review comments

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

* fix go linter issues

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

* revert changes

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

* revert some changes + add mutex to ContainsNetString

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

---------

Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
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