Skip to main content

Connect Fabric Cloud Router To Metal VLAN

Establish a direct layer 2 connection between your Fabric Cloud Router and your Metal Interconnection.

Create a Metal Interconnection

In the Metal API, send a POST request to the /organizations/{organization_id}/connections endpoint, using the SharePortVCVlanCreateInput body parameters. Specify the "type" as shared_port_vlan and specify witch Metal VLANs your Fabric Cloud Router is connecting to in the vlans array.

The response contains an "authorization_code" that you will need when creating the connection.

Get Your Fabric Cloud Router

If you already have a Fabric Cloud Router, find it by sending a GET request to the fabric/v4/routers/{routerId} endpoint or search for one using the /fabric/v4/routers/search endpoint.

If you do not have a Fabric Cloud Router, you can create one.

Create Connection

To create a connection send a POST request to the /fabric/v4/connections endpoint. Specify your Fabric Cloud Router in the aSide : accessPoint object. Specify your Metal Interconnection in the zSide : accessPoint object.

POST /fabric/v4/connections
MethodPOST
Endpoint/fabric/v4/connections
HeadersAuthorization, Content-Type
Path ParametersNot applicable
Query ParametersNot applicable
Body Parameterstype, name, order, bandwidth, project, redundancy, aSide, zSide, notifications

Sample curl request to create a PRIMARY connection from your FCR to a Metal Interconnection:

curl -X  
POST 'https://api.equinix.com/fabric/v4/connections'
-H 'content-type: application/json'
-H 'authorization: Bearer <token>'
-d '
{

    "type": "IP_VC",
    "name": "fcr2metal",
    "bandwidth": 50,
    "aSide": {
        "accessPoint": {
            "type": "CLOUD_ROUTER",
            "router": {
                "uuid": "< fcr uuid >"
            }
        }
    }
    ,
    "zSide": {
        "accessPoint": {
            "type": "METAL_NETWORK",
            "authenticationKey":"<key >"
        }
    },
    "notifications": [ 
        {
        "type": "ALL",
        "emails": [ "x@x.com"
            ]
        }

    ]
}'

Sample curl request to create a SECONDARY connection from your FCR to a Metal Interconnection with two VLANs:

curl -X  
POST 'https://api.equinix.com/fabric/v4/connections'
-H 'content-type: application/json'
-H 'authorization: Bearer <token>'
-d '
{

    "type": "IP_VC",
    "name": "fcr2metal",
    "bandwidth": 50,
    "redundancy": {
        "group": "82f0b34c-3994-4c8a-81ff-7063faa7a9e2",
        "priority": "SECONDARY"
    },
    "aSide": {
        "accessPoint": {
            "type": "CLOUD_ROUTER",
            "router": {
                "uuid": "< fcr uuid >"
            }
        }
    },
    "zSide": {
        "accessPoint": {
            "type": "METAL_NETWORK",
            "authenticationKey":" < key >"
        }
    },
    "notifications": [ 
        {
        "type": "ALL",
        "emails": [ "x@x.com"
            ]
        }

    ]
}'

A full list of the available parameters is available in the API Reference.

Send a GET request to the fabric/v4/connections/{connectionId} endpoint to monitor connection status.

equinixStatus attribute valuesproviderStatus attribute valuesDescription
PENDING_INTERFACE_CONFIGURATIONNOT_AVAILABLEYou need to configure the connection.
PROVISIONEDAVAILABLEConnection is provisioned and available.

Configuring the Connection

Once you create and validate the connection, configure it using the Routing Protocol API endpoints to create and add routing protocol definition to the connection. You must add at least the Direct routing protocol details to the connection for it to be fully provisioned. BGP routing protocols allow you to connect to the servers connected to the VLAN.