Closed SeanCondon closed 4 years ago
I believe the problem is that the device/watch.go
watcher.Start() function only polls the topo device store (Line 54) when it looks for a list of device controllers to start up.
The whole point is that this device/target is not present in the Topo store, so no Device Controller is ever created for it
Describe the bug When a Set() operation is done on an unconnected device that has not previously been created in the system, the Set() hangs
To Reproduce
onit
tool to create a new cluster - does not matter if simulators are presentExpected behavior The Set() should return and the Device Change should be marked as
COMPLETE
. The system is meant to be able to take new configurations even though there's no devicemy-td
created in the Topology system.Logs, text or screenshots
Running the
onos
CLI in another windows I can see that the Network Change and the Device Change are present, but the Device Change is not complete.Additional context I would expect
translateAndSendChange()
anddoChange()
to be called in thedevice/controller.go
but nothing from its logs show up.