?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 <monica.rajaseka...@us.fujitsu.com> Sent: 03 May 2016 17:13 To: Michal Polkoráb; controller-...@lists.opendaylight.org; openflowplugin-dev@lists.opendaylight.org 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:michal.polko...@pantheon.tech] Sent: Tuesday, May 03, 2016 2:27 AM To: Rajasekaran, Monica <monica.rajaseka...@us.fujitsu.com>; controller-...@lists.opendaylight.org; openflowplugin-dev@lists.opendaylight.org 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) 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 <monica.rajaseka...@us.fujitsu.com<mailto:monica.rajaseka...@us.fujitsu.com>> Sent: 29 April 2016 17:35 To: controller-...@lists.opendaylight.org<mailto:controller-...@lists.opendaylight.org>; openflowplugin-dev@lists.opendaylight.org<mailto:openflowplugin-dev@lists.opendaylight.org> 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 MichalPolkoráb Software Engineer Sídlo / Mlynské Nivy 56 / 821 05 Bratislava / Slovakia R&D centrum / Janka Krála 9 / 974 01 Banská Bystrica / Slovakia +421 918 378 907 / michal.polko...@pantheon.tech<mailto:michal.polko...@pantheon.tech> reception: +421 2 206 65 114 / www.pantheon.sk<http://www.pantheon.sk> [logo] MichalPolkoráb Software Engineer Sídlo / Mlynské Nivy 56 / 821 05 Bratislava / Slovakia R&D centrum / Janka Krála 9 / 974 01 Banská Bystrica / Slovakia +421 918 378 907 / michal.polko...@pantheon.tech reception: +421 2 206 65 114 / www.pantheon.sk [logo]
_______________________________________________ openflowplugin-dev mailing list openflowplugin-dev@lists.opendaylight.org https://lists.opendaylight.org/mailman/listinfo/openflowplugin-dev