faucetsdn / ryu

Ryu component-based software defined networking framework
https://ryu-sdn.org
Apache License 2.0
1.52k stars 1.16k forks source link

How to simulate socket-based communication between switch and Ryu controller ? #178

Open 14vv1A0516 opened 1 year ago

14vv1A0516 commented 1 year ago

I have hosts and APs running in mininet-wifi simulator. My use-case is hosts send custom data to APs. APs forward this data to Ryu controller.

Now, I want to communicate data from AP to Ryu controller and vice-versa. This should work like client and server talking using socket programming. How to simulate this scenario ? I searched but could not find sample codes to make this work.

Earlier, I tried using curl requests but it is not practical.

Can someone please help me ? Thank you.