Is there an example for using openflowplugin?

asked 2015-05-22 12:32:51 -0700

kjain gravatar image


I am wondering if there is an example to how to use openflowplugin APIs. I am trying to build an openflow message from scratch



edit retag flag offensive close merge delete


@kjain are you able to use openflowplugin API ?

subhash ( 2015-05-26 00:11:51 -0700 )edit

I am using packetOutBuilder and ActionBuilder APIs. my code compiles successfully. But when I run it, the controller says "Unable to execute command on bundle <number>: The bundle org.opendaylight.controller.pktOut_0.1.0 could not be resolved". Do you think that i am missing some services? I have installed the following ones: odl-openflowjava-all odl-openfloplugin-flow-services Thanks Kavita

kjain ( 2015-05-26 05:15:53 -0700 )edit

@kjain, I am facing issue of import conflict, If you are able to successfully deploy your code to ODL, then could you please check my issue for any suggestion

subhash ( 2015-05-28 05:58:42 -0700 )edit

We might be having the similar issue. Because ODL prints a "Reason" Reason: Missing Constraint: Import-Package: org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.action.rev150203.action.grouping; version='[0.6.0,1.0.0)" on second thought, I will double check my version. May be that I am including something of version 0.6.0, but should include rather 1.0.0. Don't know yet! I will be very happy to help you out with your issue, if I would know what it is! Let me try. :) thanks Kavita

kjain ( 2015-05-28 06:11:21 -0700 )edit