Can not set an agent-address in sFlow if VRF is used
Example:
set interfaces ethernet eth2 address '192.168.0.1/24' set interfaces ethernet eth2 vrf 'OVERLAY' set system sflow interface 'vti1' set system sflow interface 'vti2' set system sflow server 192.168.0.10 set system sflow agent-address 192.168.0.1 set system sflow vrf 'OVERLAY' set vrf bind-to-all set vrf name OVERLAY table '300' vyos@vyos# commit Configured "sflow agent-address 192.168.0.1" does not exist in the system! [[system sflow]] failed Commit failed [edit] vyos@vyos#
It seems that the issue is https://github.com/vyos/vyos-1x/blob/current/src/conf_mode/system_sflow.py#L57
Need to add parameters to function is_addr_assigned when VRF is used.