summaryrefslogtreecommitdiff
path: root/src/conf_mode/flow_accounting_conf.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-10-31 14:42:04 +0100
committerChristian Poessinger <christian@poessinger.com>2021-10-31 14:43:24 +0100
commit893dd69d975c309bfd09976e776c5fa9a5932ef9 (patch)
tree85a554fdb2173b5acf8c64da2c8c7efcd5f8b16c /src/conf_mode/flow_accounting_conf.py
parentf128d54665edf8f6bf834dd412a1b69210d985c4 (diff)
downloadvyos-1x-893dd69d975c309bfd09976e776c5fa9a5932ef9.tar.gz
vyos-1x-893dd69d975c309bfd09976e776c5fa9a5932ef9.zip
netflow: T3953: use warning if "netflow source-ip" does not exist instead of error
(cherry picked from commit 17215846b512851e7df8cdfcfc06c18b1d27f763)
Diffstat (limited to 'src/conf_mode/flow_accounting_conf.py')
-rwxr-xr-xsrc/conf_mode/flow_accounting_conf.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/flow_accounting_conf.py b/src/conf_mode/flow_accounting_conf.py
index 9cae29481..0a4559ade 100755
--- a/src/conf_mode/flow_accounting_conf.py
+++ b/src/conf_mode/flow_accounting_conf.py
@@ -306,7 +306,7 @@ def verify(config):
source_ip_presented = True
break
if not source_ip_presented:
- raise ConfigError("Your \"netflow source-ip\" does not exist in the system")
+ print("Warning: your \"netflow source-ip\" does not exist in the system")
# check if engine-id compatible with selected protocol version
if config['netflow']['engine-id']: