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

monicarajasekaran's profile - activity

2017-10-04 07:41:43 -0800 received badge  Famous Question (source)
2017-05-11 17:18:28 -0800 received badge  Famous Question (source)
2017-04-08 12:55:38 -0800 received badge  Popular Question (source)
2017-01-12 04:57:00 -0800 received badge  Famous Question (source)
2016-07-11 07:45:33 -0800 answered a question mistake by mvn clean install -Dskiptest

Maybe you are making a spelling error ? It is "mvn clean install –DskipTests". You might have missed out on the "s".

2016-07-08 07:42:02 -0800 answered a question Add flow but not working on vSwitch

You need to add a flow for ARP packets in order to get ICMP packets flowing. A flow similar to this will work:

ovs-ofctl add-flow <br-name> dl_type=0x806,dl_dst=ff:ff:ff:ff:ff:ff,actions=Flood

2016-07-06 13:12:46 -0800 commented answer Simplest OpenDaylight Controller?

If you are trying to learn the working of the controller you could develop an application for yourself and invoke it when karaf starts up. And in the implementation part, you could specify how to communicate with a virtual switch. I am not very familiar with using OSGi components.

2016-07-06 09:55:07 -0800 received badge  Famous Question (source)
2016-07-06 09:21:47 -0800 answered a question Simplest OpenDaylight Controller?

From my perspective, Opendaylight is not a simple controller for a beginner. I would recommend that you play with Ryu controller which is fairly easier to understand.

You could create your own application and instruct how it should handle packets and communicate with the virtual switch.

Please refer the following for better understanding: http://ryu.readthedocs.io/en/latest/writing_ryu_app.html
http://sdnhub.org/tutorials/ryu/

2016-07-06 09:15:14 -0800 received badge  Supporter (source)
2016-06-29 12:22:55 -0800 commented answer Cannot Hit web interface

You need to have karaf running to have ODL up. If there is nothing displayed on the topology, it means that your ovs is not connected to the controller. Run karaf and try the same

2016-06-29 12:22:55 -0800 received badge  Commentator
2016-06-28 08:55:29 -0800 answered a question Application Development Tutorial: hello project build failure

If you used the tutorial provided on the opendaylight website, you can just follow https://www.youtube.com/watch?v=2wTEu... for a simple hello world app.

Please make sure to update ~/.m2/settings.xml.

2016-06-28 08:51:10 -0800 answered a question Cannot Hit web interface

This is a very common question floating around beginners.

From the ODL prompt, what features did you install and in what order ? This matters a lot.

As I have mentioned before, please install as below:

feature:install odl-restconf odl-l2switch-switch odl-mdsal-apidocs odl-dlux-core

2016-06-03 14:54:08 -0800 commented answer config REST API not working!

Also try a mvn clean install and "feature:install odl-restconf odl-l2switch-switch odl-mdsal-apidocs odl-dlux-core" in this exact same order.

2016-06-03 14:52:43 -0800 commented answer config REST API not working!

Check these just in case. I used Firefox’s REST Client for PUT operation with settings: URL: http://localhost:8181/restconf/config/opendaylight-inventory-nodes/node/openflow:---/table/0/flow/1 Content-Type: application/xml Accept: application/xml Authentication: admin/admin

2016-06-03 09:34:17 -0800 commented answer config REST API not working!

Do you have problems with other types of REST api calls ? For example, using PUT to add flows to your ovs.

2016-06-03 09:27:35 -0800 answered a question odl dlux hosts not showing

Try adding a "NORAMAL" flow with low priority to OVS and let it learn. Your hosts will show up on Dlux.

2016-06-03 09:23:41 -0800 answered a question config REST API not working!

What are you trying to do using REST ? Add flows ?

If so you might want to check the URL. Mine is : http://localhost:8181/restconf/config...

Do you get any response at all ? If there is an error, please post it.

2016-06-02 13:52:01 -0800 asked a question Message from application to OVS

Hi,

I am aware of how to send the standard messages like packetOut from an ODL application to OVS. I have done the same. But, if I want to send a my own custom message, how do I do that ?

I have already created the message, added message factories, necessary yang augmentations etc.

I just need to SEND the message. I don't want it to do any action on the OVS. Just need an empty custom message to be sent. On the OVS side, I will look at the OF message "type" field and have a corresponding handler function.

My message is called "portDown". I am not able to use .transmitPacket as it accepts only transmitPacketInput and not custom ones (portDownInput).

Any help ?

2016-06-02 09:43:38 -0800 answered a question Packet Out to OVS

If anyone else faces the same problem, you have to setEgress in order to transmit the packet.

.setEgress(nEgressConfRef)

Where nEgressConfRef is of type NodeConnectorRef.

2016-06-01 12:03:59 -0800 received badge  Notable Question (source)
2016-06-01 12:03:46 -0800 received badge  Notable Question (source)
2016-06-01 11:56:29 -0800 answered a question How to get started with my own OpenFlow application

Can you post the exact error you have ? If it is not able to find that particular package, you will have to add the dependency to your application's pom.xml file. For example, right now I have this dependency in my application's pom.xml to include openflowplugin api's:

<dependency> 
  <groupId>org.opendaylight.openflowplugin</groupId> 
  <artifactId>openflowplugin-api</artifactId> 
  <version>0.2.2-SNAPSHOT</version> 
</dependency>
2016-06-01 11:46:37 -0800 asked a question Packet Out to OVS

Hi,

