On Tue, Sep 25, 2012 at 03:57:11PM -0400, Em Iscreant wrote:
> I am trying to add multiple mirrors on a bridge.  I was able to do
> this easily on previous version of open-vswitch, but with an recent
> open-vswitch upgrade my reliable recipe no longer works.  Now, I am
> using the following command:
> 
> sudo ovs-vsctl -- set Bridge ent_switch mirrors=@m -- --id=@eth0 get
> Port eth0 -- --id=@ni get Port ni_ent_mon_if -- --id=@m create Mirror
> name=ni-ent select-src-port=@eth0 output-port=@ni
> 
> This works, but now the second command simply overwrites it in the database:
> 
> sudo ovs-vsctl -- set Bridge ent_switch mirrors=@m -- --id=@eth0 get
> Port eth0 -- --id=@ntop get Port ntop_ent_mon_if -- --id=@m create
> Mirror name=ntop-ent select-src-port=@eth0 output-port=@ntop
> 
> I seem to recall reading that a bridge could support up to 32 mirrors.
>  So how do amend the second command to add, rather than replace, a
> mirror?

At first glance: just change "set" to "add" in the second command.
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to