Get Bgp Neighbors Status
Returns the status of all the BGP neighbors for the Logical Router of the given id. To get BGP neighbors status for the logical router from particular node, parameter "transport_node_id=
logical-router-id
Comma separated list of fields that should be included to result of query
Transport node id
Maximum number of results to return in this page (server may return fewer)
Field by which records are sorted
Opaque cursor to be used for getting next page of records (supplied by current result page)
Data source type.
sort_ascending
Success
{
"_self": {
"rel": "string"
},
"cursor": "string",
"_links": [
{
"action": "string",
"href": "string",
"rel": "string"
}
],
"sort_ascending": false,
"result_count": 0,
"_schema": "string",
"sort_by": "string",
"logical_router_name": "string",
"last_update_timestamp": 0,
"logical_router_id": "string",
"results": [
{
"transport_node": {
"target_display_name": "string",
"is_valid": false,
"target_id": "string",
"target_type": "string"
},
"connection_state": "string",
"neighbor_address": "string",
"messages_sent": 0,
"connection_drop_count": 0,
"remote_port": 0,
"source_address": "string",
"total_in_prefix_count": 0,
"messages_received": 0,
"neighbor_router_id": "string",
"total_out_prefix_count": 0,
"lr_component_id": "string",
"graceful_restart": false,
"remote_as_number": "string",
"announced_capabilities": [
"string"
],
"local_port": 0,
"keep_alive_interval": 0,
"time_since_established": 0,
"hold_time": 0,
"negotiated_capability": [
"string"
],
"established_connection_count": 0
}
]
}
Unexpected error
{
"module_name": "string",
"error_message": "string",
"error_code": 0
}
module_name
error_message
error_code