Hello!
At the end I could make it work. I followed the steps of the actions
regarding ARP. I changed where to perform the commit_action function and
moved it to commit_set_nw_action. Now works perfectly. I do not know what
behaviour changes perform this change I did, but the thing that matters is
Any custom actions need to be supported by the datapaths, otherwise they fail
flow setup validation. Linux datapath (kernel module) is part of the linux
kernel sources, but if you need to try out something you can test your feature
with the userspace datapath first, then maybe with the ova-tree
Thanks Jarno for the hints!
I found this function looking for ", struct dpif_op " term in every file.
static void dpif_linux_operate(struct dpif *dpif_, struct dpif_op **ops,
size_t n_ops)
The main lines in that function of my interest are:
dpif_linux_encode_execute(dpif->dp_ifindex, execute, &a
Raúl,
The dip class functions are implemented by the different dip classes. Linux and
Windows data paths are interfaced by lib/dpif-netlink.c and the userspace
datapath is implemented in lib/dpif-netlink.c. You’ll find a class struct with
the local function pointers in those files, just search
Hello again,
At lib/dpif.c in function "dpif_operate" there is a line that is being
called.
dpif->dpif_class->operate(dpif, ops, chunk);
This is possibly the actions are performed, but I have no clue how to know
what function this line leads to.
In lib/dpif-provider.h I can find the definition f
Hello Ben,
Thank you for your answer. Let me correct myself when I said I adapated
parts of "handle_upcalls", I realized I just added debugging lines only (my
bad).
I am trying to do the ovs-vswitchd ofproto/trace command but I am getting
failed connection attempts because "address family is not s
On Thu, Mar 12, 2015 at 09:11:11AM +0100, Raul Suarez Marin wrote:
> I am trying to develop new actions for openvswitch, I have done all my work
> but looks like it does not work.
>
> What I have done:
> -> Enable ovs to read and parse new actions, so they appear on ovs-ofctl
> dump-flows command.
Hello everyone,
I am trying to develop new actions for openvswitch, I have done all my work
but looks like it does not work.
What I have done:
-> Enable ovs to read and parse new actions, so they appear on ovs-ofctl
dump-flows command.
-> Adapted required parts of "handle_upcalls" function
at ofp