Query OSPF Config (v2.0)
POST/v2.0/api/tenants/:tenant_id/ospfconfigs/query
Query the Open Shortest Path First (OSPF) routing configurations.
Request
Path Parameters
The tenant ID.
- application/json
Body
- Array [
- ]
aggregate Aggregate
The aggregate number of OSPF configs 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 configs deleted for a time frame.
Group the OSPF configs for the query.
List the OSPF configs 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 OspfConfigQueryFilter[]
areas Area[]
Info on the OSPF config areas.
The area over which the OSPF parameters can be applied. Identifier for the area in x.x.x.x format. This is the identifier that each neighbor must accept to be part of the same area.
Possible values: [NORMAL
, STUB
, NSSA
]
The OSPF config area type.
The OSPF config description. Max size = 1024.
The OSPF config ID.
interfaces InterfaceOspfConfig[]
Info on the OSPF config interfaces.
Identifier for the area in x.x.x.x format.
Associated area interface ID.
ospf_config_override OspfGlobalConfig
The global config to override the global configurations for the selected interface.
The Cost range, which is 1 - 65535.
The number of seconds that a neighbor router waits for a hello packet from the device before declaring the router down. range is 1-65535, Default is 40.
The interval in seconds at which the OSPF process sends hello packets to its directly connected neighbors (the range is 1 - 65535; the default is 10).
MD5 Key ID between 1 and 255 and an MD5 Secret of up to 16 characters. The MD5 password you specify will be applied to the messages exchanged with the peer.
The MD5 secret key of 16 characters. The MD5 password specified is applied to the messages exchanged with the peer.
The length of time, in seconds, that OSPF waits to receive a link-state advertisement (LSA) from a neighbor before retransmitting it (the range is 1 - 65535; the default is 5).
The length of time an LSA is delayed seconds before being sent out of an interface (range is 1 - 65535; default is 1).
The OSPF config name. Max size = 128.
The prefix advertisement route map ID.
The prefix advertisement type to LAN.
Redistribute to advertise all the BGP Prefixes into OSPF.
The redistribute BGP Prefix in OSPF route map ID.
The Router ID. IP address and ION device's OSPF ID.
Local or Global. Local indicates that prefixes will not be advertised.
True or False = the created peer is used or not.
An information field that can be added to identify the OSPF config. Maximum 10 unique tags of length 1024 each are allowed.
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": [
{
"areas": [
{
"area_id": 0,
"area_type": "NORMAL"
}
],
"id": "string",
"interfaces": [
{
"area_id": 0,
"interface_id": "string",
"ospf_config_override": {
"cost": 0,
"dead_interval": 0,
"hello_interval": 0,
"md5_key_id": 0,
"md5_secret": "string",
"retransmit_interval": 0,
"transmit_delay": 0
}
}
],
"name": "string",
"prefix_adv_route_map_id": "string",
"prefix_adv_type_to_lan": "string",
"redistribute_bgp": true,
"redistribute_route_map_id": "string",
"router_id": "string",
"scope": "string",
"shutdown": true,
"tags": [
"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": "INVALID_INPUT"
}
]
}
}