This repository was archived by the owner on Jun 21, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 53
Add VRF Support (not-GA) #326
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: Marques Johansson <mjohansson@equinix.com>
Signed-off-by: Marques Johansson <mjohansson@equinix.com>
Signed-off-by: Marques Johansson <mjohansson@equinix.com>
Signed-off-by: Marques Johansson <mjohansson@equinix.com>
…sses Signed-off-by: Marques Johansson <mjohansson@equinix.com>
displague
commented
Apr 21, 2022
Signed-off-by: Marques Johansson <mjohansson@equinix.com>
Signed-off-by: Marques Johansson <mjohansson@equinix.com>
Signed-off-by: Marques Johansson <mjohansson@equinix.com>
Signed-off-by: Marques Johansson <mjohansson@equinix.com>
Signed-off-by: Marques Johansson <mjohansson@equinix.com>
jnschaeffer
approved these changes
Apr 29, 2022
11 tasks
deitch
approved these changes
May 2, 2022
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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 the upcoming VRF features:
VRF features are not generally available. The changes in this PR make some currently "required" (always sent in Create requests) "optional". This does not change the overall experience for existing use-cases.
Empty values in the modified fields would have angered the EM API before or after these changes.
Fixes #325
The PR adds support for the following new endpoints:
GET /projects/{id}/vrfs
POST /projects/{id}/vrfs
GET /vrfs/{id}
PUT /vrfs/{id}
DELETE /vrfs/{id}
GET /vrfs/{id}/ips
The following resources have been updated to be aware of new VRF related request and response fields:
POST /projects/{id}/ips
POST /interconnections/{id}/ports/{port_id}/virtual-circuits
GET /projects/{id}/ips
GET /ips
GET /interconnections/{id}/ports/{port_id}/virtual-circuits?is_vrf=true
GET /virtual-circuits/{vrf_virtual_circuit_id}
PUT /ips/{id}
Some resources were indirectly affected, response fields are updated but request fields remain the same, although behavior may be altered conditioned on request values.
POST /projects/{id}/metal-gateways
DELETE /metal-gateways/{id}
GET /metal-gateways/{id}
DELETE /ips/{id}
DELETE /virtual-circuits/{vrf_virtual_circuit_id}