Re: Questions about usage/documentation of openflow java library


Madhava Bangera, Raksha <raksha.madhava.bangera@...>
 

Thanks a lot, Michal!

 

From: Michal Rehak -X (mirehak - PANTHEON TECHNOLOGIES at Cisco) [mailto:mirehak@...]
Sent: Thursday, October 15, 2015 12:01 AM
To: Madhava Bangera, Raksha; 'integration-dev@...'; 'openflowjava-dev@...'
Subject: Re: [openflowjava-dev] Questions about usage/documentation of openflow java library

 

Hi Raksha,

in openflow-protocol-api. There is model openflow-protocol-api/src/main/yang/openflow-protocol.yang wherein packet-in is defined. If you build this project then PacketIn, PacketInMessage, PacketInMessageBuilder will be generated. These classes can be found in jar artifact of openflow-protocol-api.

 

Regards,

Michal

 


From: Madhava Bangera, Raksha <raksha.madhava.bangera@...>
Sent: Wednesday, October 14, 2015 19:56
To: Michal Rehak -X (mirehak - PANTHEON TECHNOLOGIES at Cisco); 'integration-dev@...'; 'openflowjava-dev@...'
Subject: RE: [openflowjava-dev] Questions about usage/documentation of openflow java library

 

Hi Michal,

 

Thanks for your help here J.

 

Do you know which library PacketIn object is a part of?

 

Thanks & Regards,

Raksha

 

From: Michal Rehak -X (mirehak - PANTHEON TECHNOLOGIES at Cisco) [mailto:mirehak@...]
Sent: Wednesday, October 14, 2015 8:56 AM
To: Madhava Bangera, Raksha; 'integration-dev@...'; 'openflowjava-dev@...'
Subject: Re: [openflowjava-dev] Questions about usage/documentation of openflow java library

 

Hi Raksha,

I am afraid that ofJava is doing exactly the opposite of your goal. However there is PacketIn object defined (with builder to make the creation more comfortable). But ofJava decodes binary wire protocol to PacketIn and I presume you need to encode PacketIn to binary wire protocol. With flowMods it is the other way round.

 

In OfJava repo there is testing project - simple-client. But it is just a simple machine for sending and checking received binary fragments.

 

 

Regards,

Michal

 


From: openflowjava-dev-bounces@... <openflowjava-dev-bounces@...> on behalf of Madhava Bangera, Raksha <raksha.madhava.bangera@...>
Sent: Wednesday, October 14, 2015 01:22
To: 'integration-dev@...'; 'openflowjava-dev@...'
Subject: [openflowjava-dev] Questions about usage/documentation of openflow java library

 

Hi all,

 

I am working on writing a Java based tool that can benchmark SDN controllers on openflow 1.3 (similar to cbench tool). I am at the point where the program can create fakeswitches and connect to controller.  I want to use  openflowjava library to construct packet-ins and receive the respective flow-mods from the controller. Is there any documentation of how I can use openflowjava library APIs to send hello messages, packet-ins and receive flow-mods. Any pointer to OpenDaylight project files that uses openflowjava library for this functionality would also be helpful.

 

Thanks & Regards,

Raksha

Join {z.archive.openflowjava-dev@lists.opendaylight.org to automatically receive all group messages.