Ask Your Question
0

Helium SR1: Mininet - controller connection issue

asked 2015-01-25 12:33:48 -0700

Vidya Kirupanidhi gravatar image

updated 2015-01-25 19:33:23 -0700

I am using ubuntu server 14.04.

I downloaded Helium SR1 using "wget https://nexus.opendaylight.org/content/groups/public/org/opendaylight/integration/distribution-karaf/0.2.1-Helium-SR1/distribution-karaf-0.2.1-Helium-SR1.tar.gz" .

I installed the following features after starting the controller ./bin/karaf opendaylight-user@root>feature:install odl-restconf odl-l2switch-switch odl-mdsal-apidocs odl-dlux-core

Now, when I try to connect to the controller using mininet " sudo mn --mac --switch=ovsk,protocols=OpenFlow13 --controller=remote,ip=127.0.0.1,port=6653 --topo=tree,3", I see the following error in the log file:

2015-01-25 12:28:51,157 | INFO | ntLoopGroup-10-8 | TcpChannelInitializer | 234 - org.opendaylight.openflowjava.openflow-protocol-impl - 0.5.1.Helium-SR1 | Incoming connection from (remote address): /127.0.0.1:52159 --> :6653 2015-01-25 12:28:51,157 | INFO | ntLoopGroup-10-8 | TcpChannelInitializer | 234 - org.opendaylight.openflowjava.openflow-protocol-impl - 0.5.1.Helium-SR1 | Incoming connection accepted - building pipeline 2015-01-25 12:28:51,163 | INFO | ntLoopGroup-10-8 | ConnectionAdapterImpl | 234 - org.opendaylight.openflowjava.openflow-protocol-impl - 0.5.1.Helium-SR1 | Hello received / branch 2015-01-25 12:28:51,165 | WARN | ntLoopGroup-10-8 | ResponseExpectedRpcListener | 234 - org.opendaylight.openflowjava.openflow-protocol-impl - 0.5.1.Helium-SR1 | Request for RpcResultKey [xid=83, outputClazz=org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.GetFeaturesOutput] did not receive a response 2015-01-25 12:28:52,939 | WARN | OFHandshake-3-0 | SalRegistrationManager | 236 - org.opendaylight.openflowplugin - 0.0.4.Helium-SR1 | IP address of the node Uri [value=openflow:3] cannot be obtained. Session is not valid. 2015-01-25 12:28:52,939 | WARN | OFHandshake-6-0 | SalRegistrationManager | 236 - org.opendaylight.openflowplugin - 0.0.4.Helium-SR1 | IP address of the node Uri [value=openflow:6] cannot be obtained. Session is not valid.

Mininet version: 2.2.0 OVS version: ovs-vswitchd --version ovs-vswitchd (Open vSwitch) 2.3.1 Compiled Jan 22 2015 06:03:38 OpenFlow versions 0x1:0x1

"pingall" in mininet also fails.

Please help.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2015-02-02 22:10:57 -0700

yijung0325 gravatar image

updated 2015-02-03 19:02:28 -0700

https://ask.opendaylight.org/question/1085/not-able-to-ping-between-hosts-from-mininet-and-odl-helium/

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

I think this one might help. Besides, the Helium is updated to SR2. Maybe the "bug" does not exist in the latest version any more.

edit flag offensive delete publish link more

Comments

Thanks! I got it working in Helium SR1. I downloaded Helium SR1 and did all the configs again and it worked. I am not sure what went wrong during the initial installation.

Vidya Kirupanidhi ( 2015-02-04 09:07:30 -0700 )edit

I had similar problem.. This helped. Thanks @yijung0325

joshiomkarj ( 2015-03-30 02:13:36 -0700 )edit
0

answered 2015-02-10 21:39:44 -0700

deepak gravatar image

sudo mn --switch=ovsk --controller=remote,ip=192.168.56.1,port=6633 --mac --topo single,3 . the port is 6633 try this, it will work. and in karaf feature:install odl-l2switch-switch feature:install odl-l2switch-hosttracker.

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: 2015-01-25 12:33:48 -0700

Seen: 582 times

Last updated: Feb 10 '15