Uploaded image for project: 'Mender'
  1. Mender
  2. MEN-5351

[iot-manager] CLI to sync devices to Cloud Providers

    XMLWordPrintable

    Details

      Description

      Implement a CLI command in iot-manager that syncs all devices available in the service, across all different tenants, to the Cloud providers. This CLI will be invoked periodically via cronjobs to ensure the devices are fully in sync.

      • Loop over all the devices, sorted by tenant ID
      • Check if the device is available in the cloud provider
        • If yes, sync the state
        • If no, provision it

      Acceptance criteria:

      • New CLI command is available (sync-devices)
      • Cronjob in the saas/helm repos run the CLI once a day

        Attachments

          Activity

            People

            Assignee:
            alfrunes Alf-Rune Siqveland
            Reporter:
            tranchitella Fabio Tranchitella
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support