NeDi Community

NeDi Software Specific => Database => Topic started by: Westy_87 on December 18, 2024, 12:13:16 am

Title: Changing device name
Post by: Westy_87 on December 18, 2024, 12:13:16 am
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.
Title: Re: Changing device name
Post by: rickli on December 23, 2024, 11:12:57 am
Since the device name is the primary key, yes that should work. Sorry for the restrictive and cumbersome security here...