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

NSX-T Edgegateway L2 VPN Tunnel session management #619

Merged
merged 22 commits into from
Oct 16, 2023

Conversation

adezxc
Copy link

@adezxc adezxc commented Sep 28, 2023

This PR adds support for L2 VPN Tunnel sessions

  • Added new methods for NsxtEdgeGateway: CreateL2VpnTunnel, GetAllL2VpnTunnels, GetL2VpnTunnelByName, GetL2VpnTunnelById
  • Added new types types.EdgeL2VpnStretchedNetwork, types.EdgeL2VpnTunnelStatistics, types.EdgeL2VpnTunnelStatus.
  • Add new type NsxtL2VpnTunnel and its methods: Refresh, Update, Statistics, Status, Delete

Place in UI

image

Adam Jasinski added 12 commits September 11, 2023 12:36
Signed-off-by: Adam Jasinski <jasinskia@vmware.com>
function

Signed-off-by: Adam Jasinski <jasinskia@vmware.com>
the type

Signed-off-by: Adam Jasinski <jasinskia@vmware.com>
Signed-off-by: Adam Jasinski <jasinskia@vmware.com>
Signed-off-by: Adam Jasinski <jasinskia@vmware.com>
Signed-off-by: Adam Jasinski <jasinskia@vmware.com>
so it also tries to create a CLIENT type tunnel

Signed-off-by: Adam Jasinski <jasinskia@vmware.com>
Signed-off-by: Adam Jasinski <jasinskia@vmware.com>
Signed-off-by: Adam Jasinski <jasinskia@vmware.com>
Signed-off-by: Adam Jasinski <jasinskia@vmware.com>
Signed-off-by: Adam Jasinski <jasinskia@vmware.com>
Signed-off-by: Adam Jasinski <jasinskia@vmware.com>
Signed-off-by: Adam Jasinski <jasinskia@vmware.com>
Copy link
Collaborator

@lvirbalas lvirbalas left a comment

Choose a reason for hiding this comment

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

I like the test! :)

Copy link
Collaborator

@adambarreiro adambarreiro left a comment

Choose a reason for hiding this comment

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

Amazing feature, it is really nice to have the comments describing the current quirks, they make the whole thing more understandable.
I'll run the tests and approve afterwards, just sharing few little things I found and some doubts.

Copy link
Collaborator

@adambarreiro adambarreiro left a comment

Choose a reason for hiding this comment

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

Test passed for me on VCD 10.5.0

Adam Jasinski added 3 commits October 2, 2023 12:15
Signed-off-by: Adam Jasinski <jasinskia@vmware.com>
Signed-off-by: Adam Jasinski <jasinskia@vmware.com>
Signed-off-by: Adam Jasinski <jasinskia@vmware.com>
@adezxc adezxc requested a review from dataclouder October 2, 2023 09:20
Copy link
Collaborator

@Didainius Didainius left a comment

Choose a reason for hiding this comment

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

Thanks - a few queries from me

Adam Jasinski added 2 commits October 8, 2023 21:08
bugs, and use queryParameterFilterAnd for filtering by name

Signed-off-by: Adam Jasinski <jasinskia@vmware.com>
…sfully

Signed-off-by: Adam Jasinski <jasinskia@vmware.com>
Adam Jasinski added 2 commits October 9, 2023 18:19
Signed-off-by: Adam Jasinski <jasinskia@vmware.com>
Signed-off-by: Adam Jasinski <jasinskia@vmware.com>
Adam Jasinski added 2 commits October 10, 2023 09:52
Signed-off-by: Adam Jasinski <jasinskia@vmware.com>
Signed-off-by: Adam Jasinski <jasinskia@vmware.com>
@adezxc adezxc merged commit b2826f9 into vmware:main Oct 16, 2023
@adezxc adezxc deleted the edgegateway_l2_vpn branch October 16, 2023 10:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants