Get all OSPF Configs (v2.0)
GET/v2.0/api/tenants/:tenant_id/sites/:site_id/elements/:element_id/ospfconfigs
Lists all the OSPF configurations.
Request
Path Parameters
The tenant ID.
The site ID.
The element ID.
Responses
- 200
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- Array [
- ]
- Array [
- ]
- ]
The actual count.
The ID.
The tenant ID.
items OspfConfig[]
areas Area[]
Areas: Valid
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.
Description: Size(max = 1024, error = DESCRIPTION_EXCEEDS_LIMIT: Description length exceeds limit, min = 0)
Id
interfaces InterfaceOspfConfig[]
Interfaces: Valid
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).
Name: Required(error = NAME_REQD: Please provide resource name.) Size(max = 128, error = NAME_EXCEEDS_LIMIT: Name of the resource exceeds limit., min = 0)
Prefix Adv Route Map Id
Prefix Adv Type To Lan
Redistribute Bgp
Redistribute Route Map Id
Router Id: IPAddress(allowEmpty = true, allowLinkLocal = false, allowNull = true, bcast = DENY, defaultRoute = false, dnsCheck = false, message = OSPF_CONFIG_INVALID_ROUTER_ID, type = IP)
Scope
Shutdown
Tags: ListString(allowDuplicate = false, allowEmpty = true, allowNull = true, length = 1024, listMaxSize = 10, error = INVALID_TAG: Maximum 10 Unique tags of length 1024 each are allowed, noTrim = false, regex = [^,\s]+, required = false)
Vrf Context Id: NotNull(message = OSPF_CONFIG_NO_VRF_CONTEXT)
{
"count": 0,
"id": "string",
"tenant_id": "string",
"items": [
{
"areas": [
{
"area_id": 0,
"area_type": "NORMAL"
}
],
"description": "string",
"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"
}
]
}