Hi, All

I'm using Open vSwitch together with NOX, and have one problem when adding
one netdev into datapath manually. Following is my procedure:
1. NOX and Open vSwitch are started and they setup connection successfully;
2. I start one VM and use ovs-dpctl to add the tap interface into datapath;
3. I tried to send out packets in the VM using ping;

The problem is that no packet_in event is sent to NOX. Then I checked the
statistics of VM's tap interface(also use ovs-dpctl), it shows all packets
received on the tap interface are lost. I tried to dig the code (latest
development branch) and found the root cause is there is no upcall_pid
(netlink) for the vport. Also I found that netlink pid is maintained by
ovs-vswitchd and passed to vport through set_config method.

So my understanding is only ovs-vswitchd can add interface to datapath if
we want to configure open vswitch as openflow switch, because ovs-dpctl
process could not get netlink pid information from ovs-vswitchd process. Is
it right?

If it is right, how to add netdev interface to datapath if open vswitch is
configured as openflow switch?

Thanks for your help!

Thanks,
Lyon
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to