Make the controller run tasks that can collect machine status from each machine.
Instead of changing the MachineStatusSnapshot directly in the siderolink events handler pass these events to the controller throught the channel, so that all events are handled in the same place.
If either event comes from siderolink or if task runner gets the machine status it updates the MachineStatusSnapshot resource.
Make the controller run tasks that can collect machine status from each machine. Instead of changing the
MachineStatusSnapshot
directly in the siderolink events handler pass these events to the controller throught the channel, so that all events are handled in the same place.If either event comes from siderolink or if task runner gets the machine status it updates the
MachineStatusSnapshot
resource.