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

Trivial: Use VxlanAddDelTunnelV3 instead of V2 #805

Merged

Conversation

elajkat
Copy link
Contributor

@elajkat elajkat commented Mar 12, 2024

VxlanAddDelTunnelV2 was deprecated (see 1), change it to
VxlanAddDelTunnelV3 and update the related log messages also.

Change-Id: I018c94c0b9d1501876c5070cb3e16733eb453506
Signed-off-by: Lajos Katona lajos.katona@est.tech

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.

@glazychev-art Could you also have a look?

Copy link

@rubasov rubasov left a comment

Choose a reason for hiding this comment

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

The code looks good to me. The gerrit Change-Id is not needed on github.

@@ -84,7 +84,7 @@ func addDel(ctx context.Context, conn *networkservice.Connection, vppConn api.Co
WithField("vppapi", "AddNodeNext").Debug("completed")

now = time.Now()
vxlanAddDelTunnel := &vxlan.VxlanAddDelTunnelV2{
vxlanAddDelTunnelV3 := &vxlan.VxlanAddDelTunnelV3{
Copy link

Choose a reason for hiding this comment

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

I believe V3 behaves the same as V2 as long as parameter is_l3 is false (which is the default):
FDio/vpp@3e38422

I'm not sure I see the point of renaming vxlanAddDelTunnel though.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I agree, I just overreacted, and for first view looked good to rename the variable name also.
For the parameters, exactly only isL3 is the extra in V3, and by default that is false:
https://github.com/FDio/govpp/blob/master/binapi/vxlan/vxlan.ba.go#L380

VxlanAddDelTunnelV2 was deprecated (see [1]), change it to
VxlanAddDelTunnelV3 and update the related log messages also.

[1]: FDio/govpp@8debdf0

Signed-off-by: Lajos Katona <lajos.katona@est.tech>
@elajkat elajkat force-pushed the vxlanAddDelTunnelV3 branch from 2157279 to d2f7506 Compare March 13, 2024 13:06
@denis-tingaikin denis-tingaikin merged commit a7d3dd6 into networkservicemesh:main Mar 14, 2024
13 checks passed
nsmbot pushed a commit to networkservicemesh/cmd-nsc-vpp that referenced this pull request Mar 14, 2024
…k-vpp@main

PR link: networkservicemesh/sdk-vpp#805

Commit: a7d3dd6
Author: Lajos Katona
Date: 2024-03-14 21:13:07 +0100
Message:
  - Trivial: Use VxlanAddDelTunnelV3 instead of V2 (#805)
VxlanAddDelTunnelV2 was deprecated (see [1]), change it to
VxlanAddDelTunnelV3 and update the related log messages also.

[1]: FDio/govpp@8debdf0

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

PR link: networkservicemesh/sdk-vpp#805

Commit: a7d3dd6
Author: Lajos Katona
Date: 2024-03-14 21:13:07 +0100
Message:
  - Trivial: Use VxlanAddDelTunnelV3 instead of V2 (#805)
VxlanAddDelTunnelV2 was deprecated (see [1]), change it to
VxlanAddDelTunnelV3 and update the related log messages also.

[1]: FDio/govpp@8debdf0

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

PR link: networkservicemesh/sdk-vpp#805

Commit: a7d3dd6
Author: Lajos Katona
Date: 2024-03-14 21:13:07 +0100
Message:
  - Trivial: Use VxlanAddDelTunnelV3 instead of V2 (#805)
VxlanAddDelTunnelV2 was deprecated (see [1]), change it to
VxlanAddDelTunnelV3 and update the related log messages also.

[1]: FDio/govpp@8debdf0

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

PR link: networkservicemesh/sdk-vpp#805

Commit: a7d3dd6
Author: Lajos Katona
Date: 2024-03-14 21:13:07 +0100
Message:
  - Trivial: Use VxlanAddDelTunnelV3 instead of V2 (#805)
VxlanAddDelTunnelV2 was deprecated (see [1]), change it to
VxlanAddDelTunnelV3 and update the related log messages also.

[1]: FDio/govpp@8debdf0

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

PR link: networkservicemesh/sdk-vpp#805

Commit: a7d3dd6
Author: Lajos Katona
Date: 2024-03-14 21:13:07 +0100
Message:
  - Trivial: Use VxlanAddDelTunnelV3 instead of V2 (#805)
VxlanAddDelTunnelV2 was deprecated (see [1]), change it to
VxlanAddDelTunnelV3 and update the related log messages also.

[1]: FDio/govpp@8debdf0

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

PR link: networkservicemesh/sdk-vpp#805

Commit: a7d3dd6
Author: Lajos Katona
Date: 2024-03-14 21:13:07 +0100
Message:
  - Trivial: Use VxlanAddDelTunnelV3 instead of V2 (#805)
VxlanAddDelTunnelV2 was deprecated (see [1]), change it to
VxlanAddDelTunnelV3 and update the related log messages also.

[1]: FDio/govpp@8debdf0

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

PR link: networkservicemesh/sdk-vpp#805

Commit: a7d3dd6
Author: Lajos Katona
Date: 2024-03-14 21:13:07 +0100
Message:
  - Trivial: Use VxlanAddDelTunnelV3 instead of V2 (#805)
VxlanAddDelTunnelV2 was deprecated (see [1]), change it to
VxlanAddDelTunnelV3 and update the related log messages also.

[1]: FDio/govpp@8debdf0

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

PR link: networkservicemesh/sdk-vpp#805

Commit: a7d3dd6
Author: Lajos Katona
Date: 2024-03-14 21:13:07 +0100
Message:
  - Trivial: Use VxlanAddDelTunnelV3 instead of V2 (#805)
VxlanAddDelTunnelV2 was deprecated (see [1]), change it to
VxlanAddDelTunnelV3 and update the related log messages also.

[1]: FDio/govpp@8debdf0

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

PR link: networkservicemesh/sdk-vpp#805

Commit: a7d3dd6
Author: Lajos Katona
Date: 2024-03-14 21:13:07 +0100
Message:
  - Trivial: Use VxlanAddDelTunnelV3 instead of V2 (#805)
VxlanAddDelTunnelV2 was deprecated (see [1]), change it to
VxlanAddDelTunnelV3 and update the related log messages also.

[1]: FDio/govpp@8debdf0

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.

4 participants