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

Enhance edge gateway creation with more GatewayBackingConfig values #201

Open
dataclouder opened this issue Jun 12, 2019 · 1 comment
Open
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@dataclouder
Copy link
Contributor

Edge gateway creation (#130) uses only two values for GatewayBackingConfig: "full" and "compact".
The GUI mentions other values "Large", "Xlarge", "Quad Large" which are not in the API.

When we try to enter values other than "full" or "compact" in the creation, we get an error from vCD saying that such values are not supported.

We need to figure out in which version these values are supported and what is the minimum version for our API to handle such requests.

Our current assessment is that the rejection happens because our current API minimal version (27) is insufficient for handling the request.

We will revisit this issue when we bump up go-vcloud-director minimal version.

@dataclouder dataclouder self-assigned this Jun 12, 2019
@dataclouder dataclouder added enhancement New feature or request help wanted Extra attention is needed labels Jun 12, 2019
@vbauzys
Copy link
Contributor

vbauzys commented Jun 17, 2019

taken from html5 behaviour:

{"name":"tetsv","description":"","configuration":{"distributedRoutingEnabled":false,"fipsModeEnabled":false,"haEnabled":false,"backwardCompatibilityMode":false,"gatewayBackingConfig":"full4","gatewayInterfaces":{"gatewayInterface":[{"name":"extnet-govcd","network":{"href":"https://bos2-vcd-terraform-vcd97-1.eng.vmware.com/cloudapi/1.0.0/externalNetworks/d42a6000-0218-46f1-b449-30f0a145fc85","id":"urn:vcloud:network:d42a6000-0218-46f1-b449-30f0a145fc85"},"interfaceType":"uplink","subnetParticipation":[{"gateway":"10.150.15.253","subnetPrefixLength":20,"useForDefaultRoute":false,"netmask":"255.255.240.0","ipAddress":"","ipRanges":{"ipRange":[]}}],"applyRateLimit":false,"inRateLimit":null,"outRateLimit":null,"useForDefaultRoute":false}]},"advancedNetworkingEnabled":true,"edgeGatewayServiceConfiguration":null}}

{"name":"tereagre","description":"","configuration":{"distributedRoutingEnabled":false,"fipsModeEnabled":false,"haEnabled":false,"backwardCompatibilityMode":false,"gatewayBackingConfig":"x-large","gatewayInterfaces":{"gatewayInterface":[{"name":"extnet-govcd","network":{"href":"https://bos2-vcd-terraform-vcd97-1.eng.vmware.com/cloudapi/1.0.0/externalNetworks/d42a6000-0218-46f1-b449-30f0a145fc85","id":"urn:vcloud:network:d42a6000-0218-46f1-b449-30f0a145fc85"},"interfaceType":"uplink","subnetParticipation":[{"gateway":"10.150.15.253","subnetPrefixLength":20,"useForDefaultRoute":false,"netmask":"255.255.240.0","ipAddress":"","ipRanges":{"ipRange":[]}}],"applyRateLimit":false,"inRateLimit":null,"outRateLimit":null,"useForDefaultRoute":false}]},"advancedNetworkingEnabled":true,"edgeGatewayServiceConfiguration":null}}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants