Skip to main content

Effective 10 September 2024, API Documentation can be found on our Equinix Product Documentation site.
The content on this page will not be updated after 1 Oct 2024 and will be inaccessible after 31st Dec 2024.


Connect to Network

Establish a direct, low-latency connection between your networks and ports/virtual devices.

Step 1: Authenticate

Submit your user credentials, Client ID, and Client Secret for OAuth2 authentication.

 

Refer to Generating Client ID and Client Secret under the Getting Access Token section for instructions on how to create client ID and client secret and refer to Requesting Access and Refresh tokens section for instructions on how to call Oauth API to validate and authenticate your credentials.

 

If you are unaware of your user credentials for Equinix Fabric, contact your local Equinix Service Desk.

Step 2: Get Attribute Information

1) Get all your Fabric network information using the Retrieve Fabric Networks API call.

2) You can connect your network to a port or a virtual device. Tagged ports or Virtual Devices can be connected to EVPLAN networks. Untagged ports can be connected to EPLAN networks.

To connect a port to a network, check the status of your ports. Call the Get Specified Port API or the Get All Ports API.

To connect a virtual device to a network, check the status of your virtual devices. Call the Get Virtual Device {uuid} API or the Get Virtual Devices API.

Step 3: Create Connection

Use the POST /fabric/v4/connections API request to create a connection with the pre-determined attributes.

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

The POST Connections API creates a layer 2 connection between your network and a port or a virtual device.

 

Use the Retrieve Pricing API request to retrieve connection price estimate.


Sample curl request - connect a tagged port to EVPLAN network

curl -X
POST 'https://api.equinix.com/fabric/v4/connections'
-H 'content-type: application/json'
-H 'authorization: Bearer qwErtY8zyW1abcdefGHI'
-d '{
  "type": "EVPLAN_VC",
  "name": "MY-EVPLAN-CONNECTION-1",
  "bandwidth": 1000,
  "aSide": {
    "accessPoint": {
      "type": "COLO",
      "port": {
        "uuid": "9127bb72-5f4f-4517-be74-3af7ce612687"
      },
      "linkProtocol": {
        "type": "DOT1Q",
        "vlanTag": 300
      }
    }
  },
  "zSide": {
    "accessPoint": {
      "type": "NETWORK",
      "network": {
        "uuid": "25f8884e-85e3-4eaa-8ea9-a7ad2ca5b3c2"
      }
    }
  },
  "order": {
    "purchaseOrderNumber": "1-129105284100"
  },
  "notifications": [
    {
      "type": "ALL",
      "emails": [
        "test@equinix.com",
        "test1@equinix.com"
      ]
    }
  ]
}'

Sample curl request - connect an untagged port to EPLAN network

curl -X
POST 'https://api.equinix.com/fabric/v4/connections'
-H 'content-type: application/json'
-H 'authorization: Bearer qwErtY8zyW1abcdefGHI'
-d '
{
  "type": "EPLAN_VC",
  "name": "MY-EPLAN-CONNECTION-1",
  "bandwidth": 1000,
  "aSide": {
    "accessPoint": {
      "type": "COLO",
      "port": {
        "uuid": "9127bb72-5f4f-4517-be74-3af7ce612687"
      }
    }
  },
  "zSide": {
    "accessPoint": {
      "type": "NETWORK",
      "network": {
        "uuid": "25f8884e-85e3-4eaa-8ea9-a7ad2ca5b3c2"
      }
    }
  },
  "order": {
    "purchaseOrderNumber": "1-129105284100"
  },
  "notifications": [
    {
      "type": "ALL",
      "emails": [
        "test@equinix.com",
        "test1@equinix.com"
      ]
    }
  ]
}'

Sample curl request - connect a virtual device to EVPLAN network

curl -X
POST 'https://api.equinix.com/fabric/v4/connections'
-H 'content-type: application/json'
-H 'authorization: Bearer qwErtY8zyW1abcdefGHI'
-d '
{
  "type": "EVPLAN_VC",
  "name": "MY-VD-EVPLAN-CONNECTION-1",
  "bandwidth": 1000,
  "aSide": {
    "accessPoint": {
      "type": "VD",
      "virtualDevice": {
        "type": "EDGE",
        "uuid": "20d32a80-0d61-4333-bc03-707b591ae2f4"
      },
      "interface": {
        "type": "NETWORK",
        "id": 7
      }
    }
  },
  "zSide": {
    "accessPoint": {
      "type": "NETWORK",
      "network": {
        "uuid": "25f8884e-85e3-4eaa-8ea9-a7ad2ca5b3c2"
      }
    }
  },
  "order": {
    "purchaseOrderNumber": "1-129105284100"
  },
  "notifications": [
    {
      "type": "ALL",
      "emails": [
        "test@equinix.com",
        "test1@equinix.com"
      ]
    }
  ]
}'


Body parameters