I am using PacketProcessingService.transmitPacket() to send a packet out from my application to my OVS. But I do not see it received on the OVS side. I have configured the right datapath ID on the OVS side. The logic I am using is:

private PacketProcessingService serviceval;
public static final String Testing = "123123123123123123123123123";
BigInteger datapathId = new BigInteger("0123456789abcdef", 16);
InstanceIdentifier<node> nodeInstId = identifierFromDatapathId(datapathId);
TransmitPacketInput input = new TransmitPacketInputBuilder() //
.setNode(new NodeRef(nodeInstId)) //
.setPayload(Testing.getBytes()) //
.build();
serviceval.transmitPacket(input);

Any idea what might be wrong ?

Thanks.

2016-05-31 10:04:28 -0800 received badge  Notable Question (source)
2016-05-26 08:29:07 -0800 commented answer Application Implementation

Hi Karthik, Thanks for that useful info! Do you know how I should get the ProviderContext's session object that was created in onSessionInitiated in my createInstance ? Is there a function to get the current session?

2016-05-25 01:45:57 -0800 received badge  Popular Question (source)
2016-05-24 07:17:59 -0800 commented answer Application Implementation

Hi Karthik, do you mean I should create a new service? I do have a separate service for my application that has been added to Rpc implementation. But If I want to invoke some function every time the application is started, how do i do that?

2016-05-20 08:06:22 -0800 commented question onSessionInitialized sometimes not called

Hi, I am facing the same problem with onsessioninitiated not being called always. Did you find a workaround ? Thanks.

2016-05-20 08:04:33 -0800 asked a question Application Implementation

Hi,

When I start karaf, why is it that the implementation I have written for my application only gets called sometimes and not always?

I even tried starting karaf clean.

Note: “myapp/impl/src/main/java/org/opendaylight/myapp/impl/MyAppProvider.java” has the implementation written under “onSessionInitiated()”

Or is session initiated only once and I have to write my implementation under “MyAppImpl.java” which implements “MyAppService” ??

Thanks

2016-05-16 07:42:43 -0800 received badge  Popular Question (source)
2016-05-12 08:21:21 -0800 received badge  Popular Question (source)
2016-05-06 18:14:24 -0800 received badge  Notable Question (source)
2016-05-06 09:47:55 -0800 commented answer Importing to eclipse

Hi, I resolved some of them but still having problems with the rest. Kindly assist with this question: https://ask.opendaylight.org/question/12097/resolving-dependencies/

2016-05-06 09:46:42 -0800 asked a question Resolving Dependencies

Hi,

Could someone tell me what dependency needs to be added to my pom in order to import classes like, “org.opendaylight.yang.gen.v1.urn.opendaylight.packet.service.rev130709.PacketProcessingService”, “org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeConnectorRef” …?

I only have “openflow.protocol….all the packet builder classes” under urn.opendaylight. I need the above for my application.

2016-05-04 09:35:11 -0800 asked a question Importing to eclipse

Hi,

If i try to import "org.opendaylight.l2switch...." or "org.opendaylight.controller...." or "org.slf4j....." into my "app-impl --> appProvider.java" file in Eclipse, it is not able to recognize and asks me to create a new class in the package "org.opendaylight" . But, I do have l2switch and controller already built and ready for the application.

How do I resolve this ?

Thanks in advance.

2016-04-30 05:13:08 -0800 received badge  Popular Question (source)
2016-04-29 09:01:33 -0800 answered a question Application feature install

Hi,

This got resolved by adding the following to helloapp/karaf/pom.xml,

<dependency>
  <groupId>org.opendaylight.l2switch</groupId>
  <artifactId>features-l2switch</artifactId>
  <classifier>features</classifier>
  <version>0.3.2-SNAPSHOT</version>
  <type>xml</type>
  <scope>runtime</scope>
</dependency>
2016-04-28 10:23:47 -0800 commented answer Application feature install

I don't have a "features" folder in my base directory ODL. The folders are: "bin,configuration,data,deploy,etc,externalapps,helloapp,idmlight.db.mv.db,instances,journal,lib,LICENSE,lock,snapshots,system,version.properties"

2016-04-28 10:22:36 -0800 commented answer Application feature install

But, I still get the following error: [ERROR] 'dependencies.dependency.version' for org.opendaylight.l2switch:features-l2switch:xml:features is missing. @ line 108, column 17

2016-04-28 09:10:47 -0800 asked a question Application feature install

Hi,

I have beryllium set up with a simple application following the developer’s guide.

When I try to do “feature:install odl-l2switch-switch” from my application (/ODL/helloapp/karaf/target/assembly/bin ./karaf), I keep getting the error

“Error executing command: No feature matching odl-l2switch-switch/0.0.0”

But when I try to do the same from the base folder (/ODL/bin ./karaf), it works. How do I fix this to run from my application as well ?

Thanks

2016-04-28 08:37:57 -0800 received badge  Notable Question (source)
2016-04-23 11:11:03 -0800 received badge  Notable Question (source)
2016-04-18 11:39:43 -0800 answered a question Error in clustering: Could not find or load main class org.apache.karaf.main.Main

Hi,

I am having the same problem and nothing seems to work. How did you get this resolved ?

2016-04-18 03:25:06 -0800 received badge  Popular Question (source)
2016-04-13 20:18:43 -0800 received badge  Notable Question (source)
2016-04-13 09:00:20 -0800 answered a question Convert Hydrogen-Module to Helium-Module

Hi,

I am having the same error for installing my custom bundle/application. How did you get it resolved ?

Thanks, Monica