OSPF Instance#
OVERLAY ROUTING → OIOSPF Instances
Open Shortest Path First, or OSPF, is a routing protocol to exchange IP routes. There are two versions of the OSPF protocol:
- Version 2 is configured on IPv4 interfaces and only exchances IPv4 prefixes
- Version 3 is configured on IPv6 interfaces and exchanges both IPv4 and IPv6 prefixes
OSPF sessions are always established between OSPFInterfaces in an OSPFArea, and never operate inter-area. To connect two OSPF areas to each other, an area border router (ABR) configures both areas in the same OSPFInstance. An OSPFInstance is an isolated process with its own Link State Database (LSDB).
Multiple OSPF instances
Not all operating systems support multiple OSPF instances in one network instance
To set up an OSPF instance in the default VRF, use
DefaultOSPFInstanceinstead.
Dependencies#
The OSPFInstance resource has no dependencies.
Referenced resources#
The OSPFInstance does not reference any other resources.
Examples#
Custom Resource Definition#
To browse the Custom Resource Definition go to crd.eda.dev.
OSPFInstance
SPEC
OSPFInstanceSpec defines the desired state of OSPFInstance
-
Selects an address family for OSPFv3. It is mandatory to specify at least one address family when OSPFv3 is selected.
enum: "IPv4Unicast", "IPv6Unicast" -
Enables OSPF instance.
default: false -
The maximum number of ECMP paths (next-hops).
range: 1 to 256 -
Reference bandwidth (in Gbps) for automatic metric calculation.
range: 1 to 3200 -
Configures OSPF timers.
-
LSA Timers configuration.
-
Delay (in milliseconds) to gather LSAs before advertising to neighbors
range: >= 0 -
Minimum interval (in milliseconds) to accept an identical LSA.
range: >= 0 -
Hold interval (in milliseconds) for subsequent LSA regeneration.
range: >= 0 -
Initial delay (in milliseconds) to generate the first instance of LSAs.
range: >= 0 -
Maximum interval (in milliseconds) between two consecutive regenerations (of the same LSA).
range: >= 0
-
-
SPF Timers configuration.
-
Hold interval for subsequent SPF calculations.
range: >= 1 -
Delay (in milliseconds) before an incremental SPF calculation starts.
range: >= 0 -
Initial SPF calculation delay (in milliseconds).
range: >= 0 -
Maximum interval (in milliseconds) between two consecutive SPF calculations.
range: >= 1
-
-
-
OSPF version to use. OSPFv2 is supported over IPv4-enabled interfaces, OSPFv3 over IPv6-enabled interfaces.
enum: "OSPFv2", "OSPFv3"
STATUS
OSPFInstanceStatus defines the observed state of OSPFInstance
-
Indicates the health score of the OSPF Instance.
-
Indicates the reason for the health score.
-
The time when the state of the resource last changed.
-
Operational state of the OSPF Instance.
enum: "Up", "Down", "Degraded", "Unknown"