ParameterMandatoryTypeExample valuesApplicable valuesDescription
typeyesstringEVPLAN_VCEVPLAN_VCConnection type.
Either EVPLAN_VC or EPLAN_VC.  
nameyesstringConn-1Maximum: 24 characters
Allowed characters: alpha-numeric, hyphens ('-') and underscores ('_')
Connection name.
ordernoobject--Order details.
bandwidthyesinteger100010
50
200
500
1000
2000
5000
10000
25000
50000
Connection bandwidth in Mbps.
aSideyesobject--Source port definition.
zSideyesobject--Destination port definition.
notificationsyesarray[object]--Subscriber preferences for notification of changes in asset configuration or status.
redundancyConditionalobject--Redundancy details. This object is not mandatory for primary connections. However, you must provide the redundancy details for secondary connections.
 
order
purchaseOrderNumbernostring1-129105284100-Subscriber's purchase order identifier.
 
aSide
accessPointyesobject--A-side connection endpoint configuration.
 
A-side accessPoint
typeyesstringCOLOCOLO
VD
Connection endpoint type.
COLO - colocation space in an IBX data center
VD - virtual device  
portnoobject--Port associated with the connection.
linkProtocolnoobject--Link protocol configuration.
virtualDevicenoobject--Virtual device details.
interfacenoobject--Interface details of virtual device.
 
port
uuidnostringa867f685-41b0-1b07-6de0-320a5c00abdd-Equinix-assigned port identifier (only required if you are creating a connection between a port and a network)
 
linkProtocol
typenostringDOT1QDOT1QLink protocol type (only required for tagged ports).
vlanTagnointeger1001Range: 2-4094DOT1Q protocol VLAN tag (only applicable for tagged ports). 
vlanCTagnointeger1002Range: 2-4094QINQ protocol, inner virtual local area network (VLAN) customer frame tag used to identify packets as they traverse trunk lines (only applicable for tagged ports).
vlanSTagnointeger1003Range: 2-4094QINQ protocol, outer virtual local area network (VLAN) service frame tag used to identify packets as they traverse trunk lines (only applicable for tagged ports).
 
virtualDevice
typenostringEDGEEDGEType of virtual device (only required if you are creating a connection between a virtual device and a network)
uuidnostringa867f685-41b0-1b07-6de0-320a5c00abdd-Equinix-assigned virtual device Id (only required if you are creating a connection between a virtual device and a network)
 
interface
typenostringNETWORKNETWORKInterface of the virtual device (only required if you are creating a connection between a virtual device and a network)
idnostring7-Interface Id (only required if you are creating a connection between a virtual device and a network)
 
zSide
accessPointyesobject--Z-side connection endpoint configuration.
 
Z-side accessPoint
typeyesstringNETWORKNETWORK
Connection endpoint type.
 
networknoobject--Z-side network details.
 
network
uuidyesstringa867f685-41b0-1b07-6de0-320a5c00abdd-Id of the network
 
notifications
typeyesstringALLALLNotification preferences for a specified asset.
emailsyesarray[string]["john@equinix.com", "jenkins@equinix.com"]Minimum: 1
Maximum: 12
List of up to 12 recipients.
 
redundancy
priorityConditionalstringSECONDARYPRIMARY, SECONDARYWhether the connection is PRIMARY or SECONDARY. Don't provide a redundancy group for a PRIMARY connection.
groupConditionalstring7a58dd05-f46d-4b1d-a154-2e85c396ea63Unique Id of the redundancy group. This is only required for secondary connections. If you are creating a secondary connection, enter the group of the PRIMARY. You can find the group of the primary connection by calling Get Specified Connection or by checking the "group" field in the response you receive when creating primary connection.
 

If you get “Access Denied” error, contact your local Equinix Service Desk for Equinix Fabric Portal access.


Sample response - non-redundant connection from an EVPLAN network to a tagged port

{
"type": "EVPLAN_VC",
"href": "http://uat2api.npclouda.equinix.com/fabric/v4/connections/01df5124-eed1-4a30-89bb-240c33d5cd12",
"uuid": "01df5124-eed1-4a30-89bb-240c33d5cd12",
"name": "test2",
"operation": {
"providerStatus": "NOT_AVAILABLE",
"equinixStatus": "PROVISIONING"
},
"order": {
"billingTier": "Up to 50 MB"
},
"notifications": [
{
"type": "ALL",
"emails": [
"1eqxnfvuser1@equinix.com"
]
}
],
"changeLog": {
"createdBy": "eqxnfvuser1",
"createdByFullName": "eqxnfvuser eqxnfvuser",
"createdByEmail": "1eqxnfvuser1@equinix.com",
"createdDateTime": "2023-03-27T18:29:53.117Z",
"updatedBy": "eqxnfvuser1",
"updatedByFullName": "eqxnfvuser eqxnfvuser",
"updatedByEmail": "1eqxnfvuser1@equinix.com",
"updatedDateTime": "2023-03-27T18:29:53.117Z"
},
"bandwidth": 50,
"redundancy": {
"priority": "PRIMARY",
"group": "7a58dd05-f46d-4b1d-a154-2e85c396ea63"
},
"aSide": {
"accessPoint": {
"location": {
"metroCode": "DC"
},
"port": {
"type": "XF_PORT",
"href": "http://uat2api.npclouda.equinix.com/fabric/v4/ports/e569f0bb-96d5-6d5e-92e0-387a5c00a379",
"uuid": "e569f0bb-96d5-6d5e-92e0-387a5c00a379",
"name": "eqx-nfv-DC5-L-Dot1q-STD-Pri-1G-JP-2"
},
"linkProtocol": {
"type": "DOT1Q",
"vlanTag": 44
}
}
},
"zSide": {
"accessPoint": {
"network": {
"href": "http://uat2api.npclouda.equinix.com/fabric/v4/networks/ecc81fe0-7a96-4e08-94f2-0ab52fae662b",
"uuid": "ecc81fe0-7a96-4e08-94f2-0ab52fae662b",
"name": "EVPLAN-AMER-1",
"platformUuid": "52c6ec8b-4aad-4167-be6d-1972a12d1b83",
"state": "ACTIVE",
"type": "EVPLAN",
"scope": "REGIONAL",
"location": {
"region": "AMER"
}
}
}
}
}

