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

Ayushi's profile - activity

2017-04-08 12:11:40 -0700 received badge  Notable Question (source)
2017-01-24 08:19:28 -0700 received badge  Popular Question (source)
2016-09-20 20:33:49 -0700 received badge  Popular Question (source)
2016-09-20 20:33:49 -0700 received badge  Notable Question (source)
2016-09-20 20:33:49 -0700 received badge  Famous Question (source)
2016-09-01 11:52:21 -0700 received badge  Popular Question (source)
2016-08-16 00:34:29 -0700 received badge  Famous Question (source)
2016-05-18 06:23:25 -0700 commented answer Error: Unable to push configuration due to missing yang models

hi @subhash ,could you please tell me how did you resolve the above issue "Unable to push configuration due to missing yang models".

2016-05-13 04:04:59 -0700 asked a question how to send openflow vendor message in 1.0 to the switch ?

In floodlight ,there is detailed procedure of how to send vendor messag eon to switch . I dont know how to proceed with

sending vendor message to the switch in opendaylight.

2016-05-04 23:13:00 -0700 asked a question How do I send flows to my switch??

Could you please tell me what does salFlowService.addFlow(builder.build()) do

Does it add flows on to my switch ...or some other function needs to be wriiten to finally send flows on to switch . What I mean is like for packet out we use

TransmitPacketInput input = new TransmitPacketInputBuilder() .setPayload(payload) .setNode(new NodeRef(egressNodePath)) .setEgress(egress) .setIngress(ingress) .build()

and finally to send packet out on to switch we use the below function

packetProcessingService.transmitPacket(input); (my packet reaches switch after this function)

so in case of sending flow

AddFlowInputBuilder builder = new AddFlowInputBuilder();

builder.setNode(new NodeRef(nodeInstanceId));

builder.setVersion(x);

builder.setType(y);

builder.setLength(length);

builder.setXid(0L);

builder.setVendordata(vendorData);

builder.setVendorid(1234L);

Here vendorData consists of my flow .

Now I do salFlowService.addFlow(builder.build());

So does it send the flow or it just adds flow ..finally to receive flow on to the switch what do I do ???

2016-05-03 00:09:54 -0700 asked a question How to send experimenter message to switch in opendaylight for openflow 1.0

I know it is to do with augmentation feature of yang .But how do I proceed ? Is there any document which can guide .

2016-04-29 03:44:36 -0700 asked a question Is it possible to get the total length of packet in received and not just payload length

when a packet in is received on controller ,using byte[] payload = packetReceived.getPayload() , we get the payload and then using ( int length = payload.length) , we get the length of payload. What if I want to see the entire length of packet in received? Is there a function like .getPayload(). In flood light we have a function .getTotalLen() but I am unable to find such a function . here I can only get payload and then using .length we get length of payload

2016-04-27 11:27:32 -0700 received badge  Notable Question (source)
2016-04-27 00:11:28 -0700 received badge  Popular Question (source)
2016-04-22 11:11:47 -0700 received badge  Famous Question (source)
2016-04-21 11:05:06 -0700 asked a question I want to fetch the nodeId of my switch .Which function in l2switch code to use?

Hi, Could you tell me what functions are triggered when a switch gets connected to controller and how does it get the node ID of the switch. Where and through what function does the controller keep information about the switch as soon as it gets connected.

2016-04-21 08:56:00 -0700 asked a question Getting the error (Expected state: HANDSHAKING, actual state:RIP)on killing the controller

Exception in thread "Thread-116" java.lang.IllegalStateException: Expected state: HANDSHAKING, actual state:RIP at org.opendaylight.openflowplugin.openflow.md.core.ConnectionConductorImpl.checkState(ConnectionConductorImpl.java:386) at org.opendaylight.openflowplugin.openflow.md.core.ConnectionConductorImpl.onConnectionReady(ConnectionConductorImpl.java:448) at org.opendaylight.openflowjava.protocol.impl.core.connection.ConnectionAdapterImpl$1.run(ConnectionAdapterImpl.java:185) at java.lang.Thread.run(Thread.java:745) Uncaught error from thread [opendaylight-cluster-data-10] shutting down JVM since 'akka.jvm-exit-on-fatal-error' is enabled for ActorSystem[opendaylight-cluster-data] java.lang.LinkageError: org.jboss.netty.util.internal.ByteBufferUtil at

2016-04-21 05:32:02 -0700 commented answer Hi I am new to ODL and I need to create MD-SAl plugin to support packet in ,flow insertion and deletion.

HI @Karthik thanks for the reply .I have got l2switch code and started making changes in EthernetDecoder.java it . Please have a look at my latest query https://ask.opendaylight.org/question/11875/stuck-in-packet-out/

2016-04-21 00:47:58 -0700 commented answer Stuck in packet out

@subhash ,thanks for the reply ..Please find my question

