Create Bgp Neighbor
Creates a new BGP neighbor for the Edge Gateway.
Request
URI
POST
https://{api_host}/cloudapi/1.0.0/edgeGateways/{gatewayId}/routing/bgp/neighbors
COPY
Path Parameters
string
externalNetworkId
Required
externalNetworkId
string
externalNetworkId
Required
externalNetworkId
Request Body
ProviderGatewayBgpNeighbor of type(s) application/json
Optional
This request body class requires all of the following: CommonGatewayBgpNeighbor , InlineProviderGatewayBgpNeighbor1
{
"id": "string",
"neighborAddress": "10.22.1.100",
"remoteASNumber": "65546",
"keepAliveTimer": 0,
"holdDownTimer": 0,
"allowASIn": false,
"neighborPassword": "string",
"inRoutesFilterRef": {
"id": "2a4ba9ad-e8d5-409c-8cae-c06910cd9b47",
"name": "string",
"type": "string"
},
"outRoutesFilterRef": {
"id": "2a4ba9ad-e8d5-409c-8cae-c06910cd9b47",
"name": "string",
"type": "string"
},
"version": {
"version": 0
},
"gracefulRestartModeValue": "string",
"bfd": {
"enabled": false,
"bfdInterval": 0,
"declareDeadMultiple": 0
},
"ipAddressTypeFilteringValue": "string"
}
Responses
202
The request have been accepted and the task to monitor the request is in the Location header.
Operation doesn't return any data structure
400
Invalid configuration.
Returns Error of type(s) */*;version=38.0
{
"minorErrorCode": "string",
"message": "string",
"stackTrace": "string"
}
string
minorErrorCode
Required
minorErrorCode
string
message
Required
message
string
stackTrace
Optional
stackTrace
404
The specified resource was not found
Returns Error of type(s) */*;version=38.0
{
"minorErrorCode": "string",
"message": "string",
"stackTrace": "string"
}
string
minorErrorCode
Required
minorErrorCode
string
message
Required
message
string
stackTrace
Optional
stackTrace
Availability
Added in 34.0
On This Page
Edge Gateway Bgp Neighbors Operations
POST
Create Bgp Neighbor
GET
Get Bgp Neighbors