diff options
| author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2025-11-03 22:45:28 +0000 |
|---|---|---|
| committer | Viacheslav Hletenko <v.gletenko@vyos.io> | 2025-11-14 15:41:04 +0000 |
| commit | 0cc39141dba576609480f6707d16964de4a8a6bc (patch) | |
| tree | 567f815168e1fb05f40a2f225e9272924b982686 /data | |
| parent | 23e61833f4ac2a0dce040520c1324bab8c025209 (diff) | |
| download | vyos-1x-0cc39141dba576609480f6707d16964de4a8a6bc.tar.gz vyos-1x-0cc39141dba576609480f6707d16964de4a8a6bc.zip | |
T7556: VPP add IPFIX collector configuration
Add VPP IPFIX configuration commands:
```
set vpp ipfix active-timeout '8'
set vpp ipfix collector 192.0.2.2 port '2055'
set vpp ipfix collector 192.0.2.2 source-address '192.0.2.1'
set vpp ipfix flowprobe-record 'l2'
set vpp ipfix flowprobe-record 'l3'
set vpp ipfix flowprobe-record 'l4'
set vpp ipfix inactive-timeout '32'
set vpp ipfix interface eth0
set vpp ipfix interface eth1 direction 'both'
set vpp ipfix interface eth1 flow-variant 'ipv4'
```
Diffstat (limited to 'data')
| -rw-r--r-- | data/config-mode-dependencies/vyos-vpp.json | 1 | ||||
| -rw-r--r-- | data/op-mode-standardized.json | 1 | ||||
| -rw-r--r-- | data/templates/vpp/startup.conf.j2 | 2 |
3 files changed, 4 insertions, 0 deletions
diff --git a/data/config-mode-dependencies/vyos-vpp.json b/data/config-mode-dependencies/vyos-vpp.json index 0f8d6521c..54136f779 100644 --- a/data/config-mode-dependencies/vyos-vpp.json +++ b/data/config-mode-dependencies/vyos-vpp.json @@ -11,6 +11,7 @@ "vpp_interfaces_vxlan": ["vpp_interfaces_vxlan"], "vpp_interfaces_xconnect": ["vpp_interfaces_xconnect"], "vpp_acl": ["vpp_acl"], + "vpp_ipfix": ["vpp_ipfix"], "vpp_nat": ["vpp_nat"], "vpp_nat_cgnat": ["vpp_nat_cgnat"], "vpp_kernel_interface": ["vpp_kernel-interfaces"], diff --git a/data/op-mode-standardized.json b/data/op-mode-standardized.json index 5d3f4a249..d1f23bfb0 100644 --- a/data/op-mode-standardized.json +++ b/data/op-mode-standardized.json @@ -32,5 +32,6 @@ "system.py", "uptime.py", "version.py", +"vpp.py", "vrf.py" ] diff --git a/data/templates/vpp/startup.conf.j2 b/data/templates/vpp/startup.conf.j2 index edfb5b36d..6cec6ae81 100644 --- a/data/templates/vpp/startup.conf.j2 +++ b/data/templates/vpp/startup.conf.j2 @@ -91,6 +91,8 @@ plugins { plugin linux_cp_plugin.so { enable } plugin linux_nl_plugin.so { enable } plugin pppoe_plugin.so { enable } + # Flow + plugin flowprobe_plugin.so { enable } plugin sflow_plugin.so { enable } # NAT uncomment if needed # plugin cnat_plugin.so { enable } |
