Generate flowprobe configs, but add them as a comment so LAB users can optionally enable them

This commit is contained in:
Pim van Pelt
2022-10-20 15:45:05 +02:00
parent 87a50e13c0
commit b63e54c85a
26 changed files with 157 additions and 0 deletions
build/default
hvn0.lab.ipng.ch
vpp0-0
vpp0-1
vpp0-2
vpp0-3
hvn1.lab.ipng.ch
vpp1-0
vpp1-1
vpp1-2
vpp1-3
hvn2.lab.ipng.ch
vpp2-0
vpp2-1
vpp2-2
vpp2-3
overlays/bird/common/etc/vpp

@ -4,5 +4,7 @@ exec /etc/vpp/config/loopback.vpp
exec /etc/vpp/config/interface.vpp
exec /etc/vpp/config/lcp.vpp
comment { exec /etc/vpp/config/flowprobe.vpp }
comment { Allow user to set persistent manual configs }
exec /etc/vpp/config/manual.vpp

@ -0,0 +1,10 @@
comment { Generate full IPFIX stats, send them to lab.ipng.ch }
set ipfix exporter collector 194.1.163.86 src 192.168.10.1 port 4739 path-mtu 1450 template-interval 30
flowprobe params record l2 l3 l4 active 10 passive 60
flowprobe feature add-del GigabitEthernet10/0/0 l2 both
flowprobe feature add-del GigabitEthernet10/0/1 l2 both
flowprobe feature add-del GigabitEthernet10/0/2 l2 both
flowprobe feature add-del GigabitEthernet10/0/3 l2 both