0

I installed Ryu controller in VM 1 and Mininet in VM 2. I was able to setup the connection between them. I ran a simple Ryu switch application i.e simple_switch.py to ping between hosts and flow rules were installed in virtual switch. I printed logs in verbose mode. These are the following questions I have ?

Since, Ryu controller and mininet switch are connected using TCP connection (sudo mn --topo single,2 --controller remote,ip="ctrlr_IP":6633 ), will I be able to read http packets. How to send user-defined data (say http packet) from host 1 in some format to ryu-controller and read it there to perform some action and send the results back to switch and then to another host 2 ?

I got to know we have to relevant application which reads URL and do some processing at the controller if suppose the controller runs an http server. However, I haven't found relevant code ? I downloaded the code from [https://github.com/faucetsdn/python3-ryu][1] . In ryu/app/ folder, we have codes with respect to restAPI like simple_switch_websocket_13.py, rest_conf_switch.py etc., but when I run them as ryu app and start http server from host 1 and do curl from host 2, I dont see any logs from ryu file.

My final aim is to write a custom Ryu application which receives user-defined data as http or some other protocol packets from host to switch and then ryu controller, do some processing on the data and send back the results to another host say host 2.

Please help me and correct me . Thank you.

mani varma
  • 31
  • 1
  • 4

0 Answers0