This repository was archived by the owner on Jul 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 65
This repository was archived by the owner on Jul 19, 2024. It is now read-only.
OSPF role fixes #46
Copy link
Copy link
Open
Description
Hi Demian
i will start to add issues for the changes I made
Under the OSPF role (roles/underlay-ospf/templates/main.conf.j2 )
The {{ host.loopback.ip }} var is not defined
- router-id {{ host.loopback.ip }};
+ router-id {{ loopback_ip }};
Under the ospf interfaces I add bfd and authentication
{% for neighbor in underlay.neighbors %}
- interface {{ neighbor.interface }};
+ interface {{ neighbor.interface }} {
+ interface-type p2p;
+ hello-interval 3;
+ authentication {
+ md5 2 key "{{ underlay_ospf_pass_hash }}";
+ }
+ bfd-liveness-detection {
+ version automatic;
+ minimum-interval 300;
+ multiplier 3;
+ detection-time {
+ threshold 1000;
+ }
+ }
+ }
+
+
{% endfor %}
For 100g interfaces on qfx10K you have to define the speed in under chassis so I add speed var to the topology
+{% for neighbor in underlay.neighbors %}
+{% if neighbor.speed is defined and neighbor.speed == "100g" %}
+chassis {
+ fpc {{ neighbor.interface.split('/')[-3].split('-')[-1] }} {
+ pic {{ neighbor.interface.split('/')[-2] }} {
+ port {{ neighbor.interface.split('/')[-1] }} {
+ speed 100g;
+ }
+ }
+ }
+}
+{% endif %}
+{% endfor %}
Thanks
Nitzan
Metadata
Metadata
Assignees
Labels
No labels