Follow symlinks when assembling the templates

This commit is contained in:
Pim van Pelt
2023-05-31 15:30:40 +00:00
parent 4c3d92008f
commit 8a64c5594a
120 changed files with 1373 additions and 1 deletions

View File

@ -0,0 +1,15 @@
bgpd=yes
ospfd=yes
ospf6d=yes
bfdd=yes
ldpd=yes
vtysh_enable=yes
watchfrr_options="--netns=dataplane"
zebra_options=" -A 127.0.0.1 -s 67108864 -M dplane_fpm_nl"
bgpd_options=" -A 127.0.0.1"
ospfd_options=" -A 127.0.0.1"
ospf6d_options=" -A ::1"
staticd_options="-A 127.0.0.1"
bfdd_options=" -A 127.0.0.1"
ldpd_options=" -A 127.0.0.1"

View File

@ -0,0 +1,71 @@
hostname {{ node.hostname }}
log syslog informational
no ip forwarding
no ipv6 forwarding
service integrated-vtysh-config
{% set loop4 = node.loopback.ipv4.split("/")[0] %}
{% set loop6 = node.loopback.ipv6.split("/")[0] %}
!
ip router-id {{ loop4 }}
!
interface e0
ip ospf area 0
ip ospf network point-to-point
ipv6 ospf6 area 0
ipv6 ospf6 network point-to-point
mpls enable
exit
!
interface e1
ip ospf area 0
ip ospf network point-to-point
ipv6 ospf6 area 0
ipv6 ospf6 network point-to-point
mpls enable
exit
!
interface loop0
ip ospf area 0
ip ospf passive
ipv6 ospf6 area 0
ipv6 ospf6 passive
exit
!
router ospf
exit
!
router ospf6
exit
!
mpls ldp
router-id {{ loop4 }}
dual-stack cisco-interop
ordered-control
!
address-family ipv4
discovery transport-address {{ loop4 }}
label local advertise explicit-null
!
interface e0
exit
!
interface e1
exit
!
exit-address-family
!
address-family ipv6
discovery transport-address {{ loop6 }}
label local advertise explicit-null
ttl-security disable
!
interface e0
exit
!
interface e1
exit
!
exit-address-family
!
exit
!

1
overlays/frr/vpp/etc/vpp Symbolic link
View File

@ -0,0 +1 @@
../../../bird/vpp/etc/vpp/

View File

@ -0,0 +1,7 @@
#!/bin/sh
echo " * Disabling Bird"
for i in bird-dataplane; do
rm -f /etc/systemd/system/multi-user.target.wants/${i}.service
ln -sf /dev/null /etc/systemd/system/${i}.service
done