I have a small python program which acts like a virtual switch. Now I want to integrate it so that it could be controlled by a openflow controller POX.
I am wondering how would I exchange msg between switch and POX? Do I create a socket and bind it to port 6633(default port POX runs on) and send all the further openflow packets using that socket? How could I "connect" to pox.
What packets I need to send to build and maintain the connection? I receive
INFO:openflow.of_01:[None 1] closed
INFO:openflow.of_01:[None 2] closed
...
every time I sent a openflow packet.how to test my switch without configuring the controller? (lets say i have several switches connecting to one controller, and I wish that they could communicate with each other).