The datapath type of the bridge was already set to netdev, I was wondering whether ovs-dpctl is intended to be used with dpif-linux implementation only or not.
For example, for testing purposes I need to put flows in the userspace datapath flow table, and, being unable to put them with "ovs-dpctl add-flow", I am forced to write a dedicated client which calls the functions defined in dpif.h, considering that the only commands provided by "ovs-appctl dpctl/*" are "dump-dps", "dump-flows", and "show". I know that the work could be done by ovs-ofctl, but I need to work at a lower level. So, can ovs-dpctl work with dpif-netdev? Thank you again for your kindness. Federico Di Domenicantonio > From: [email protected] > Date: Thu, 29 Jan 2015 10:31:33 -0800 > Subject: Re: [ovs-discuss] dpif-netdev usage > To: [email protected] > CC: [email protected] > > On 28 January 2015 at 15:38, Federico Di Domenicantonio > <[email protected]> wrote: > > Hello, > > > > I'm trying to use the userspace-only implementation of Open vSwitch (with > > dpif-netdev datapath). I followed the installation instructions provided, > > but when I start the daemon I get the following error: > > > > |00001|dpif_linux|ERR|Generic Netlink family 'ovs_datapath' does not exist. > > The Open vSwitch kernel module is probably not loaded. > > This is showing that your bridge is trying to use the kernel datapath. > Make sure you have set the datapath_type of the bridge to netdev. > > > > The daemon then starts, I can add bridges with ovs-vsctl, but I fail to > > operate on them with ovs-dpctl, getting the same error (even with a simple > > command like "ovs-dpctl show"). I know that ovs-dpctl is supposed to work > > with kernel datapath, but looking inside it I've noticed that it operates > > with dpif functions, that can be implemented by either dpif-linux and > > dpif-netdev. > > > > In case ovs-dpctl is intended to operate only with kernel datapath, is there > > a tool to do the same with the userspace-only implementation? > > ovs-appctl dpctl/*. I believe they are fairly similar to the ovs-dpctl > commands, but they talk to ovs-vswitchd rather than directly to the > Linux kernel.
_______________________________________________ discuss mailing list [email protected] http://openvswitch.org/mailman/listinfo/discuss
