diff options
author | Christian Poessinger <christian.poessinger@rohde-schwarz.com> | 2021-12-06 17:40:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-06 17:40:14 +0100 |
commit | 3e027ddb1f4dfc8f713ebff4553bc97fc9a4ae62 (patch) | |
tree | e81caa7ee923ba9e674b50a0cc28102458ca27df /data | |
parent | 025f0609cea8591e93b8cb4a7d0256e43e23323b (diff) | |
parent | bb77dd269bfb9522f5b56ac027598ac20e101f13 (diff) | |
download | vyos-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 'data')
-rw-r--r-- | data/templates/netflow/uacctd.conf.tmpl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/data/templates/netflow/uacctd.conf.tmpl b/data/templates/netflow/uacctd.conf.tmpl index 1c183bb20..11fc76769 100644 --- a/data/templates/netflow/uacctd.conf.tmpl +++ b/data/templates/netflow/uacctd.conf.tmpl @@ -68,5 +68,8 @@ sfprobe_agentip[sf_{{ server['address'] }}]: {{ templatecfg['sflow']['agent-addr {% if templatecfg['sflow']['sampling-rate'] != none %} sampling_rate[sf_{{ server['address'] }}]: {{ templatecfg['sflow']['sampling-rate'] }} {% endif %} +{% if templatecfg['sflow']['source-address'] != none %} +sfprobe_source_ip[sf_{{ server['address'] }}]: {{ templatecfg['sflow']['source-address'] }} +{% endif %} {% endfor %} {% endif %} |