When we change a switch hostname (production plant, things get moved around a bit...), nedi discovers it as a whole new device and we lose the history of that device.
Can we avoid this by changing the switch hostname ('device' field) in the relevant database tables before doing a new discovery? I did try and post the code but it gets blocked by your website security policy.