On Sun, Sep 30, 2018 at 01:28:27PM +0200, Federico Capoano wrote: > That is really great news, I will make sure to help you in this process.
You're already at it - thank you for your help all the time :-) > My understanding is that in your case you would like to show the serial number > in the UI instead of the hostname, is this understanding correct? If not could > you explain what your specific goal is? Yes, the serial number should be used as the unique name for the device in the UI and it should also be possible to search for a specific device by serial number. > In chat you mentioned that you needed the key to be generated from the serial > number, right? Yes, it would make sense and be logical because in our case the serial number is the unique device identifier. The downside is that for devices which are created manually with django-netjsonconfig, the key is not generated from the mac address (or from the serial number). > I think we should add a new field dedicated to store some sort of hardware ID. > The reason is that other use cases have come up needing the same thing, I'm > talking specifically about the device EUI in LoRa / IoT. Yes, or generally speaking, some user-definable field which can be filled by a script on the client side. > Before focusing too much on technical details, could you explain what your > need > is regarding this serial number? For example: > > Our hardware has a unique serial number which we use for identification and > internal purposes, we would like to: > > • see this serial number as prominent identification in the admin > • be able to search devices in the admin by their serial number > • have the device automatically register its serial number without the need > of manual intervention > • have the key field of the device generated from this serial number because > we consider it more reliable and secure than doing so with the mac address Yes, all of this :-) The serial number is assigned when the device is built and is used throughout the whole process - in provisioning, in all communication with our customers and also internally. And I think this is also what Aaron meant and would like to have. Greetings, Oliver -- You received this message because you are subscribed to the Google Groups "OpenWISP" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
