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
Nice work. Please do you know how to do this in Ryu controller or any other controller such as floodlight or Opendaylight. Thank you
ReplyDeletehow can swtich send paquet -IN to one controller ??
ReplyDeleteHow can make to one controler receive packet-In and no both controlleur