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 NSX-T IPsec VPN Tunnel support #385

Merged
merged 8 commits into from
Jun 25, 2021

Conversation

Didainius
Copy link
Collaborator

@Didainius Didainius commented Jun 16, 2021

As part of vmware/terraform-provider-vcd#618. this PR adds NsxtIpSecVpnTunnel and types.NsxtIpSecVpnTunnel types to manage IPsec VPN Tunnels on NSXT edge gateways.

The following methods are created:

  • NsxtEdgeGateway.GetAllIpSecVpnTunnels
  • NsxtEdgeGateway.GetIpSecVpnTunnelById
  • NsxtEdgeGateway.GetIpSecVpnTunnelByName
  • NsxtEdgeGateway.CreateIpSecVpnTunnel
  • NsxtIpSecVpnTunnel.Update
  • NsxtIpSecVpnTunnel.Delete
  • NsxtIpSecVpnTunnel.GetStatus
  • NsxtIpSecVpnTunnel.UpdateTunnelConnectionProperties
  • NsxtIpSecVpnTunnel.GetTunnelConnectionProperties
  • NsxtIpSecVpnTunnel.IsEqualTo

As well as more new types:

  • types.NsxtIpSecVpnTunnel
  • types.NsxtIpSecVpnTunnelStatus
  • types.NsxtIpSecVpnTunnelSecurityProfile

Signed-off-by: Dainius Serplis <dserplis@vmware.com>
Signed-off-by: Dainius Serplis <dserplis@vmware.com>
@Didainius Didainius force-pushed the nsxt-ipsec-vpn-pr branch from f8d2c19 to 3800be3 Compare June 16, 2021 11:47
Signed-off-by: Dainius Serplis <dserplis@vmware.com>
@Didainius Didainius marked this pull request as ready for review June 22, 2021 12:39
@Didainius Didainius requested a review from dataclouder June 22, 2021 12:39
Signed-off-by: Dainius Serplis <dserplis@vmware.com>
Signed-off-by: Dainius Serplis <dserplis@vmware.com>
Copy link
Contributor

@dataclouder dataclouder left a comment

Choose a reason for hiding this comment

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

minor changes needed

govcd/nsxt_ipsec_vpn_tunnel.go Outdated Show resolved Hide resolved
govcd/nsxt_ipsec_vpn_tunnel.go Outdated Show resolved Hide resolved
… test

Signed-off-by: Dainius Serplis <dserplis@vmware.com>
Signed-off-by: Dainius Serplis <dserplis@vmware.com>
Signed-off-by: Dainius Serplis <dserplis@vmware.com>
@Didainius Didainius merged commit d1aebbf into vmware:master Jun 25, 2021
@Didainius Didainius deleted the nsxt-ipsec-vpn-pr branch June 25, 2021 12:30
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.

3 participants