2016-04-20 22:23:58 -0700 received badge  Notable Question (source)
2016-04-20 22:10:40 -0700 commented answer Stuck in packet out

HI @subhash ,Please find the updated code .

2016-04-20 09:39:51 -0700 received badge  Popular Question (source)
2016-04-20 06:34:38 -0700 received badge  Editor (source)
2016-04-20 06:30:32 -0700 answered a question Stuck in packet out

HI Subhash yes thanks I found out the mistake .However even after initializing nodeId I am getting the error.

Exception in thread "Thread-58" java.lang.NullPointerException at org.opendaylight.l2switch.packethandler.decoders.EthernetDecoder.createNodeConnRef(EthernetDecoder.java:182) at org.opendaylight.l2switch.packethandler.decoders.EthernetDecoder.PACKET_OUT(EthernetDecoder.java:232) at org.opendaylight.l2switch.packethandler.decoders.EthernetDecoder.ClassifyPacket(EthernetDecoder.java:283) at org.opendaylight.l2switch.packethandler.decoders.EthernetDecoder$TcpClient.loop(EthernetDecoder.java:334) at org.opendaylight.l2switch.packethandler.decoders.EthernetDecoder$TcpClient.run(EthernetDecoder.java:307)

According to my understanding ,I have included the following functions. In function nodeConnectorAdded I am taking out the nodeId. Please find the functions

setDataChangeListenerRegistration

onDataChanged

nodeConnectorAdded(called inside onDataChanged)

However I think these functions are not being hit as my switch gets connected to controller because of which nodeId is not getting fetched. Once controller will find out the nodeId only then code will proceed . Could you tell me how do we fetch nodeId when switch gets connected or how these functions are called on its own whenever a switch gets onnected.

isPortDown

nodeConnectorAdded

setDataChangeListenerRegistration

onDataChanged

nodeConnectorAdded(called inside onDataChanged)

Please find my updated code at :

http://pastie.org/10806429

2016-04-20 04:39:23 -0700 asked a question Stuck in packet out

what I have done is I got the l2switch code from github . My architecture is ..one of my machines is connected to controller and controller is connected to switch. So everytime a packet comes on switch ,it gets received my controller(odl) and then sends it to my machine which is connected through tcp connection. I have successfully implemented packet in ...I can see my packets coming from switch ,received at controller and controller sending them up to my machine. For this I only made changes in EthernetDecoder.java inside onpacketReceived in packethandler and wrote a new function. Now next what I have to test is receive packet from my machine on to the controller and controller will do the packet out . But I am stuck .I know the packet out code is present in Packetdispatcher.java inside arphandler. However I dont know how to use it .. I want to understand the basics of when to use data broker rpc notificatiob service binding aware . What do I write in inventory ?

2016-04-20 04:39:10 -0700 commented question what maven archetype command should I use to generate the basic skeleton of code architectiure in developing mdsal plugin (Beryllium)from scratch.

Hikarthik Thanks for the reply . Please Have a look at my next question .

2016-04-16 02:41:20 -0700 received badge  Popular Question (source)
2016-04-16 02:41:20 -0700 received badge  Notable Question (source)
2016-04-16 02:41:20 -0700 received badge  Famous Question (source)
2016-04-14 07:12:31 -0700 received badge  Teacher (source)
2016-04-14 03:27:55 -0700 answered a question No karaf base dir found.error while compile odlparent.Help me please.

Run mvn clean install -DskipTests and you will not get the error .

2016-04-14 02:44:37 -0700 commented answer No karaf base dir found.error while compile odlparent.Help me please.

but this solution did not work for me ..I am getting the same error while compiling l2 switch from https://github.com/opendaylight/l2switch/tree/stable/beryllium.Please help

2016-04-14 02:39:22 -0700 received badge  Enthusiast
2016-04-13 07:31:30 -0700 asked a question what maven archetype command should I use to generate the basic skeleton of code architectiure in developing mdsal plugin (Beryllium)from scratch.

The maven archetype I am using is mvn archetype:generate -DarchetypeGroupId=org.opendaylight.controller -DarchetypeArtifactId=opendaylight-startup-archetype \ -DarchetypeRepository=http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/ \ -DarchetypeCatalog=http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/archetype-catalog.xml

But this is generating folders like api features and others .

I need to generate config ,implementation and model same as tapapp application in sdnhub tutorial. What is the maven archetype (latest for beryllium) command to generate it .

2016-04-12 23:18:39 -0700 received badge  Famous Question (source)
2016-04-11 22:58:45 -0700 received badge  Notable Question (source)
2016-04-11 09:13:41 -0700 received badge  Popular Question (source)
2016-04-11 02:32:48 -0700 asked a question Hi I am new to ODL and I need to create MD-SAl plugin to support packet in ,flow insertion and deletion.

Could you guide me from where should I start reading stuff and how should I proceed with writing the plugin . I have downloaded the latest release of ODL(Beryllium).