Skip to content

Commit

Permalink
Cumulus NVUE: Add support for OSPFv2 timers and priority (#1765)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbemmel authored Jan 6, 2025
1 parent f54e4d2 commit 7010bfd
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/module/ospf.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ The following table describes per-platform support of individual router-level OS
| Cisco IOS XE[^18v] ||||||
| Cisco Nexus OS ||||||
| Cumulus Linux ||||||
| Cumulus Linux 5.0 (NVUE) ||||||
| Cumulus Linux 5.x (NVUE) ||||||
| Dell OS10 ([](caveats-os10)) | ||||||
| Fortinet FortiOS |[](caveats-fortios)|||||
| FRR ||||||
Expand Down Expand Up @@ -119,7 +119,7 @@ The following table documents the common interface-level OSPF features:
| Cisco IOS XRv |||||
| Cisco Nexus OS |||||
| Cumulus Linux |||||
| Cumulus Linux 5.0 (NVUE) |||||
| Cumulus Linux 5.x (NVUE) |||||
| Dell OS10 |||||
| Fortinet FortiOS || [](caveats-fortios) |||
| FRR |||||
Expand Down Expand Up @@ -154,6 +154,7 @@ These devices also support optional OSPF interface attributes:
| Cisco IOS XE[^18v] |||||
| Cisco Nexus OS |||||
| Cumulus Linux 4.x |||||
| Cumulus Linux 5.x (NVUE) |||||
| Dell OS10 |||||
| FRR |||||

Expand Down
12 changes: 12 additions & 0 deletions netsim/ansible/templates/ospf/cumulus_nvue.j2
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,18 @@
{% if l.ospf.passive | default(False) %}
passive: on
{% endif %}
{% if l.ospf.timers is defined %}
timers:
{% if l.ospf.timers.dead is defined %}
dead-interval: {{ l.ospf.timers.dead }}
{% endif %}
{% if l.ospf.timers.hello is defined %}
hello-interval: {{ l.ospf.timers.hello }}
{% endif %}
{% endif %}
{% if l.ospf.priority is defined %}
priority: {{ l.ospf.priority }}
{% endif %}
{% endfor %}

{% else %}
Expand Down
2 changes: 2 additions & 0 deletions netsim/devices/cumulus_nvue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ features:
backup_ip: loopback.ipv4 # Use loopback.ipv4 as a backup IP address for peerlink
ospf:
unnumbered: True
timers: True
priority: True
stp:
supported_protocols: [ stp, rstp, pvrst ] # PVRST requires release 5.6.0 or higher
enable_per_port: True
Expand Down

0 comments on commit 7010bfd

Please sign in to comment.