Update Bgp Config

Update Bgp Config

Updates the general BGP configuration on an Edge Gateway.

Request
URI
PUT
https://{api_host}/cloudapi/1.0.0/edgeGateways/{gatewayId}/routing/bgp
COPY
Path Parameters
string
externalNetworkId
Required

externalNetworkId

string
externalNetworkId
Required

externalNetworkId


Request Body
ProviderGatewayBgpConfig of type(s) application/json
Required
{
    "enabled": false,
    "ecmp": false,
    "localASNumber": "65546, 1.10",
    "gracefulRestart": {
        "modeValue": "string"
    },
    "version": {
        "version": 0
    }
}
boolean
enabled
Optional

A flag indicating whether BGP configuration is enabled or not. If set to null, will use the default value.

boolean
ecmp
Optional

A flag indicating whether ECMP is enabled or not. If set to null, will use the default value.

string
localASNumber
Optional

BGP AS number to advertise to BGP peers. BGP AS number can be specified in either ASPLAIN or ASDOT formats, like ASPLAIN format :- '65546', ASDOT format :- '1.10'.

gracefulRestart
Optional

Describes current graceful restart configuration mode and timer for BGP configuration on a Provider Gateway.

version
Required

This property describes the current version of the entity. To prevent clients from overwriting each other's changes, update operations must include the version which can be obtained by issuing a GET operation. If the version number on an update call is missing, the operation will be rejected. This is only needed on update calls.

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