Re: [ovs-discuss] Remove port mirror has problem

2012-07-12 Thread Ben Pfaff
Thank you for the correction. I sent out a patch to fix the manpage. On Thu, Jul 12, 2012 at 12:58:02PM +0800, Kris zhang wrote: > Thanks, Ben. please see the manual page: > http://openvswitch.org/cgi-bin/ovsman.cgi?page=utilities%2Fovs-vsctl.8 > > it says use : > > * > remove Bridge br0 mirror

Re: [ovs-discuss] Remove port mirror has problem

2012-07-11 Thread Kris zhang
Thanks, Ben. please see the manual page: http://openvswitch.org/cgi-bin/ovsman.cgi?page=utilities%2Fovs-vsctl.8 it says use : * remove Bridge br0 mirrors mymirror* BTW, the command you give me is working, but a little change: ovs-vsctl -- --id=@rec get mirror mymirror \ -- remove Bri

Re: [ovs-discuss] Remove port mirror has problem

2012-07-11 Thread Ben Pfaff
On Thu, Jul 12, 2012 at 11:39:24AM +0800, Kris zhang wrote: > But when i use the following the command to remove the mirror: > > * > remove Bridge br0 mirrors mymirror* > > * > * > > I found i can not remove it. so i tried: ovs-vsctl remove Bridge br0 > mirrors mymirror. But it still doesn't wor

[ovs-discuss] Remove port mirror has problem

2012-07-11 Thread Kris zhang
Hi guys, Today I created a port mirror acorrding to the manual of ovs-vsctl: * ovs-vsctl -- set Bridge br0 mirrors=@m \* *-- --id=@eth0 get Port eth0 \* *-- --id=@eth1 get Port eth1 \* *-- --id=@eth2 get Port eth2 \* *-- --id=@m create Mirror name=mymirror select-dst-port=@eth0,@eth1 select-s