set system flow-accounting interface 'eth0' set system flow-accounting interface 'eth1' set system flow-accounting sflow agent-address 'auto' set system flow-accounting sflow server 192.168.0.10 port '6343'
vyos@vyos# commit [ system flow-accounting sflow server 192.168.0.10 ] [ system flow-accounting sflow server 192.168.0.10 port 6343 ] [ system flow-accounting ] Traceback (most recent call last): File "/usr/libexec/vyos/conf_mode/flow_accounting_conf.py", line 372, in <module> apply(config) File "/usr/libexec/vyos/conf_mode/flow_accounting_conf.py", line 363, in apply _iptables_config(config['interfaces']) File "/usr/libexec/vyos/conf_mode/flow_accounting_conf.py", line 109, in _iptables_config active_nflog_rules = _iptables_get_nflog() File "/usr/libexec/vyos/conf_mode/flow_accounting_conf.py", line 85, in _iptables_get_nflog cmd(iptables_command, universal_newlines=True, message='Failed to get flows list') File "/usr/lib/python3/dist-packages/vyos/util.py", line 80, in cmd decode=decode, File "/usr/lib/python3/dist-packages/vyos/util.py", line 50, in popen decoded = tmp.decode(decode) if decode else tmp.decode() AttributeError: 'str' object has no attribute 'decode' [[system flow-accounting]] failed Commit failed