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 <mhun...@gmail.com> wrote:

> On Wed, 24 Jul 2013 13:46:32 +0800, Baohua Yang <yangbao...@gmail.com>
> wrote:
>
>  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.
>>
>
> When setting up a virtual switch with 'fail_mode=standalone'(the default
> value),
> there would be an openflow rule with priority 0 that matches ALL of the
> packets,
> and applies the 'NORMAL' action. That makes ovs a mac-learning switch. Try
> 'ovs-ofctl dump-flows'.
>
> So what you want could be done by setting up a new openflow rule which has
> a higher
> priority, matches the incoming packets from the specific port(in_port),
> and then
> applies actions other than 'NORMAL'. You could then verify the result
> using 'ovs-appctl fdb/show'.
>
>
>      How to implement this? I check the ovs manual, but find no solution.
>>     Thanks for any suggestion!
>>
>>
>
> --
> regards,
> hunt
> ______________________________**_________________
> discuss mailing list
> discuss@openvswitch.org
> http://openvswitch.org/**mailman/listinfo/discuss<http://openvswitch.org/mailman/listinfo/discuss>
>



-- 
Best wishes!
Baohua
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to