On Mon, Mar 12, 2012 at 6:09 AM, Min Chen <[email protected]> wrote:
> Hi
>
> I am reading the 1.4.0 source code. I want to find out how L2 switch is
> implemented.
>
> lib/learning-switch.c:line 478, make_packet_out is called. I tracked how
> this OFPT_PACKET_OUT type message is handled, and this is what I found:
> handle_openflow
>   => handle_packet_out
>     =>packet_out
>       =>xlate_actions
>         =>do_xlate_actions
>           =>xlate_output_action
>             =>xlate_output_action__
>               =>flood_packets
>                 =>compose_output_action__
>                   =>vsp_realdev_to_vlandev
>
> I thought this last function call is looking for the devs in the same vlan.
> But I need some comments to fully understand this function. Can anyone help?

It doesn't limit it to the same vlan.  If you are using OpenFlow you
have the power to make things behave in non-standard ways but you also
need to implement any existing behavior yourself.
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to