Hi Ben, Thx for your reply. It works perfect with your command. Now I have to find out the correct json syntax, but that should not be a problem via -vjsonrpc.
Greets Daniel > Am 10.02.2016 um 19:23 schrieb Ben Pfaff <b...@ovn.org>: > >> On Wed, Feb 10, 2016 at 02:37:54PM +0100, Daniel Spiekermann wrote: >> I have a short question regarding to the mirror ports. Is ist possible to >> install more than one mirror on an ovs bridge? >> I have a system which hosts 5 vm, all of these vms are connected to br1. The >> interfaces are tap{1…5}, >> When I configure a mirror port (lets say tap4) to capture all traffic of >> tap1, I use this command: >> >> ovs-vsctl -- set Bridge br1 mirrors=@m \ >> -- --id=@src get Port tap1 \ >> -- --id=@mir get Port tap4 \ >> -- --id=@m create Mirror name=ovs_mirror select-dst-port=@src >> select-src-port=@src output-port=@mir >> >> The mirror is created successfully. >> >> After that I try to create a second mirror on br1 with the same command, >> only changed tap1 to tap2 and tap4 to tap3 and the mirror-name. This mirror >> is created, too, but after that I miss my first mirror. >> >> The created uuid of the mirror is different to the first one, so I think ovs >> isn’t able to handle more than one mirror port on a bridge at the same time? > > If you use commands similar to the above twice, the first mirror will be > deleted because you set "mirrors" to just the second mirror. If you > want to add a mirror instead of setting all the mirrors, use: > add Bridge br1 mirrors @m > instead. _______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss