Workaround for Supermicro default serial number #317
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Workaround for Supermicro default serial number
Solution provided by Simon Brandstetter (@Garfunkl).
See details of the problem and solution in: #296
New command line option --update-old-devices to update the serial number of old servers
Add an alternative method to resolve server serial number and name
conflicts which updates the serial number of the existing server object
in Netbox with the same name as the current server.
This option addresses the situation as --purge-old-devices but does
not delete the existing server object in Netbox.
This option is useful if a server is replaced by another with the same
name and it is desired to keep all its properties that have been added
manually in Netbox, so the existing server object will be updated with
the serial number of the new server.
Bump version to 1.0.1-rc1
The version was bumped only to be able to upgrade from the current version to my test version.