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 support for Metal VRF on Metal Billed Interconnections #360

Closed
displague opened this issue Aug 17, 2023 · 2 comments
Closed

Add support for Metal VRF on Metal Billed Interconnections #360

displague opened this issue Aug 17, 2023 · 2 comments
Labels
area/resources/metal Issues related to Metal APIs

Comments

@displague
Copy link
Member

displague commented Aug 17, 2023

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.

Description

The following new (beta) capabilities should be surfaced in the provider:

  • VRF on Metal Billed Fabric VCs
  • Setting of VRF Static Route
  • Support for BGP Dynamic Neighbors (available on VRF Metal Gateways)
  • (non-VRF) Adding a static/elastic IP address to a Gateway

Identified changes (there may be others):

  • equinix_metal_connection: should support vrfs as a mutually exclusive option to vlans
  • [TODO]

Packngo will not be getting these new capabilities so metal-go (#353) (which already includes support for these API endpoints, parameters, and attributes) will need to be used.

New or Affected Resource(s)

The following resources and datasources should be updated (including their documentation and expamples) to reflect the new capabilities:

• Connection (Example Use-Cases): https://registry.terraform.io/providers/equinix/equinix/latest/docs/resources/equinix_metal_connection
• Virtual Circuit: https://registry.terraform.io/providers/equinix/equinix/latest/docs/resources/equinix_metal_virtual_circuit
• VRF (Example Use-Cases):
https://registry.terraform.io/providers/equinix/equinix/latest/docs/resources/equinix_metal_vrf
• IP Reservation (VRF Example Use-Cases):
https://registry.terraform.io/providers/equinix/equinix/latest/docs/resources/equinix_metal_reserved_ip_block#type
• Metal + Fabric Guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/equinix_fabric_cloud_providers
• Metal VRF Module: https://github.com/equinix-labs/terraform-equinix-metal-vrf

Potential Terraform Configuration

resource "equinix_metal_connection" "example" {
    name            = "tf-port-to-metal-legacy"
    project_id      = local.my_project_id
    metro           = "SV"
    redundancy      = "redundant"
    type            = "shared"
    contact_email   = "[email protected]"

    # Similar to the VLANs feature which is for Shared Interconnection only, expose a VRF parameter
    # vlans = []
    vrf_id = equinix_metal_vrf.example.id
}

resource "equinix_metal_vrf" "example" { ... }

References

@DailyAlice
Copy link

Docs link for adding an Elastic (Reserved) IP address to a Metal Gateway - https://deploy.equinix.com/developers/docs/metal/layer2-networking/metal-gateway/#adding-an-ip-address-to-a-metal-gateway

@ctreatma
Copy link
Contributor

Closed by #607

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/resources/metal Issues related to Metal APIs
Projects
None yet
Development

No branches or pull requests

3 participants