Ask is moving to Stack Overflow and! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode

kjain's profile - activity

2018-03-15 11:22:55 -0700 received badge  Famous Question (source)
2016-03-15 03:04:11 -0700 received badge  Notable Question (source)
2015-10-01 14:05:36 -0700 received badge  Popular Question (source)
2015-10-01 14:05:36 -0700 received badge  Notable Question (source)
2015-10-01 14:05:36 -0700 received badge  Famous Question (source)
2015-09-13 22:04:07 -0700 received badge  Famous Question (source)
2015-08-10 02:54:34 -0700 received badge  Notable Question (source)
2015-07-05 22:21:05 -0700 received badge  Famous Question (source)
2015-06-16 04:14:25 -0700 received badge  Popular Question (source)
2015-06-16 04:14:25 -0700 received badge  Notable Question (source)
2015-06-15 21:18:07 -0700 received badge  Popular Question (source)
2015-06-15 03:26:29 -0700 received badge  Popular Question (source)
2015-05-28 23:03:14 -0700 received badge  Notable Question (source)
2015-05-28 06:11:21 -0700 commented question Is there an example for using openflowplugin?

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

2015-05-26 05:15:53 -0700 commented question Is there an example for using openflowplugin?

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

2015-05-26 05:15:53 -0700 received badge  Commentator
2015-05-25 11:31:35 -0700 received badge  Popular Question (source)
2015-05-22 12:32:51 -0700 asked a question Is there an example for using openflowplugin?


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



2015-05-21 09:51:11 -0700 commented question How to use the IMessageListener interface to parse OpenFlow message event?

Did you find a way to do this? I am also trying for the same Thanks Kavita

2015-05-21 06:18:05 -0700 asked a question How do I send of-Pkt-out message from controller?

How can I send a packet-out message with the port field defined as controller_port? I am receiving packets in receiveDataPackets() and then I build a response with a test message. I see the packet with my test message in wireshark. however, the OUTPUT ACTIONS are already there. How can I change the port of the OUTPUT ACTION.

Seems that the controller sends the OUTPUT PACKET automatically in response to the PACKET IN message. Or controller takes the port value from the setOutGoingConnector() routine?

I would appreciate your help



2015-05-19 09:00:23 -0700 asked a question receiveDataPacket() is not receving openflow packets from switch


I am trying to receive openflow packets from switch using receiveDataPacket() routine. My code is like:

