Ask Your Question
0

PacketIn is not coming on Controller

asked 2014-11-18 23:35:42 -0700

Hi, I have downloaded the distribution from https://nexus.opendaylight.org/content/groups/public/org/opendaylight/integration/distribution-karaf/0.2.1-Helium-SR1/distribution-karaf-0.2.1-Helium-SR1.zip . And installed odl-adsal-all odl-adsal-core and odl-openflowplugin-all.

Then I installed my bundle using install file:/home/ubuntu/myapp.jar. It has been installed and started fine.

opendaylight-user@root>list | grep my 266 | Active | 80 | 0.1.0 | myapp
269 | Active | 80 | 1.1.1.Helium-SR1 | dummy-console

opendaylight-user@root>

In myapp,I am using function "receiveDataPacket(RawPacket inPkt)" . and in this function , I am printing some message . But When I start ping , I can see packetIn on wireshak but Seems it is not coming to controller that's why I am not getting any prints. I want to know the following:- 1) Am I missing any of the feature which suppose to install ? 2) Is my approach is correct to get the packetIn ? 3) If not then How can I get packetIn ?

Thanks Devesh

edit retag flag offensive close merge delete

Comments

can you please install feature:odl-adsal-compatibility and see if it works.

Anil Vishnoi ( 2014-11-19 03:11:34 -0700 )edit

Thank you for reply Anil. I have installed install feature:odl-adsal-compatibility-all on karaf, but did not get any success. Seems problem is that , Arp entry is not resolving . I am getting packetIN for (OFP + ARP) and some how my wireshark is not showing me ARP response. Is there any feature which is related to arp-handler on Helium. Thanks Devesh

devverma ( 2014-11-19 03:26:30 -0700 )edit
1

hi , one update here , When I create mininet topology, I get following logs -->> 2014-11-20 12:49:30,957 | WARN | entLoopGroup-6-7 | ResponseExpectedRpcListener | 196 - org.opendaylight.openflowjava.openflow-protocol-impl - 0.5.1.Helium-SR1 | Request for RpcResultKey [xid=275, outputClazz=org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.GetFeaturesOutput] did not receive a response 2014-11-20 12:49:30,958 | WARN | OFHandshake-6-0 | SalRegistrationManager | 198 - org.opendaylight.openflowplugin - 0.0.4.Helium-SR1 | IP address of the node Uri [_value=openflow:1] cannot be obtained. Session is not valid.<<-- Is there any problem with switch or controller connection?

devverma ( 2014-11-19 23:20:21 -0700 )edit

Hi Anil, I have also face similar kind of issue in md-sal while dealing with l2 switch packethandler. Is there any specific feature related to md-sal present in karaf which resolve this issue? i got following messages in log: 2014-12-19 15:31:25,920 | WARN | entLoopGroup-6-2 | ResponseExpectedRpcListener | 231 - org.opendaylight.openflowjava.openflow-protocol-impl - 0.5.0.Helium | Request for RpcResultKey [xid=2995454, outputClazz=org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.GetFeaturesOutput] did not receive a response 2014-12-19 15:31:25,920 | WARN | OFHandshake-9-0 | SalRegistrationManager | 233 - org.opendaylight.openflowplugin - 0.0.3.Helium | IP address of the node Uri [_value=openflow:2] cannot be obtained. Session is not valid.

Ashwini_Mhatre ( 2014-12-19 02:11:32 -0700 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-11-24 06:45:18 -0700

faizan gravatar image

It seems like all required dependencies are not resolved for the class where you used receiveDataPacket(RawPacket inPkt) method after implementing IListenDataPacket interface. Its hard to tell without seeing Activator class and did you set/unset binding ??

edit flag offensive delete publish link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools

Follow
1 follower

Stats

Asked: 2014-11-18 23:35:42 -0700

Seen: 374 times

Last updated: Nov 24 '14