Response description

ParameterTypeExample valuesDescription
hrefstringhttps://api.equinix.com/fabric/v4/connections/3a58dd05-f46d-4b1d-a154-2e85c396ea62An absolute URL that returns the specified connection.
typestringEVPLAN_VCType of connection.
uuidstring3a58dd05-f46d-4b1d-a154-2e85c396ea62Equinix-assigned connection identifier.
namestringMY_CONNECTIONName of the connection.
operationobject-Operation status.
operation.equinixStatusstringPROVISIONINGStatus of the connection on Equinix's end.
operation.providerStatusstringNOT_AVAILABLEStatus of the connection on provider's end.
orderobject-Order details.
order.billingTierstringUp to 1 GbpsBilling tier of the connection bandwidth.
notificationsarrayAn array that has notification details.
notifications.typestringALLType of notification.
notifications.emailsarraytest@equinix.com, test2@equinix.comThe list of emails to be notified.
changeLogobject-A permanent record of asset creation, modification, or deletion.
changeLog.createdBystringtestNEuser2Created by.
changeLog.createdDateTimestring2021-07-15T19:30:29.526ZConnection creation timestamp in the IETF ISO 8601 extended date/time format:
 
YYYY-MM-DDTHH:MM:SS.000+0000
changeLog.updatedBystringtestNEuser2Updated by.
changeLog.updatedDateTimestring2021-07-15T19:30:29.526ZUpdate timestamp in the IETF ISO 8601 extended date/time format:
 
YYYY-MM-DDTHH:MM:SS.000+0000
bandwidthinteger1000Bandwidth of the connection in Mbps.
redundancyobjectObject containing redundancy details.
redundancy.groupstring7a58dd05-f46d-4b1d-a154-2e85c396ea63Unique Id of the redundancy group.
redundancy.prioritystringPRIMARYWhether the connection is PRIMARY or SECONDARY.
aSideobjectObject containing aSide details.
aSide.accessPointobjectObject containing aSide endpoint configuration.
aSide.locationobjectAn object that has the location details of the aSide connection.
location.metroCodestringDCMetro code.
portobjectAn object that has the port details.
port.hrefstringhttps://api.equinix.com/ne/v1/devices/5a58dd05-f46d-4b1d-a154-2e85c396ea63
port.typestringXF_PORTType of port.
port.uuidstring5a58dd05-f46d-4b1d-a154-2e85c396ea63Unique Id of the port.
port.namestringsroy-deviceName of the port.
accessPoint.linkProtocolobjectAn object that has the link protocol.
linkProtocol.typestringDOT1QType of link protocol.
linkProtocol.vlanTaginteger10579Vlan tag.
accessPoint.interfaceobjectObject containing details of the interface.
interface.uuidstring3a58dd05-f46d-4b1d-a154-2e85c396ea62Unique identifier of the interface.
interface.idstring5The interface id of the virtual device that hosts the connection.
interface.typestringCLOUDType of interface.
accessPoint.virtualDeviceobjectAn object that has the virtual device details.
virtualDevice.typestringEDGEType of virtual device.
zSideobjectObject containing zSide details.
zSide.accessPointobjectObject containing zSide endpoint configuration.
accessPoint.networkobjectObject containing network configuration.
network.hrefstringhttps://api.equinix.com/fabric/v4/connections/3a58dd05-f46d-4b1d-a154-2e85c396ea62An absolute URL that returns the network asset.
network.uuidstring3a58dd05-f46d-4b1d-a154-2e85c396ea62Equinix-assigned network identifier.
network.namestringEVPLAN_NETWORKName of the network.
network.platformuuidstring5a58dd05-f46d-4b1d-a154-2e85c396ea69Platform Id.
network.statestringPROVISIONINGStatus of the network.
network.typestringEVPLANType of network.
network.scopestringREGIONALScope of network. LOCAL, REGIONAL, or GLOBAL
network.locationobjectAn object that has the location details of the zSide connection.
location.regionstringAMERzSide location.