You should change the version supported in OVSwitch in order to make it work with OF1.3, by default is 1.0
El mié., 13 feb. 2019 08:38, Wajahat Hussain Mir < mir.wajahat.huss...@gmail.com> escribió: > Hi All, > > I am running a python script whose code is shown below and when i'm" > invoking *simple_switch_13.py* on the other side of the terminal i'm > getting the errors as shown below > > unsupported version 0x1. If possible, set the switch to use one of the > versions [4] on datapath ('127.0.0.1', 39050) > unsupported version 0x1. If possible, set the switch to use one of the > versions [4] on datapath ('127.0.0.1', 39051) > unsupported version 0x1. If possible, set the switch to use one of the > versions [4] on datapath ('127.0.0.1', 39052) > unsupported version 0x1. If possible, set the switch to use one of the > versions [4] on datapath ('127.0.0.1', 39053) > > Further when the same python script is run when invoking > *simple_switch.py* it works fine.The Python script is shown below as > > > from mininet.node import * > from mininet.net import Mininet,Link > from mininet.cli import CLI > > net = Mininet( ) > > c1 = net.addController('c1',controller=RemoteController) > > print("Adding Switches") > s1 = net.addSwitch('s1', cls=OVSSwitch, protocols='OpenFlow13') > s2 = net.addSwitch('s2', cls=OVSSwitch, protocols='OpenFlow13') > s3 = net.addSwitch('s3', cls=OVSSwitch, protocols='OpenFlow13') > > print("Adding Host to the Network") > > h1 = net.addHost('h1') > h2 = net.addHost('h2') > h3 = net.addHost('h3') > > print("Adding links to the network") > > net.addLink(h1,s1) > net.addLink(h2,s2) > net.addLink(h3,s3) > net.addLink(s2,s1) > net.addLink(s2,s3) > > c1.start() > net.start() > > print net.pingAll() > > CLI(net) > net.stop() > > > > > > With Regards > Mir Wajahat Hussain > _______________________________________________ > Ryu-devel mailing list > Ryu-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/ryu-devel >
_______________________________________________ Ryu-devel mailing list Ryu-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ryu-devel