Create Bgp Neighbor

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, 1.10",
    "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, 1.10",
    "asPathModifierType": "string",
    "active": false,
    "sourceAddresses": [
        "123.0.0.1",
        "198.0.0.10",
        "2008:db8::96"
    ],
    "maxHopLimit": 0,
    "bgpPermissionGroupRef": {
        "id": "urn:vcloud:bgpPermissionGroup:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
        "name": "string",
        "accessLevel": "string"
    }
}
Authentication
This operation uses the following authentication methods.
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=39.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=39.0
{
    "minorErrorCode": "string",
    "message": "string",
    "stackTrace": "string"
}
string
minorErrorCode
Required

minorErrorCode

string
message
Required

message

string
stackTrace
Optional

stackTrace