From 692edf5b1de37fdee2bc861c725d3b0a99ce8d28 Mon Sep 17 00:00:00 2001 From: Viacheslav Hletenko Date: Mon, 17 Feb 2025 12:35:26 +0200 Subject: T7136: sflow check listen address for the vrf Add check list to VRF address for the sFlow agent address --- src/conf_mode/system_sflow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/conf_mode/system_sflow.py b/src/conf_mode/system_sflow.py index 41119b494..a22dac36f 100755 --- a/src/conf_mode/system_sflow.py +++ b/src/conf_mode/system_sflow.py @@ -54,7 +54,7 @@ def verify(sflow): # Check if configured sflow agent-address exist in the system if 'agent_address' in sflow: tmp = sflow['agent_address'] - if not is_addr_assigned(tmp): + if not is_addr_assigned(tmp, include_vrf=True): raise ConfigError( f'Configured "sflow agent-address {tmp}" does not exist in the system!' ) -- cgit v1.2.3