Forum Discussion
API_User
3 years agoEquinix Employee
Error when setting up multiple connections
I sent a request to setup a primary and secondary connection with the body containing data structured like the following:
{
"data": [
{
"type": "EVPL_VC"
},
...
API_User
3 years agoEquinix Employee
Here is the structure of the request body with dummy values used:
{
"data": [
{
"name": "abc-p",
"type": "EVPL_VC",
"order": {
"purchaseOrderNumber": "1234"
},
"bandwidth": 1000,
"redundancy": {
"group": "12345676-abcd-ef12-3456-7890abcdef10",
"priority": "PRIMARY"
},
"aSide": {
"accessPoint": {
"type": "COLO",
"port": {
"uuid": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"
},
"linkProtocol": {
"type": "DOT1Q",
"vlanTag": 3456
}
}
},
"zSide": {
"accessPoint": {
"type": "SP",
"profile": {
"uuid": "11111111-2222-3333-4444-555555555555"
},
"location": {
"metroCode": "SV"
},
"linkProtocol": {
"type": "QINQ",
"vlanCTag": 3456
},
"authenticationKey": "11111111-aaaa-bbbb-cccc-222222222222",
"peeringType": "PRIVATE"
}
},
"notifications": [
{
"type": "ALL",
"emails": [
"foo@bar.com"
]
}
]
},
{
"name": "abc-s",
"type": "EVPL_VC",
"order": {
"purchaseOrderNumber": "1234"
},
"bandwidth": 1000,
"redundancy": {
"group": "12345676-abcd-ef12-3456-7890abcdef10",
"priority": "SECONDARY"
},
"aSide": {
"accessPoint": {
"type": "COLO",
"port": {
"uuid": "abcdefff-1111-aaaa-2222-fedcbaabcdef"
},
"linkProtocol": {
"type": "DOT1Q",
"vlanTag": 3456
}
}
},
"zSide": {
"accessPoint": {
"type": "SP",
"profile": {
"uuid": "12345678-0123-5678-9012-345678901234"
},
"location": {
"metroCode": "SV"
},
"linkProtocol": {
"type": "QINQ",
"vlanCTag": 3456
},
"authenticationKey": "beefbeef-beef-beef-beef-beefbeefbeef",
"peeringType": "PRIVATE"
}
},
"notifications": [
{
"type": "ALL",
"emails": [
"foo@bar.com"
]
}
]
}
]
}