Skip to content

Selecting OF switch version for UC2_IITSystem.py Mininet script #4

@ElisaRojas

Description

@ElisaRojas

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! 😄

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions