summaryrefslogtreecommitdiff
path: root/src/conf_mode/flow_accounting_conf.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian.poessinger@rohde-schwarz.com>2021-12-06 17:40:14 +0100
committerGitHub <noreply@github.com>2021-12-06 17:40:14 +0100
commit3e027ddb1f4dfc8f713ebff4553bc97fc9a4ae62 (patch)
treee81caa7ee923ba9e674b50a0cc28102458ca27df /src/conf_mode/flow_accounting_conf.py
parent025f0609cea8591e93b8cb4a7d0256e43e23323b (diff)
parentbb77dd269bfb9522f5b56ac027598ac20e101f13 (diff)
downloadvyos-1x-3e027ddb1f4dfc8f713ebff4553bc97fc9a4ae62.tar.gz
vyos-1x-3e027ddb1f4dfc8f713ebff4553bc97fc9a4ae62.zip
Merge pull request #1099 from sever-sever/T4046
sflow: T4046: Add source-address for sflow
Diffstat (limited to 'src/conf_mode/flow_accounting_conf.py')
-rwxr-xr-xsrc/conf_mode/flow_accounting_conf.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/conf_mode/flow_accounting_conf.py b/src/conf_mode/flow_accounting_conf.py
index 0a4559ade..daad00067 100755
--- a/src/conf_mode/flow_accounting_conf.py
+++ b/src/conf_mode/flow_accounting_conf.py
@@ -169,7 +169,8 @@ def get_config():
'configured': vc.exists('system flow-accounting sflow'),
'agent-address': vc.return_value('system flow-accounting sflow agent-address'),
'sampling-rate': vc.return_value('system flow-accounting sflow sampling-rate'),
- 'servers': None
+ 'servers': None,
+ 'source-address': vc.return_value('system flow-accounting sflow source-address')
},
'netflow': {
'configured': vc.exists('system flow-accounting netflow'),