$ ryu-manager --verbose ryu/app/simple_switch_13.py$ ryu-manager --verbose --ofp-tcp-listen-port 5555 ryu/app/simple_switch_13.py
I have constructed a Mininet Python topology file, chapter13_mininet_1.py, that specifies two controllers with two switches connected to both the controllers. Each switch two hosts connected to :
...net = Mininet( controller=RemoteController, switch=OVSKernelSwitch )c1 = net.addController('c1', controller=RemoteController, ip='127.0.0.1', port=6633)c2 = net.addController('c2', controller=RemoteController, ip='127.0.0.1', port=5555)...s1 = net.addSwitch('s1')s2 = net.addSwitch('s2')...c1.start()c2.start()s1.start([c1,c2])s2.start([c1,c2])...
We can launch the topology:
$ sudo python ...