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

Revision history [back]

click to hide/show revision 1
initial version

Helium SR1: Mininet - controller connection issue

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.

Helium SR1: Mininet - controller connection issue

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.