Hello All,
This question is a bit deep since this question involves how I can modify the
OVS source code itself.
I am trying to create a new functionality on the OVS.
For starters, I created a new functionality in the ovs-ofctl.c file and that
in-turn calls ofctl_flow_mod() to install some custom flows.
So when I call my custom command using ovs-ofctl , the custom flows get added.
Now, I want to port this functionality to communication between the Controller
and the OVS so that I can send messages from pox like
msg = of.ofp_flow_mod()
msg.command = of.OFPFC_CUSTOM_ADD
#NOTICE THIS
msg.actions.append(of.ofp_action_output(port = 4))
self.connection.send(msg)
I have been spending quiet some time figuring out where the packets from the
controller is being received.
I tried logging in all the files containing “OFPFC_ADD”/“OFPFC_MODIFY” and the
only function being is parse_ofp_str__().
And I don’t think that’s much of use to me.
Can someone please give me pointers where I can start tracing and where I can
do the needful .
Thanks,
Jayanth Silesh
Graduate Student
USC
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss