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 Nsxt route advertisement methods #478

Merged
merged 23 commits into from
Jun 15, 2022

Conversation

mikeletux
Copy link
Contributor

@mikeletux mikeletux commented May 26, 2022

This PR doesn't have any issue associated

Description

This PR implements new NSX-T edge gateway methods that allow to create route advertisement in NSX-T edge gateways.

Detailed description

This PR proposes three new methods for NsxtEdgeGateway that allows to manage route advertisement. These methods are:

  • NsxtEdgeGateway.GetNsxtRouteAdvertisement
  • NsxtEdgeGateway.UpdateNsxtRouteAdvertisement
  • NsxtEdgeGateway.DeleteNsxtRouteAdvertisement

In order to use these methods, make sure you're using a dedicated Tier-0 gateway:
image

Or using code:

edge.EdgeGateway.EdgeGatewayUplinks[0].Dedicated = true

This PR also introduces a small change (docs) introduced by @vbauzysvmware in file govcd/catalog_test.go

Miguel Sama added 10 commits May 25, 2022 13:30
Signed-off-by: Miguel Sama <msama@vmware.com>
Signed-off-by: Miguel Sama <msama@vmware.com>
Signed-off-by: Miguel Sama <msama@vmware.com>
Signed-off-by: Miguel Sama <msama@vmware.com>
Signed-off-by: Miguel Sama <msama@vmware.com>
Signed-off-by: Miguel Sama <msama@vmware.com>
Signed-off-by: Miguel Sama <msama@vmware.com>
Signed-off-by: Miguel Sama <msama@vmware.com>
Signed-off-by: Miguel Sama <msama@vmware.com>
Signed-off-by: Miguel Sama <msama@vmware.com>
Signed-off-by: Miguel Sama <msama@vmware.com>
govcd/nsxt_route_advertisement_test.go Outdated Show resolved Hide resolved
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.

LGTM!

govcd/tenant_context.go Outdated Show resolved Hide resolved
Miguel Sama added 3 commits June 2, 2022 14:46
Signed-off-by: Miguel Sama <msama@vmware.com>
Signed-off-by: Miguel Sama <msama@vmware.com>
Signed-off-by: Miguel Sama <msama@vmware.com>
@mikeletux mikeletux removed the request for review from dataclouder June 2, 2022 13:13
types/v56/nsxt_types.go Outdated Show resolved Hide resolved
Miguel Sama added 2 commits June 6, 2022 10:53
Signed-off-by: Miguel Sama <msama@vmware.com>
Signed-off-by: Miguel Sama <msama@vmware.com>
Miguel Sama added 3 commits June 9, 2022 12:25
Signed-off-by: Miguel Sama <msama@vmware.com>
Signed-off-by: Miguel Sama <msama@vmware.com>
Signed-off-by: Miguel Sama <msama@vmware.com>
Miguel Sama added 4 commits June 14, 2022 15:05
Signed-off-by: Miguel Sama <msama@vmware.com>
Signed-off-by: Miguel Sama <msama@vmware.com>
Signed-off-by: Miguel Sama <msama@vmware.com>
Signed-off-by: Miguel Sama <msama@vmware.com>
@mikeletux mikeletux merged commit c06a6b4 into vmware:main Jun 15, 2022
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