-
Notifications
You must be signed in to change notification settings - Fork 19
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
Trivial: Use VxlanAddDelTunnelV3 instead of V2 #805
Conversation
There was a problem hiding this 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?
There was a problem hiding this 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{ |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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>
2157279
to
d2f7506
Compare
…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>
…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>
…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>
…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>
…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>
…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>
…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>
…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>
…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>
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