From e0564b36303488d2033bdf921f54e4180269cdf5 Mon Sep 17 00:00:00 2001 From: Kyle McClammy Date: Thu, 24 Jul 2025 19:20:39 +0000 Subject: T7175: Added VPP option --- src/conf_mode/system_sflow.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/conf_mode/system_sflow.py b/src/conf_mode/system_sflow.py index 86a344ff7..c5fe5641f 100755 --- a/src/conf_mode/system_sflow.py +++ b/src/conf_mode/system_sflow.py @@ -60,7 +60,8 @@ def verify(sflow): ) # Check if at least one interface is configured - if 'interface' not in sflow: + # Skip this check if VPP is enabled + if 'interface' not in sflow and 'vpp' not in sflow: raise ConfigError( 'sFlow requires at least one interface to be configured!') -- cgit v1.2.3