Re: [ovs-discuss] ovs-controller add flow

2013-04-03 Thread Min Chen
It depends on which controller you're using. If you just wanna see how it looks like adding flows remotely, you should try Floodlight and use its Static Flow Pusher API. Or just use ovs-ofctl: ovs-ofctl add-flow

[ovs-discuss] A little bit confused about netdev, netdev-vport and vport

2012-03-21 Thread Min Chen
Hi all, In the PORTING file, it reads: *lib/netdev-vport.c provides support for "virtual ports" implemented by the > Open vSwitch datapath module for the Linux kernel > netdev-vport.c does not implement its own *recv* function. As in netdev-provider.h: * May be null if not needed, such as for a

[ovs-discuss] how is OFPP_FLOOD handled to insure a packet is only flooded within the same VLAN

2012-03-12 Thread Min Chen
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 =>