Use the openflow.nicira
Go inside the POX folder
$sudo python ./pox.py py openflow.nicira forwarding.l2_learning
POX> import pox.openflow.nicira as nx
POX> for connection in core.openflow.connections:
... connection.send(nx.nx_role_request(master="true"))
Example
Two controllers are running in PC1 and PC2
PC1 controller requesting the Master role
Go inside the POX folder
$sudo python ./pox.py py openflow.nicira forwarding.l2_learning
POX> import pox.openflow.nicira as nx
POX> for connection in core.openflow.connections:
... connection.send(nx.nx_role_request(master="true"))
Example
Two controllers are running in PC1 and PC2
PC1 controller requesting the Master role





