This commit is contained in:
Pim van Pelt
2026-02-22 19:44:04 +00:00
parent 14c20554b8
commit ad72430086
64 changed files with 66 additions and 35 deletions

View File

@@ -4,6 +4,7 @@ exec /etc/vpp/config/loopback.vpp
exec /etc/vpp/config/interface.vpp
exec /etc/vpp/config/lcp.vpp
exec /etc/vpp/config/mpls.vpp
exec /etc/vpp/config/srv6.vpp
exec /etc/vpp/config/sflow.vpp
comment { exec /etc/vpp/config/flowprobe.vpp }

View File

@@ -2,6 +2,4 @@ comment { Create a loopback interface }
create loopback interface instance 0
set interface state loop0 up
set interface ip address loop0 {{ node.loopback.ipv4 }}
set interface ip address loop0 {{ node.loopback.ipv6 }}

View File

@@ -0,0 +1,3 @@
set sr encaps source addr {{ node.loopback.ipv6.split('/')[0] }}
sr localsid address {{ node.srv6 }} behavior end

View File

@@ -7,6 +7,7 @@ protocol static static4 {
protocol static static6 {
ipv6 { export all; };
route {{lab.ipv6}} unreachable;
route {{node.srv6}}/112 unreachable;
# route 2001:db8:cafe::/48 via 2001:db8::1;
}