Uploaded image for project: 'VOLTHA'
  1. VOLTHA
  2. VOL-2840

device ID and logical device ID should be UUIDs

    XMLWordPrintable

    Details

      Description

      Currently, the IDs for the devices are created reading bytes from the random generator. There are a couple of problems with this.

      1. there is no guarantee that IDs won't duplicate
      2. the rand.Read function is not meant to be called concurrently and voltha has no protection around that.

       

        Attachments

        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            dbainbri David Bainbridge
            Reporter:
            dbainbri David Bainbridge
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes