Query OSPF Discovered Neighbors (v2.0)
POST/v2.0/api/tenants/:tenant_id/ospfdiscoveredneighbors/query
Queries the OSPF discovered neighbors that match the query parameters.
Request
Path Parameters
The tenant ID.
- application/json
Body
Query Details for OSPF discovered neighbors
- Array [
- ]
aggregate Aggregate
The aggregate number of OSPF discovered neighbors that match the query parameters.
data AggregateData[]
The details of the aggregate data.
Value of the aggregate data.
View the aggregate date.
Field
The name of the query response.
Possible values: [max
, count
, min
, avg
, sum
]
Operator
QoS application aggregate statistics.
The unit.
The destination page.
The number OSPF discovered neighbors deleted for a time frame.
Group the OSPF discovered neighbors for the query.
List the OSPF discovered neighbors by ID.
Return the ID of a specified query in the current session.
The query limit.
The limit.
Retrieve information from a field.
List the fields to query.
The total number of query parameters.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- Array [
- Array [
- ]
- ]
- ]
The actual count.
The deleted number.
The deleted IDs.
Description of the query. Max size = 256.
The ID.
Details of the next query.
The tenant ID.
Total number.
items OspfDiscoveredNeighborFilter[]
The number of OSPF discovered neighbors.
The OSPF discovered neighbor ID.
interfaces InterfaceConfig[]
The interfaces name.
Identifier for the area in x.x.x.x format.
discovered_neighbors DiscoveredNeighbor[]
Info on the discovered neighbors.
The discovered neighbor ID.
Status of the configuration.
Associated area interface ID.
The OSPF config ID.
The attached VRF (Virtual Routing and Forwarding) ID.
{
"count": 0,
"deleted_count": 0,
"deleted_ids": [
"string"
],
"id": "string",
"next_query": {},
"tenant_id": "string",
"total_count": 0,
"items": [
{
"discovered_neighbors_count": 0,
"id": "string",
"interfaces": [
{
"area_id": 0,
"discovered_neighbors": [
{
"neighbor_id": "string",
"status": "string"
}
],
"interface_id": "string"
}
],
"ospf_config_id": "string",
"vrf_context_id": "string"
}
]
}
Bad Request
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
_error ErrorResponse[]
The error code.
The error message.
{
"_error": [
{
"code": "string",
"message": "string"
}
]
}
{
"value": {
"_error": [
{
"code": "OSPF_CONFIG_NOT_FOUND"
}
]
}
}