[{"label":"Latest (v37.2)","version":"latest"},{"version":"v37.1"},{"version":"v37.0"},{"version":"v36.3"},{"version":"v36.2"},{"version":"v36.1"},{"version":"v36.0"},{"link":"https://developer.vmware.com/apis/1046/vmware-cloud-director","version":"v35.0"}]
vmware-cloud-director
Get BGP Neighbors
DescriptionRetrieves all BGP neighbors configured for the edge gateway.
Request
URLURL
https://{api_host}/cloudapi/1.0.0/edgeGateways/{gatewayId}/routing/bgp/neighbors
Path Parameters
Path Parameters
string
gatewayId
Required
Authentication
This operation uses the following authentication methods.
Response
Response
Response BodyResponse Body
200 OK
Returns
EdgeBgpNeighbors
of type(s) application/json;version=37.2
{
"values": [
{
"allowASIn": false,
"bfd": {
"bfdInterval": 0,
"declareDeadMultiple": 0,
"enabled": false
},
"gracefulRestartMode": "DISABLE",
"holdDownTimer": 0,
"id": "string",
"inRoutesFilterRef": {
"id": "2a4ba9ad-e8d5-409c-8cae-c06910cd9b47",
"name": "string"
},
"ipAddressTypeFiltering": "IPV4",
"keepAliveTimer": 0,
"neighborAddress": "10.22.1.100",
"neighborPassword": "string",
"outRoutesFilterRef": {
"id": "2a4ba9ad-e8d5-409c-8cae-c06910cd9b47",
"name": "string"
},
"remoteASNumber": "65546",
"version": {
"version": 0
}
}
]
}
No error details were provided in the OpenAPI specification.
Code SamplesCode Samples
cURL Command
curl https://{api_host}/cloudapi/1.0.0/edgeGateways/{gatewayId}/routing/bgp/neighbors
[{"label":"Latest (v37.2)","version":"latest"},{"version":"v37.1"},{"version":"v37.0"},{"version":"v36.3"},{"version":"v36.2"},{"version":"v36.1"},{"version":"v36.0"},{"link":"https://developer.vmware.com/apis/1046/vmware-cloud-director","version":"v35.0"}]
vmware-cloud-director
Availability
Added in 34.0
Edge Gateway BGP Neighbors Operations
post