Skip to main content

equinix_fabric_routing_protocol (Resource)

Fabric V4 API compatible resource allows creation and management of Equinix Fabric connection

Additional documentation:

Example Usage

Direct Routing Protocol

resource "equinix_fabric_routing_protocol" "direct"{
connection_uuid = <some_id>
type = "DIRECT"
name = "direct_rp"
direct_ipv4 {
equinix_iface_ip = "190.1.1.1/30"
}
direct_ipv6{
equinix_iface_ip = "190::1:1/126"
}
}

BGP Routing Protocol (Requires Direct Routing Protocol Created First):

resource "equinix_fabric_routing_protocol" "bgp" {
connection_uuid = <same_connection_id_as_first_equinix_fabric_routing_protocol>
type = "BGP"
name = "bgp_rp"
bgp_ipv4 {
customer_peer_ip = "190.1.1.2"
enabled = true
}
bgp_ipv6 {
customer_peer_ip = "190::1:2"
enabled = true
}
customer_asn = 4532
}

Direct and BGP Routing Protocol (Requires Depends On to Handle Synchronization):

resource "equinix_fabric_routing_protocol" "direct"{
connection_uuid = <some_id>
type = "DIRECT"
name = "direct_rp"
direct_ipv4 {
equinix_iface_ip = "190.1.1.1/30"
}
direct_ipv6{
equinix_iface_ip = "190::1:1/126"
}
}

resource "equinix_fabric_routing_protocol" "bgp" {
depends_on = [
equinix_fabric_routing_protocol.direct
]
connection_uuid = <same_connection_id_as_first_equinix_fabric_routing_protocol>
type = "BGP"
name = "bgp_rp"
bgp_ipv4 {
customer_peer_ip = "190.1.1.2"
enabled = true
}
bgp_ipv6 {
customer_peer_ip = "190::1:2"
enabled = true
}
customer_asn = 4532
}

Schema

Required

  • connection_uuid (String) Connection URI associated with Routing Protocol

Optional

  • as_override_enabled (Boolean) Enable AS number override
  • bfd (Block Set) Bidirectional Forwarding Detection (see below for nested schema)
  • bgp_auth_key (String) BGP authorization key
  • bgp_ipv4 (Block Set) Routing Protocol BGP IPv4 (see below for nested schema)
  • bgp_ipv6 (Block Set) Routing Protocol BGP IPv6 (see below for nested schema)
  • customer_asn (Number) Customer-provided ASN
  • description (String) Customer-provided Fabric Routing Protocol description
  • direct_ipv4 (Block Set) Routing Protocol Direct IPv4 (see below for nested schema)
  • direct_ipv6 (Block Set) Routing Protocol Direct IPv6 (see below for nested schema)
  • name (String) Routing Protocol name. An alpha-numeric 24 characters string which can include only hyphens and underscores
  • timeouts (Block, Optional) (see below for nested schema)
  • type (String) Defines the routing protocol type like BGP or DIRECT
  • uuid (String) Equinix-assigned routing protocol identifier

Read-Only

  • change (Set of Object) Routing Protocol configuration Changes (see below for nested schema)
  • change_log (Set of Object) Captures Routing Protocol lifecycle change information (see below for nested schema)
  • equinix_asn (Number) Equinix ASN
  • href (String) Routing Protocol URI information
  • id (String) The ID of this resource.
  • operation (Set of Object) Routing Protocol type-specific operational data (see below for nested schema)
  • state (String) Routing Protocol overall state

Nested Schema for bfd

Required:

  • enabled (Boolean) Bidirectional Forwarding Detection enablement

Optional:

  • interval (String) Interval range between the received BFD control packets

Nested Schema for bgp_ipv4

Required:

  • customer_peer_ip (String) Customer side peering ip

Optional:

  • enabled (Boolean) Admin status for the BGP session
  • inbound_med (Number) Inbound Multi Exit Discriminator attribute
  • outbound_as_prepend_count (String) AS path prepend count. One of: 0, 1, 3, 5
  • outbound_med (Number) Outbound Multi Exit Discriminator attribute

Read-Only:

  • equinix_peer_ip (String) Equinix side peering ip

Nested Schema for bgp_ipv6

Required:

  • customer_peer_ip (String) Customer side peering ip

Optional:

  • enabled (Boolean) Admin status for the BGP session
  • inbound_med (Number) Inbound Multi Exit Discriminator attribute
  • outbound_as_prepend_count (String) AS path prepend count. One of: 0, 1, 3, 5
  • outbound_med (Number) Outbound Multi Exit Discriminator attribute

Read-Only:

  • equinix_peer_ip (String) Equinix side peering ip

Nested Schema for direct_ipv4

Required:

  • equinix_iface_ip (String) Equinix side Interface IP address

Nested Schema for direct_ipv6

Optional:

  • equinix_iface_ip (String) Equinix side Interface IP address

Nested Schema for timeouts

Optional:

  • create (String)
  • delete (String)
  • read (String)
  • update (String)

Nested Schema for change

Read-Only:

  • href (String)
  • type (String)
  • uuid (String)

Nested Schema for change_log

Read-Only:

  • created_by (String)
  • created_by_email (String)
  • created_by_full_name (String)
  • created_date_time (String)
  • deleted_by (String)
  • deleted_by_email (String)
  • deleted_by_full_name (String)
  • deleted_date_time (String)
  • updated_by (String)
  • updated_by_email (String)
  • updated_by_full_name (String)
  • updated_date_time (String)

Nested Schema for operation

Read-Only:

Nested Schema for operation.errors

Read-Only:

  • additional_info (List of Object) (see below for nested schema)
  • correlation_id (String)
  • details (String)
  • error_code (String)
  • error_message (String)
  • help (String)

Nested Schema for operation.errors.additional_info

Read-Only:

  • property (String)
  • reason (String)
Was this page helpful?