Controller not connecting to OpenFlow HW Switch

146 views
Skip to first unread message

pjayant

unread,
Nov 14, 2016, 6:40:16 AM11/14/16
to GENI Users
Hi,
I am trying to use the OpenFlow HW switch available on the InstaGENI racks. I followed the steps in the tutorial :


I tried using both the POX Controller and Floodlight Controller. I made changes to the Floodlight Controller such that an OpenFlow version of 1.0 is advertised in the Floodlight Hello Messages. I also configured the Controller to listen to connections on Port 6633 as OpenFlow HW Switches on IG racks support OpenFlow 1.0. However both the POX Controller and Floodlight Controller are unable to connect to the HW Switch. No Switch is Detected when the Controller listens for connections. I made sure that my Controller has a publicly routable IP address. 

The slice name for the Controller is ControllerHW and it is reserved at the aggregate clemson-ig.
The slice name for the Topology is OFHWT3 and it is reserved at the aggregate max-ig.

I am unable to figure out as to why the Switch cannot connect to the Controller. Any help is appreciated.

Here are the logs when the Controller is running:
POX:

pjayant@controller:/tmp/pox$ ./pox.py --verbose forwarding.l2_learning

POX 0.3.0 (dart) / Copyright 2011-2014 James McCauley, et al.

DEBUG:core:POX 0.3.0 (dart) going up...

DEBUG:core:Running on CPython (2.7.6/Jun 22 2015 17:58:13)

DEBUG:core:Platform is Linux-3.13.0-33-generic-x86_64-with-Ubuntu-14.04-trusty

INFO:core:POX 0.3.0 (dart) is up.

DEBUG:openflow.of_01:Listening on 0.0.0.0:6633


FLOODLIGHT:

pjayant@controller:~/floodlight$ java -jar target/floodlight.jar 

2016-11-14 04:30:10.21 INFO  [n.f.c.m.FloodlightModuleLoader] Loading modules from src/main/resources/floodlightdefault.properties

2016-11-14 04:30:10.936 INFO  [n.f.c.i.OFSwitchManager] OpenFlow version OF_10 will be advertised to switches. Supported fallback versions [OF_10]

2016-11-14 04:30:10.941 INFO  [n.f.c.i.OFSwitchManager] Listening for OpenFlow switches on [0.0.0.0]:6633

2016-11-14 04:30:11.571 INFO  [o.s.s.i.r.RPCService] Listening for internal floodlight RPC on 0.0.0.0/0.0.0.0:6642

2016-11-14 04:30:12.157 INFO  [o.r.C.I.Server] Starting the Simple [HTTP/1.1] server on port 8080

2016-11-14 04:30:12.157 INFO  [org.restlet] Starting net.floodlightcontroller.restserver.RestApiServer$RestApplication application

2016-11-14 04:30:19.106 INFO  [n.f.j.JythonServer] Starting DebugServer on :6655

2016-11-14 04:30:26.612 INFO  [n.f.l.i.LinkDiscoveryManager] Sending LLDP packets out of all the enabled ports

2016-11-14 04:30:41.617 INFO  [n.f.l.i.LinkDiscoveryManager] Sending LLDP packets out of all the enabled ports


Regards,
Phaniprakash Jayanthi

syd

unread,
Nov 21, 2016, 2:35:28 PM11/21/16
to GENI Users


On Monday, November 14, 2016 at 6:40:16 AM UTC-5, pjayant wrote:
Hi,
I am trying to use the OpenFlow HW switch available on the InstaGENI racks. I followed the steps in the tutorial :


I tried using both the POX Controller and Floodlight Controller. I made changes to the Floodlight Controller such that an OpenFlow version of 1.0 is advertised in the Floodlight Hello Messages. I also configured the Controller to listen to connections on Port 6633 as OpenFlow HW Switches on IG racks support OpenFlow 1.0. However both the POX Controller and Floodlight Controller are unable to connect to the HW Switch. No Switch is Detected when the Controller listens for connections. I made sure that my Controller has a publicly routable IP address. 

The slice name for the Controller is ControllerHW and it is reserved at the aggregate clemson-ig.
The slice name for the Topology is OFHWT3 and it is reserved at the aggregate max-ig.
There were connectivity issues at clemson-ig but max-ig should have worked just fine. In any case, verify that you have specified the public IP address and correct port number in your rspec. Then give this a try once more and provide feedback.

-Ali 

pjayant

unread,
Nov 30, 2016, 9:09:59 AM11/30/16
to GENI Users
Hi Ali,
I chose a different aggregate and everything works fine. Thanks for your help :)
Regards,
Phani
Reply all
Reply to author
Forward
0 new messages