-
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
Feature Request: Return assigned IP of default edge gateway network when creating/updating #308
Comments
@acederlund, |
It would be the IP address assigned to the external network interface when the edge gateway is created, then I can configure it with sub-allocations of the same IP and set up some automatic NAT rules or LB rules. |
That's one scenario I hadn't thought about, thanks for pointing that out. I'd argue that the IP returned should then be for whatever network is set to 'default_gateway_network' |
NP, I still am researching if a single default gateway is a fact. |
So it looks to be confirmed that only one default gateway can exist which has an XML tag Tech details. go-vcloud-director must treat
Below is an example excerpt when multiple subnets are defined on edge gateway interface and default gateway is not the first:
|
@acederlund, I have a draft PR (https://github.com/terraform-providers/terraform-provider-vcd/pull/389). You could try to build from it and check how the |
Terraform Version
Terraform v0.12.6
Affected Resource(s)
When creating an edge gateway, it would be useful to fetch the IP assigned to the edge gateway for further processing, i.e. creating snat/dnat rules or sending the IP to other resources. Not sure if this is an easy fix, or if it requires much modification.
The text was updated successfully, but these errors were encountered: