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.


Approve or Reject Connection

How_to_Guide_Usecases_approveconnection_diagram

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. Determine pending connection identifier
Use the Retrieve Connections API request to retrieve a list of pending connections and identify the one you want to approve/reject.

2. Determine Z-side port information
Retrieve your Equinix Fabric ports information using the Get All Ports API request

Step 3: Approve or Reject Connection

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

 POST /fabric/v4/connections/{uuid}/actions
MethodPOST
URL or Endpoint/fabric/v4/connections/{uuid}/actions
HeadersAuthorization, Content-Type
Path Parametersuuid
Query ParametersNot applicable
Body Parameterstype, data, description

Sample curl request - approve connection

curl -X
POST 'https: //api.equinix.com/fabric/v4/connections/3a58dd05-f46d-4b1d-a154-2e85c396ea62/actions'
-H 'content-type: application/json'
-H 'authorization: Bearer qwErtY8zyW1abcdefGHI'
-d '{
"type": "CONNECTION_CREATION_ACCEPTANCE",
"data": {
"zSide": {
"accessPoint": {
"type": "COLO",
"port": {
"uuid": "20d32a80-0d61-4333-bc03-707b591ae2f4"
},
"linkProtocol": {
"type": "QINQ",
"vlanSTag": 1002,
"vlanCTag": 1001
}
}
}
}
}'

Sample curl request - reject connection

curl -X
POST 'https: //api.equinix.com/fabric/v4/connections/3a58dd05-f46d-4b1d-a154-2e85c396ea62/actions'
-H 'content-type: application/json'
-H 'authorization: Bearer qwErtY8zyW1abcdefGHI'
-d '{
"type": "CONNECTION_CREATION_REJECTION",
"description": "Invalid connection update request"
}'

Path parameters

ParameterMandatoryTypeExample ValuesApplicable ValuesDescription
uuidyesstring3a58dd05-f46d-4b1d-a154-2e85c396ea62-Equinix-assigned connection identifier.

Body parameters

ParameterMandatoryTypeExample ValuesApplicable ValuesDescription
typeyesstringCONNECTION_CREATION_ACCEPTANCECONNECTION_CREATION_ACCEPTANCE
CONNECTION_CREATION_REJECTION
Connection management action.

CONNECTION_CREATION_ACCEPTANCE - Approve pending connection.
CONNECTION_CREATION_REJECTION - Reject pending connection.
descriptionnostringInvalid connection update request.-Rejection reason.
dataconditionalobject--Additional data related to the connection action type.

Applicable to CONNECTION_CREATION_ACCEPTANCE
 
data
zSideyesobject--Z-side (provider) connection configuration.
 
data.zSide
accessPointyesobject--Connection endpoint configuration.
 
data.zSide.accessPoint
typeyesstringCOLOCOLOAccess point type.
portyesobject--Port associated with the connection.
linkProtocolyesobject--Link protocol configuration.
 
data.zSide.accessPoint.port
uuidyesstring20d32a80-0d61-4333-bc03-707b591ae2f4-Equinix-assigned port identifier.
 
data.zSide.accessPoint.linkProtocol
typeyesstringQINQDOT1Q
QINQ
Link protocol type.
vlanTagyesinteger1001Range: 2-4094DOT1Q protocol VLAN tag. 
vlanSTagyesinteger1002Range: 2-4094QINQ protocol, inner (customer) VLAN frame tag used to identify packets as they traverse trunk lines.
 
vlanCTagyesinteger1001Range: 2-4094QINQ protocol, outer (service) VLAN frame tag used to identify packets as they traverse trunk lines.
 

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


Sample response - approve connection

{
"href": "https://api.equinix.com/fabric/v4/connections/3a58dd05-f46d-4b1d-a154-2e85c396ea62",
"type": "EVPL_VC",
"uuid": "3a58dd05-f46d-4b1d-a154-2e85c396ea62",
"state": "PROVISIONED",
"name": "Conn-Name-2",
"order": {
"purchaseOrderNumber": "1-129105284100",
"billingTier": "Up to 1 Gbps"
},
"bandwidth": 1000,
"change": {
"uuid": "da6a1a0b-0872-4c06-b9d7-5c8ee3056775",
"type": "CONNECTION_CREATION",
"status": "APPROVED",
"createdDateTime": "2021-12-12T06:00:01.183Z",
},
"redundancy": {
"group": "m167f685-41b0-1b07-6de0-320a5c00abeu",
"priority": "PRIMARY"
},
"aSide": {
"accessPoint": {
"type": "COLO",
"port": {
"href": "https://api.equinix.com/fabric/v4/ports/a867f685-41b0-1b07-6de0-320a5c00abdd",
"type": "XF_PORT",
"uuid": "a867f685-41b0-1b07-6de0-320a5c00abdd"
},
"linkProtocol": {
"type": "DOT1Q",
"vlanTag": 1001
}
}
},
"zSide": {
"accessPoint": {
"type": "SP",
"profile": {
"href": "https://api.equinix.com/fabric/v4/ports/a867f685-41b0-1b07-6de0-320a5c00abdd",
"type": "L2_Profile",
"uuid": "20d32a80-0d61-4333-bc03-707b591ae2f4"
},
"location": {
"href": "https://api.equinix.com/v4/metros/SV",
"metrocode": "SV",
"region": "AMER"
},
"port": {
"href": "https://api.equinix.com/fabric/v4/ports/c791f8cb-5ae1-ae10-8ce0-306a5c00a4ee",
"uuid": "c791f8cb-5ae1-ae10-8ce0-306a5c00a4ee",
"name": "testBuyer-FR4-L-Dot1q-STD-PRI-10G-JN-489"
},
"linkProtocol": {
"type": "DOT1Q",
"vlanTag": 837
}
}
},
"notifications": [
{
"type": "ALL",
"emails": [
"test@equinix.com",
"test@equinix.com"
]
}
],
"operation": {
"equinixStatus": "PROVISIONED",
"providerStatus": "PROVISIONED"
},
"changeLog": {
"createdDateTime": "2021-07-15T19:30:29.526Z",
"updatedDateTime": "2021-08-15T19:30:29.526Z",
}
}

