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. > -> Adapted required parts of "handle_upcalls" function > at ofproto\ofproto-dpif-upcall.c (and inside functions) > -> Adapted "do_xlate_actions" function at ofproto\ofproto-dpif-xlate.c > > The problem is: > If the new action is not programmed, everything goes as expected. > If the new action is programmed, no packet forwarding is done. > > The last sentence means that I have done all my work, but part of it is > wrong, or that I am still missing something?
I think you've hit the right parts of the code. Try ofproto/trace (see ovs-vswitchd(8)) for some hints. A new action wouldn't normally need any changes in handle_upcalls(). _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev