Kytos topology seems to ignore the persistent data for switches while Kytos is running: if you enable a switch and restart the switch while Kytos remains running, the switch will reconnect but with status disabled.
Steps to reproduce:
Start a mininet topology and Start Kytos
kytosd
mn --topo linear,3 --controler=remote
enable all the switches on Kytos and make sure they are enabled:
for i in 1 2 3; do curl -X POST -H '"Content-Type:' 'application/json"' http://127.0.0.1:8181/api/kytos/topology/v3/switches/00:00:00:00:00:00:00:0$i/enable; done
curl -s http://127.0.0.1:8181/api/kytos/topology/v3/switches | jq '.switches[].enabled'
Dear Kytos team,
Kytos topology seems to ignore the persistent data for switches while Kytos is running: if you enable a switch and restart the switch while Kytos remains running, the switch will reconnect but with status disabled.
Steps to reproduce:
Expected result: the links should remain enabled
Actual result:
Looks like the same behavior applies to Links and Interfaces.