Hi there,

(1) runs because you run mininet with its default controller (no controller
options), which runs a reference openflow controller which I assume does
some basic forwarding by default (
http://yuba.stanford.edu/foswiki/bin/view/OpenFlow/MininetWalkthrough#Interact_with_Hosts_and_Switches)

(2) is not doing what you want because first you pass invalid options for a
controller to mininet and then you run it with no controller (which causes
the out of range error because mininet looks for the first controller in an
empty array of defined controllers)

What (I think) you are trying to do (correct me if I'm wrong) is you are
trying to connect mininet to a pox controller that is running outside
mininet's VM.
In order to do that you need to start your pox, running whatever components
you want (in this case the port slicer, which would be something like "./pox.py
log.level --DEBUG l2_port_slicer --config=switches.json" as explained in
l2_port_slicer.py, and then run mininet separately, telling it to connect
to the pox instance you just started. So you need to use the "remote"
option to tell it that ( as explained in the bottom of the page here
http://yuba.stanford.edu/foswiki/bin/view/OpenFlow/MininetWalkthrough#Remote_Controller)

On Sat, Nov 24, 2012 at 1:50 PM, shashaankar reddy
<[email protected]>wrote:

> http://www.noxathome.org/x/Murphy/l2_port_slicer.py

Reply via email to