Python script, that uses the OpayDayLIght API, in order to display and even edit topology info.
- Run OpenDayLight
- Run Mininet and connect it to the ODL Controller
i.e.
$ sudo mn --topo=tree,2 --controller=remote,ip=<CONTROLLER_IP>
- Make sure OpenDayLight and Mininet are connected by checking the Topology Tab.You should be able to see the switches and flows of your topology.
- Change Global Variables to your controller's info in odl_script.py. (baseUrl,baseIP)
- Run Script using
$ python odl_script.py
- Enter any option 1-14 or 0 to exit