@override public PacketResult receiveDataPacke(RawPacket inPkt) { Packet pkt = dataPacketService.decodePacket(inPkt); if (pkt instanceof Ethernet) {

All I see is ethernet type 88cc, while I am expecting Ethernet type 0x800. I can see TCP packets from switch on my controller though

I am simply loading my .jar file with "install file://<file pathname="">" command</file>

Am I missing something here?



2015-05-12 08:37:38 -0700 answered a question How to send OFPT_FEATURES_REQUEST?

I am not sure what you are trying to accomplish here. But it seems to me that you are implementing a OF switch (or at least, the OF switch operations). if so, then you would have to open a TCP connection with ODL at port 6633 and then would have to go through HELLO message. Once the HELLO connection is there, you can send this REATURE_REQUEST message.

2015-05-11 06:16:43 -0700 commented question wanted helium northbound rest apis

I am also trying to do the same. The documented REST API at apidoc website on ODL controller does not work for me. Did it work for you? Please share your experience if you find how to do it

2015-05-11 05:37:41 -0700 commented question How to send all packets to controller??

how do you listen to messages from Controller? I am trying to do the same in python

2015-05-11 05:33:18 -0700 commented question ODL helium 0.2.2 returns 404 Not found with Operational Datastore in GET using cURL

I also had the same issue. Sometimes, the flow entry shows up after few minutes and other times, they don't at all. I tried to flow-dump on switch as well. it seems that switch does not get all the flow entries. Not sure if switch rejected it for some reason. There should be an API which should be able to reveal this. Please let me know if you find something at this front

2015-05-08 12:11:34 -0700 answered a question Settingup Opendaylight Controller

I also had the same problem. therefore, I downloaded the pre-compiled binary and installed it. it works

2015-05-08 12:10:08 -0700 commented question Traffice Engineer in odl

I am trying to do the same. Don't know how to do it. Would you know how the REST APIs at restconf/operations/openflow-protocol work? I tried using the restconf/operations/openflow-protocol:flow-mod one to add a flow entry with flow entry fields. But, it does not work.

2015-05-08 12:07:03 -0700 asked a question How to send a packet-out message to oopendaylight controller


I am wondering if the REST APIs published at "apidoc" on the controller are the right ones. I tried adding a flow entry using the REST API:


But, it did not work. Now, I am trying to send a packet-out message and I am wondering if the REST API at this website would do the job.

Has anyone sent any packet-out message to the controller? I would appreciate your help in this regard



2015-05-08 07:38:38 -0700 received badge  Famous Question (source)
2015-05-06 05:34:13 -0700 received badge  Enthusiast
2015-04-30 06:26:13 -0700 asked a question Cant retrieve a flow entry from python code


I created a flow entry in table2/flow 1000 on my ODL controller (Helium). I successfully see this new entry on controller when I use the REST API on controller itself to retrieve either table2 or table2/flow1000. However, if I try to retrieve the new flow entry from python code, using CURL GET command, the table2 has 0 flow entry and table2/flow1000 is an invalid URL

I would appreciate your opinion on this issue



2015-04-30 05:03:54 -0700 commented question REST API - Flows are replaced on switch

Thanks Nuno for your response. No, it does not have to be CURL. it is just that I am familiar with CURL, therefore, decided to use it. Seems that postman is better than CURL. I can certainly learn postman. Will try and let you know. Thanks again Kavita

2015-04-29 10:21:08 -0700 commented question REST API - Flows are replaced on switch

Hello Nuno Could you please let me know the whole CURL command that you used to add a flow? I am trying to do the same, with the command: curl -u usr/pwd -H "Accept: application/xml" -d "body of the new flow entry" The body of the new flow entry is very similar to yours Thanks Kavita

2015-04-08 20:10:32 -0700 received badge  Famous Question (source)
2015-04-07 19:30:16 -0700 received badge  Notable Question (source)
2015-04-07 09:41:41 -0700 received badge  Notable Question (source)
2015-04-07 09:39:56 -0700 commented answer cant see "distribution" dir under "opendaylight"

Thanks Faizan. it worked. when I started compiling, I ran into the issue of Maven version. after resolving that, it built successfully. Now, I am going to run ./karaf to run opendaylight. Hopefully, it will work nicely. thanks a lot Kavita

2015-04-07 08:21:44 -0700 commented answer cant see "distribution" dir under "opendaylight"

Thanks Faizan for the response. I will try your instructions and will let you know. Really appreciate it a lot Thanks again Kavita

2015-04-07 05:58:51 -0700 answered a question cant see "distribution" dir under "opendaylight"

Thanks for the response. I understand the directory structure.

I tried Git Pull, as you have suggested. it updated from c389b6d to 43b03a8 and still no distribution under opendaylight. under controller/opendaylight, I see the following:

adsal archetype commons config md-sal netconf

Regarding the compilation error, here is the first one: Non-resolvable parent POM: Could not find artifact org.opendaylight.yangtools: binding-parent:pom:0.7.0-SNAPSHOT and "parent.relativePath" points at no local POM @ line 11 and COlumn 11 -> [Help 2]



2015-04-07 05:50:54 -0700 received badge  Popular Question (source)
2015-04-07 05:40:51 -0700 received badge  Popular Question (source)
2015-04-06 11:28:03 -0700 received badge  Editor (source)
2015-04-06 11:23:38 -0700 asked a question cant see "distribution" dir under "opendaylight"

hello I am trying to compile the opendaylight code in Ubuntu. I have installed maven and git-core and have increased the MAVEN memory. after that, I clone the code from . the code gets downloaded in "controller" dir. I see "opendaylight" dir under this. but, there is no "distribution" dir there.

when I try to run the command

mvn clean install

the command fails with pom errors. not sure if it is because of the absence of "distribution" dir

would appreciate any help in this regard



2015-04-06 11:19:50 -0700 asked a question opendaylight compilation errors


I am having the same issue. More than that, I cant see the "distribution" dir under "opendaylight" when I clone the code. I would appreciate any help in this regard