Dear Nick,
With your explanation, I tryboth commands, and I get the same result
when I use "sh ovs-vsctl list NetFlow". The targets is just the same,
["192.168.1.2:5556"]. With "list Bridge", I can see that the switch s1
was netflow enabled with both commands.
mininet> sh ovs-vsctl list NetFlow
_uuid : 03ca9977-f48b-47c6-9fea-fd41a1630199
active_timeout : 10
add_id_to_interface : false
engine_id : []
engine_type : []
external_ids : {}
targets : ["192.168.1.2:5556"]
So the 2 commands don't seem to be different. This is on my working
version of ovs right now, not the one that I mentioned earlier, because
I keep building and installing until I get a working one.
Regards,
Duy
On 08/01/2014 09:54 AM, Nicholas Bastin wrote:
On Sun, Jul 27, 2014 at 4:01 AM, Duy Bach Ha <bachha...@gmail.com
<mailto:bachha...@gmail.com>> wrote:
/sh ovs-vsctl -- set Bridge s1 netflow=@nf -- --id=@nf create
NetFlow targets=\"192.168.1.2:5566 <http://192.168.1.2:5566>\"
active-timeout=10/
Assuming your 'sh' is a POSIX 1003.2-compliant shell, you need to
escape the colon in the targets otherwise bad expansion happens. It
shouldn't crash, of course, but that's a different problem. Try this
and see if it works any better:
sh ovs-vsctl -- set Bridge s1 netflow=@nf -- --id=@nf create NetFlow
targets="192.168.1.2\:5556" active-timeout=10
(with appropriate quoting of the actual double quotes depending on
your environment)
--
Nick
--
-------------------
Bach Ha Duy
INFOTECH Master Program
University of Stuttgart, Germany
Filderbahnplatz 31, 70567 Stuttgart/Mohringen
Flat 01 Room No. 03
0152 59757763
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss