I made a topology on Mininet with 2 hosts and diffrent switches, I need to ping from host 1 to host 2 using different paths to compare performances.
So far I wrote a python script for Topology discovery. But My issue is how to define a static route on ryu-controller?
1 Answer 1
You can define that using the addController command in your py script file, defining the controller name, for example, c0, an Ip address to the controller, and the port number.
Here is a sample:
net.addController('c0', controller=Remotecontroller, ip=`127.0.0.1`, port=6653)
answered Aug 1, 2023 at 8:57
Pooya Afshari
391 gold badge1 silver badge11 bronze badges
Sign up to request clarification or add additional context in comments.
Comments
Explore related questions
See similar questions with these tags.