I have followed the aforementioned link and I'm getting an error about not finding the augmented target using the same yang file content:
Here's my yang: http://pastebin.com/yhFtbBQw [ERROR] Failed to execute goal org.opendaylight.yangtools:yang-maven-plugin:1.0.0-SNAPSHOT:generate-sources (binding) on project of-extension-noviflow-api: yang-to-sources: Unable to parse yang files from /Users/icarocamelo/Development/inocybe/noviflow-plugin/of-extension-noviflow/of-extension-noviflow-api/src/main/yang: Augment target 'Absolute{path=[(urn:opendaylight:openflow:common:action?revision=2015-02-03)actions-container, (urn:opendaylight:openflow:common:action?revision=2015-02-03)action]}' not found [at META-INF/yang/of-extension-noviflow.yang:15:4] Could you please give some insight? On Wed, May 4, 2016 at 4:17 AM, Michal Polkoráb < [email protected]> wrote: > Hi Monica, > > > the steps you have already done ensure only the translation between low > level model (OFJava) and wire protocol. You also need to ensure translation > between > semantic high level model (MD-SAL) and protocol oriented low level model > (OFJava). Please see this wiki page: > https://wiki.opendaylight.org/view/OpenDaylight_OpenFlow_Plugin:Architecture:Extensibility > for > more information & also check *-extension-* modules in openflowplugin. The > combination of openflowplugin code and wiki page should be enough for you > to be able to finish your implementation. > > > Michal > > > ------------------------------ > *From:* Rajasekaran, Monica <[email protected]> > *Sent:* 03 May 2016 17:13 > *To:* Michal Polkoráb; [email protected]; > [email protected] > *Subject:* RE: [controller-dev] New OF message - Serialization and > Deserialization Factories > > > Hi Michal, > > > > Thank you. Once I built that up, I added my new OF message’s details to > openflow-protocol.yang which generated corresponding java files to generate > my packet. And, I created message factories to handle the new message. Is > this all in order to have a custom OF message up and running ? > > > > Note- The message itself has no special functionality. I am just doing > this to understand message flow in the controller in order to develop > further. > > > > *Thanks * > > > > *From:* Michal Polkoráb [mailto:[email protected]] > *Sent:* Tuesday, May 03, 2016 2:27 AM > *To:* Rajasekaran, Monica <[email protected]>; > [email protected]; > [email protected] > *Subject:* Re: [controller-dev] New OF message - Serialization and > Deserialization Factories > > > > Hello Monica, > > > > in order to create corresponding message factories you need to clone > openflowjava (e.g. git clone ssh://{ > username}@git.opendaylight.org:29418/openflowjava > <http://[email protected]:29418/openflowjava>) and build > it. Then you can replace > your openflow-protocol-impl-0.7.1-Beryllium-SR1.jar with the new one. > > > > Regards, > > Michal Polkorab > ------------------------------ > > *From:* Rajasekaran, Monica <[email protected]> > *Sent:* 29 April 2016 17:35 > *To:* [email protected]; > [email protected] > *Subject:* [controller-dev] New OF message - Serialization and > Deserialization Factories > > > > Hi, > > > > As a part of trying to add a new OF message, I added the required > definition to openflow-protocol.yang (which will in turn create the packet > builder files). > > > > As far as I can understand, the next step looks like I should create > corresponding message factories for serialization and deserialization. > > > > But, I am not able to find the correct way to do it. On Github, the java > files are present at > “openflowjava/openflow-protocol-impl/src/main/java/org/opendaylight/openflowjava/protocol/impl/serialization/factories/”. > > > > > I have Beryllium SR1 and that looks different. The path I have is: > “/OPENDAYLIGHT/distribution-karaf-0.4.1-Beryllium-SR1/system/org/opendaylight/openflowjava/openflow-protocol-impl/0.7.1-Beryllium-SR1/openflow-protocol-impl-0.7.1-Beryllium-SR1.jar” > > > > Inside the jar file, there are a bunch of .class files. I do not see the > java files here. Also, I do not see them present anywhere else. Any help on > this? > > > > *Thanks * > > > > Michal*Polkoráb* > > Software Engineer > > > Sídlo / Mlynské Nivy 56 / 821 05 Bratislava / Slovakia > R&D centrum / Janka Kráľa 9 / 974 01 Banská Bystrica / Slovakia > +421 918 378 907 / [email protected] > reception: +421 2 206 65 114 / www.pantheon.sk > > [image: logo] > > > > MichalPolkoráb > > Software Engineer > > > Sídlo / Mlynské Nivy 56 / 821 05 Bratislava / Slovakia > R&D centrum / Janka Kráľa 9 / 974 01 Banská Bystrica / Slovakia > +421 918 378 907 / [email protected] > reception: +421 2 206 65 114 / www.pantheon.sk > > [image: logo] > > > > _______________________________________________ > controller-dev mailing list > [email protected] > https://lists.opendaylight.org/mailman/listinfo/controller-dev > > -- Thanks, Icaro Camelo *Software Developer*
_______________________________________________ openflowplugin-dev mailing list [email protected] https://lists.opendaylight.org/mailman/listinfo/openflowplugin-dev
