Hello, Junaid,

As far as I know, if you want to simulate  a SDN switch, you should operate
it in the standard way. i.e., feature exchange to set up the channel.

There is a tool named Cbench that can be used to controller performence
test. You can check its code to see the details.

i hole that would be useful for you.


Ivin



2015-10-24 5:01 GMT+08:00 Junaid Ghulam <junaidghul...@gmail.com>:

> Dear All
>
> I am trying to write a python script to send packet_in requests to the
> controller.
>
> At first, I wrote the socket connection and listening code, after that, i
> do not know why the controller terminates the connection directly. Do I
> need to send a registration message with a dpid number. If so, may please
> help me in the suitable packing code to create the message.
>
> Any one knows a similar code that would help me a lot and save my time.
>
> Any help is appreciated.
>
> Junaid
>
>
> _______________________________________________
> openflow-discuss mailing list
> openflow-discuss@lists.stanford.edu
> https://mailman.stanford.edu/mailman/listinfo/openflow-discuss
>
>
_______________________________________________
openflow-discuss mailing list
openflow-discuss@lists.stanford.edu
https://mailman.stanford.edu/mailman/listinfo/openflow-discuss

Reply via email to