Hi,
It would be nice to have a parameter in the script to choose the OF version to be run. Maybe use OF1.0 by default, and the parameter would be of10 or of13, to choose the version.
To change the version internally, we just need to create the following variable:
sconfig = {'protocols': 'OpenFlow10'} or sconfig = {'protocols': 'OpenFlow13'} #of10 or of13
and then, just call all the switches with that variable:
self.addSwitch(..., **sconfig)
Could you do that @Juanma-Sanchez ? Thank you! 😄