After upgrading to ifupdown to ifupdown2 (as part of PVE7), I have a problem to configure NetFlow with ovs_extra in /etc/network/interfaces. Following statement worked in ifupdown:
In ifupdown2 this results in following error and the bridge does not come up:
The targets parameter expects are string. I tried: targets="\"10.0.20.20:9995\"" or targets="10.0.20.20:9995" which results errors as well.
Anybody knows the correct syntax?
Best Dirk
Code:
ovs_extra --id=@nf create NetFlow targets=\"10.0.20.20:9995\" active_timeout=60 -- set Bridge vmbr0 netflow=@nf
In ifupdown2 this results in following error and the bridge does not come up:
Code:
ovs|00001|vsctl|INFO|Called as /usr/bin/ovs-vsctl ... --id=@nf create NetFlow targets= "10.0.20.20:9995 " active_timeout=60 -- set Bridge vmbr0 netflow=@nf
ovs|00002|db_ctl_base|ERR|targets=: argument does not end in "=" followed by a value.
The targets parameter expects are string. I tried: targets="\"10.0.20.20:9995\"" or targets="10.0.20.20:9995" which results errors as well.
Code:
ovs|00002|db_ctl_base|ERR| 10.0.20.20:9995: unexpected ":" parsing set of 1 or more strings
Anybody knows the correct syntax?
Best Dirk