Skip to main content

equinix_fabric_routing_protocol (Data Source)

Fabric V4 API compatible data resource that allow user to fetch routing protocol for a given UUID

API documentation can be found here - https://docs.equinix.com/api-catalog/fabricv4/#tag/Routing-Protocols

Additional documentation:

Example Usage

data "equinix_fabric_routing_protocol" "routing_protocol_data_name" {
connection_uuid = "<uuid_of_connection_routing_protocol_is_applied_to>"
uuid = "<uuid_of_routing_protocol>"
}

output "id" {
value = data.equinix_fabric_routing_protocol.routing_protocol_data_name.id
}

output "name" {
value = data.equinix_fabric_routing_protocol.routing_protocol_data_name.name
}

output "type" {
value = data.equinix_fabric_routing_protocol.routing_protocol_data_name.type
}

output "direct_ipv4" {
value = data.equinix_fabric_routing_protocol.routing_protocol_data_name.direct_ipv4.0.equinix_iface_ip
}

output "direct_ipv6" {
value = data.equinix_fabric_routing_protocol.routing_protocol_data_name.direct_ipv6.0.equinix_iface_ip
}

output "bgp_ipv4_customer_peer_ip" {
value = data.equinix_fabric_routing_protocol.routing_protocol_data_name.bgp_ipv4.0.customer_peer_ip
}

output "bgp_ipv4_equinix_peer_ip" {
value = data.equinix_fabric_routing_protocol.routing_protocol_data_name.bgp_ipv4.0.equinix_peer_ip
}

output "bgp_ipv4_enabled" {
value = data.equinix_fabric_routing_protocol.routing_protocol_data_name.bgp_ipv4.0.enabled
}

output "bgp_ipv6_customer_peer_ip" {
value = data.equinix_fabric_routing_protocol.routing_protocol_data_name.bgp_ipv6.0.customer_peer_ip
}

output "bgp_ipv6_equinix_peer_ip" {
value = data.equinix_fabric_routing_protocol.routing_protocol_data_name.bgp_ipv6.0.equinix_peer_ip
}

output "bgp_ipv6_enabled" {
value = data.equinix_fabric_routing_protocol.routing_protocol_data_name.bgp_ipv6.0.enabled
}

output "customer_asn" {
value = data.equinix_fabric_routing_protocol.routing_protocol_data_name.customer_asn
}

Schema

Required

  • connection_uuid (String) Connection URI associated with Routing Protocol
  • uuid (String) Equinix-assigned routing protocol identifier

Read-Only

  • as_override_enabled (Boolean) Enable AS number override
  • bfd (Set of Object) Bidirectional Forwarding Detection (see below for nested schema)
  • bgp_auth_key (String) BGP authorization key
  • bgp_ipv4 (Set of Object) Routing Protocol BGP IPv4 (see below for nested schema)
  • bgp_ipv6 (Set of Object) Routing Protocol BGP IPv6 (see below for nested schema)
  • 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)
  • customer_asn (Number) Customer-provided ASN
  • description (String) Customer-provided Fabric Routing Protocol description
  • direct_ipv4 (Set of Object) Routing Protocol Direct IPv4 (see below for nested schema)
  • direct_ipv6 (Set of Object) Routing Protocol Direct IPv6 (see below for nested schema)
  • equinix_asn (Number) Equinix ASN
  • href (String) Routing Protocol URI information
  • id (String) The ID of this resource.
  • name (String) Routing Protocol name. An alpha-numeric 24 characters string which can include only hyphens and underscores
  • operation (Set of Object) Routing Protocol type-specific operational data (see below for nested schema)
  • state (String) Routing Protocol overall state
  • type (String) Defines the routing protocol type like BGP or DIRECT

Nested Schema for bfd

Read-Only:

  • enabled (Boolean)
  • interval (String)

Nested Schema for bgp_ipv4

Read-Only:

  • customer_peer_ip (String)
  • enabled (Boolean)
  • equinix_peer_ip (String)
  • inbound_med (Number)
  • outbound_as_prepend_count (String)
  • outbound_med (Number)

Nested Schema for bgp_ipv6

Read-Only:

  • customer_peer_ip (String)
  • enabled (Boolean)
  • equinix_peer_ip (String)
  • inbound_med (Number)
  • outbound_as_prepend_count (String)
  • outbound_med (Number)

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 direct_ipv4

Read-Only:

  • equinix_iface_ip (String)

Nested Schema for direct_ipv6

Read-Only:

  • equinix_iface_ip (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?