Response payload body description

ParameterTypeExample valuesDescription
hrefstringhttps://api.equinix.com/fabric/v4/connections/3a58dd05-f46d-4b1d-a154-2e85c396ea62An absolute URL that returns the specified connection.
typestringEVPL_VCConnection type.

EVPL_VC - Ethernet virtual private line connection type used for tagged layer 2 connections.  
uuidstring3a58dd05-f46d-4b1d-a154-2e85c396ea62Equinix-assigned connection identifier.  
statestringPROVISIONINGLifecycle stage of a connection.
namestringConn-Name-2Connection name.
orderobject-Order details.
bandwidthinteger1000Connection bandwidth in Mbps.
changeobject-Connection update details.
redundancyobject-Redundancy details.
aSideobject-Connection source definition.
zSideobject-Connection destination definition.
notificationsarray[object]-Subscriber preferences for notification of changes in asset configuration or status.
operationobject-Connection operational data.
changeLogobject-A permanent record of asset creation, modification, or deletion.
 
order
purchaseOrderNumberstring1-129105284100Subscriber's purchase order identifier.
billingTierstringUp to 1 GbpsBilling tier for connection bandwidth.
 
change
typestringCONNECTION_CREATIONConnection change action.
statusstringAPPROVEDConnection change status.
createdDateTimestring2021-07-15T19:30:29.526ZConnection change timestamp in the IETF ISO 8601 extended date/time format:
 
YYYY-MM-DDTHH:MM:SS.000+0000
 
redundancy
groupstringm167f685-41b0-1b07-6de0-320a5c00abeuUnique Id of the redundancy group.
prioritystringPRIMARYWhether the connection is PRIMARY or SECONDARY.
 
aSide
accessPointobject-Connection endpoint configuration.
 
aSide.accessPoint
typestringCOLOConnection endpoint type.

COLO - Colocation space in an IBX data center.
portobject-Port associated with the connection.
linkProtocolobject-Link protocol configuration.
 
aSide.accessPoint.port
hrefstringhttps://api.equinix.com/fabric/v4/ports/a867f685-41b0-1b07-6de0-320a5c00abddAn absolute URL that returns the specified port.
typestringXF_PORTType of port.

XF_PORT - Equinix Fabric port used as a Fabric connection endpoint.
uuidstringa867f685-41b0-1b07-6de0-320a5c00abddEquinix-assigned port identifier.
 
aSide.accessPoint.linkProtocol
typestringDOT1QLink protocol type.
vlanTaginteger1001DOT1Q protocol VLAN tag. 
 
zSide
accessPointobject-Connection endpoint configuration.
 
zSide.accessPoint
typestringSP

Connection endpoint type.

SP - Service profile.

profileobject-The service profile associated with this access point.
portobject-Port associated with the connection.
linkProtocolobject-Link protocol configuration.
locationobject-Access point location information.
 
zSide.accessPoint.profile
hrefstringhttps://api.equinix.com/fabric/v4/services/serviceProfiles/20d32a80-0d61-4333-bc03-707b591ae2f5An absolute URL that returns the specified service profile.
typestringL2_PROFILEService profile type.

L2_PROFILE - layer 2 service profile for establishing connections in layer 2 of the OSI networking model.
uuidstring20d32a80-0d61-4333-bc03-707b591ae2f5Unique identifier assigned to the service profile associated with this access point.
 
zSide.accessPoint.port
hrefstringhttps://api.equinix.com/fabric/v4/ports/c791f8cb-5ae1-ae10-8ce0-306a5c00a4eeAn absolute URL that returns the specified port.
uuidstringc791f8cb-5ae1-ae10-8ce0-306a5c00a4eeEquinix-assigned port identifier.
namestringtestBuyer-BL1-L-Dot1q-STD-PRI-10G-JN-730Equinix-assigned port name.
 
zSide.accessPoint.linkProtocol
typestringDOT1QLink protocol type.
vlanTaginteger1000DOT1Q protocol VLAN tag.
 
zSide.accessPoint.location
hrefstringhttps://api.equinix.com/v4/metros/SVAn absolute URL that returns the specified metro.
metroCodestringSVMetropolitan area identifier.
regionstringAMERBroad geographic area in which a specified Equinix asset is located.
 
notifications
typestringALLNotification preferences for a specified asset, such as a service token, port, access point, or profile.
emailsarray[string]["test@equinix.com"]List of recipients.
 
operation
equinixStatusstringPROVISIONEDProgress towards provisioning a specified connection.
providerStatusstringPROVISIONEDProvider's progress towards provisioning a specified connection.
 
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
updatedDateTimestring2021-08-15T19:30:29.526ZConnection creation timestamp in the IETF ISO 8601 extended date/time format:
 
YYYY-MM-DDTHH:MM:SS.000+0000