Re: Questions about usage/documentation of openflow java library
Michal Rehak -X (mirehak - PANTHEON TECHNOLOGIES@Cisco) <mirehak@...>
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.
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
Thanks for your help here J.
Do you know which library PacketIn object is a part of?
Thanks & Regards,
From: Michal Rehak -X (mirehak - PANTHEON TECHNOLOGIES at Cisco) [mailto:mirehak@...]
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.
openflowjava-dev-bounces@... <openflowjava-dev-bounces@...> on behalf of Madhava
Bangera, Raksha <raksha.madhava.bangera@...>
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,