Troubleshooting
ONOS shows no devices, or the REST API returns an empty device list.
Wait a few seconds after starting triangle_topology.py, then check onos> devices again. If it is still empty, confirm Mininet is running and the openflow app is active.
hosts is empty, or the notebook says a host was not found.
Run pingall in Mininet first. ONOS only learns hosts after it sees traffic from them.
org.onosproject.fwd is active and devices are connected, but pingall still fails.
ONOS may be in a bad state. Run sudo docker restart onos, wait 1–2 minutes, reconnect the ONOS CLI, confirm onos> devices shows all switches as connected, then retry pingall.
Jupyter shows NameError, or the notebook state seems inconsistent.
Run the cells from top to bottom. If you jumped around, restart the kernel and rerun the notebook in order.
I deactivated org.onosproject.fwd, but traffic still works.
Wait a few seconds and check onos> flows again. The old fwd rules may still be present; the exercise should start only after they disappear.
The reroute loop keeps reacting to the same failure over and over.
In Part 4, make sure you save the return value of reroute_once(...) back into path_links. Otherwise the loop keeps watching the old broken path.