Re: [ovs-discuss] How to turn off mac-learning on specific port

2013-07-25 Thread Baohua Yang
Thanks Ben! Seems the normal action by ovs is a little more complicated than imagining :) May be we need a document explaining the detailed behaviors of these actions (NORMAL, FLOOD, etc). The ovs manual does not say much. On Fri, Jul 26, 2013 at 9:25 AM, Ben Pfaff wrote: > Any normal action re

Re: [ovs-discuss] How to turn off mac-learning on specific port

2013-07-25 Thread Ben Pfaff
Any normal action results in mac learning on the packets processed by the action. On Jul 25, 2013 6:20 PM, "Baohua Yang" wrote: > So any rule in the switch with NORMAL action will result in mac-learning > on all inports? > Or only enable mac-learning at the inport related to the rule? > Thanks! >

Re: [ovs-discuss] How to turn off mac-learning on specific port

2013-07-25 Thread Baohua Yang
So any rule in the switch with NORMAL action will result in mac-learning on all inports? Or only enable mac-learning at the inport related to the rule? Thanks! On Fri, Jul 26, 2013 at 12:31 AM, Ben Pfaff wrote: > Only the "normal" action does MAC learning, so "flood" will not. > > On Thu, Jul 2

Re: [ovs-discuss] How to turn off mac-learning on specific port

2013-07-25 Thread Ben Pfaff
Only the "normal" action does MAC learning, so "flood" will not. On Thu, Jul 25, 2013 at 01:19:06PM +0800, Baohua Yang wrote: > Hi Ben > Thank for your reply! > That rule will flood the flow to all other ports, right? > How can it affect the mac-learning on that port? > Could y

Re: [ovs-discuss] How to turn off mac-learning on specific port

2013-07-24 Thread Baohua Yang
Hi Ben Thank for your reply! That rule will flood the flow to all other ports, right? How can it affect the mac-learning on that port? Could you please explain a little more or give some reference? Thanks! On Wed, Jul 24, 2013 at 11:32 PM, Ben Pfaff wrote: > On Wed, Jul

Re: [ovs-discuss] How to turn off mac-learning on specific port

2013-07-24 Thread Ben Pfaff
On Wed, Jul 24, 2013 at 01:46:32PM +0800, Baohua Yang wrote: > I know that ovsd has a built-in mac-learning switch, and it is > necessary to support the "NORMAL" action. > Now I want to stop the mac-learning on a given port, but other ports > should work normally. > How to implement th

Re: [ovs-discuss] How to turn off mac-learning on specific port

2013-07-24 Thread Baohua Yang
Thanks! That's what I am concerned. I wanna turn off mac-learning on some specific port, while using the NORMAL action at other ports. Seems that's no easy way. On Wed, Jul 24, 2013 at 5:39 PM, huntxu wrote: > On Wed, 24 Jul 2013 17:05:42 +0800, Baohua Yang > wrote: > > Thanks hunt! >> Howeve

Re: [ovs-discuss] How to turn off mac-learning on specific port

2013-07-24 Thread Baohua Yang
Thanks hunt! However, how about when setting failmod=secure? In this mod, only the controller will set rules. e.g., controller can set an Normal action. I guess ovs also learns mac in this case? On Wed, Jul 24, 2013 at 2:37 PM, huntxu wrote: > On Wed, 24 Jul 2013 13:46:32 +0800, Baohua Yang >

[ovs-discuss] How to turn off mac-learning on specific port

2013-07-23 Thread Baohua Yang
Hi,all I know that ovsd has a built-in mac-learning switch, and it is necessary to support the "NORMAL" action. Now I want to stop the mac-learning on a given port, but other ports should work normally. How to implement this? I check the ovs manual, but find no solution. Thanks for