As mentioned in the manual, giving information on what version of POX you're using and posting the log (usually at debug level) is very helpful.
It sounds like the switches aren't connecting. One possibility with recent versions of POX (maybe just dart) is that the OpenFlow component isn't running. You might try adding "openflow" to your commandline explicitly. -- Murphy On Mar 4, 2014, at 4:13 PM, James Kerr <james.william.k...@gmail.com> wrote: > Hi Everyone > > I'm having problems getting references to connection objects with a > component I wrote. I'm using core.openflow.addListenerByName() to > register ConnectionUp and COnnectionDown methods, but it doesn't seem > to be registering them. When I print core.openflow.connections all I > get is {} > > The problem is definitely something to do with my component, because > when I run pox.py l3_leaning, and a few others, it works fine. When I > just run pox.py myModule, no ConnectionUp events are shown in the log. > And when I check wireshark there are no openflow packets at all. > > I am using mininet, although it doesn't seem to matter what topology I use. > If I try combining components like pox.py l3_learning myModule, > there is still no communication between the controller and the > switches. > > If anyone could shed some light on whats happening, it would be much > appreciated. > > James