Create Bgp Neighbor
Creates a new BGP neighbor for the Provider Gateway.
Request
URI
POST
https://{api_host}/cloudapi/1.0.0/externalNetworks/{externalNetworkId}/providerGatewayServices/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",
"routeFilteringConfigurations": [
{
"ipAddressTypeFilteringValue": "string",
"active": false,
"inboundRoutesFilterRef": {
"id": "2a4ba9ad-e8d5-409c-8cae-c06910cd9b47",
"name": "string",
"type": "string"
},
"outboundRoutesFilterRef": {
"id": "2a4ba9ad-e8d5-409c-8cae-c06910cd9b47",
"name": "string",
"type": "string"
},
"maximumRoutes": 0
}
],
"localASNumber": "65546",
"asPathModifierType": "string",
"active": false,
"bgpPermissionGroupRef": {
"id": "urn:vcloud:bgpPermissionGroup:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"name": "string",
"accessLevel": "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
Availability
Added in 38.0
On This Page
Provider Gateway Bgp Neighbors Operations
POST
Create Bgp Neighbor
GET
Get Bgp Neighbors
GET
Get Bgp Neighbors Status List