Follow symlinks when assembling the templates
This commit is contained in:
15
overlays/frr/vpp/etc/frr/daemons
Normal file
15
overlays/frr/vpp/etc/frr/daemons
Normal 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"
|
71
overlays/frr/vpp/etc/frr/frr.conf.j2
Normal file
71
overlays/frr/vpp/etc/frr/frr.conf.j2
Normal 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
1
overlays/frr/vpp/etc/vpp
Symbolic link
@ -0,0 +1 @@
|
||||
../../../bird/vpp/etc/vpp/
|
7
overlays/frr/vpp/root/lab-build/disable-bird
Executable file
7
overlays/frr/vpp/root/lab-build/disable-bird
Executable 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
|
Reference in New Issue
Block a user