-
Notifications
You must be signed in to change notification settings - Fork 112
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 External network attachment support for vcd_nsxt_edgegateway #1111
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: Dainius Serplis <[email protected]>
Signed-off-by: Dainius Serplis <[email protected]>
Signed-off-by: Dainius Serplis <[email protected]>
Signed-off-by: Dainius Serplis <[email protected]>
Signed-off-by: Dainius Serplis <[email protected]>
Didainius
force-pushed
the
edge-uplinks
branch
from
August 24, 2023 12:25
3972314
to
a9a14bf
Compare
Signed-off-by: Dainius Serplis <[email protected]>
Didainius
force-pushed
the
edge-uplinks
branch
from
August 24, 2023 12:26
a9a14bf
to
950ac0d
Compare
terraform-provider-vcd-bot
added
test-running:acc
test-failed:acc
and removed
test-request:acc
test-running:acc
labels
Aug 24, 2023
Signed-off-by: Dainius Serplis <[email protected]>
Didainius
commented
Aug 25, 2023
Signed-off-by: Dainius Serplis <[email protected]>
Signed-off-by: Dainius Serplis <[email protected]>
Signed-off-by: Dainius Serplis <[email protected]>
Signed-off-by: Dainius Serplis <[email protected]>
Signed-off-by: Dainius Serplis <[email protected]>
Signed-off-by: Dainius Serplis <[email protected]>
Signed-off-by: Dainius Serplis <[email protected]>
Signed-off-by: Dainius Serplis <[email protected]>
Signed-off-by: Dainius Serplis <[email protected]>
Signed-off-by: Dainius Serplis <[email protected]>
Signed-off-by: Dainius Serplis <[email protected]>
Signed-off-by: Dainius Serplis <[email protected]>
Signed-off-by: Dainius Serplis <[email protected]>
Signed-off-by: Dainius Serplis <[email protected]>
Signed-off-by: Dainius Serplis <[email protected]>
Signed-off-by: Dainius Serplis <[email protected]>
Signed-off-by: Dainius Serplis <[email protected]>
Signed-off-by: Dainius Serplis <[email protected]>
Didainius
requested review from
lvirbalas,
adambarreiro,
dataclouder and
adezxc
as code owners
August 31, 2023 06:28
Signed-off-by: Dainius Serplis <[email protected]>
lvirbalas
reviewed
Aug 31, 2023
Signed-off-by: Dainius Serplis <[email protected]>
lvirbalas
approved these changes
Sep 5, 2023
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.
Thanks for updates!
Signed-off-by: Dainius Serplis <[email protected]>
Signed-off-by: Dainius Serplis <[email protected]>
dataclouder
approved these changes
Sep 29, 2023
Signed-off-by: Dainius Serplis <[email protected]>
adambarreiro
approved these changes
Oct 3, 2023
adezxc
approved these changes
Oct 4, 2023
Signed-off-by: Dainius Serplis <[email protected]>
Signed-off-by: Dainius Serplis <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds support for adding additional External Networks (only NSX-T Segment backed) to
vcd_nsxt_edgegateway
. This is done using a block fieldexternal_network
. It is in the same resource instead of a separate one because it uses the same API endpoint as Edge Gateway creation (a bit unfortunate, but safest way).This feature requires VCD 10.4.1+ and uses new functionality in vmware/go-vcloud-director#610
Place in UI:
About
IP Management for Edge Gateway external network uplinks is quite simple - it doesn't support IP Spaces and only requires IP, Prefix and allocated IP count. Primary IP can either be specified manually or assigned automatically.
TypeSet
has enough functionality to support it therefore only one structure is introducedexternal_network
.A big part of the work was making sure that this works well with existing primary network uplinks and doesn't affect each other. Quite a few tests were added with the hope of ensuring interoperability.
Additional notes:
TestAccVcdNsxtDynamicSecurityGroupVdcGroupCriteriaWithVms
where it sometimes fails with incorrect VM counttestConfig.Nsxt.NsxtImportSegment2
for improved testingTesting
Tags used
gateway nsxt network
, VCD versions: