Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workaround for Supermicro default serial number #317

Closed
wants to merge 3 commits into from

Conversation

TiagoTT
Copy link
Contributor

@TiagoTT TiagoTT commented Oct 30, 2024

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.

pip3 install "netbox-agent @ git+https://github.com/TiagoTT/netbox-agent@master"

…ber 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.
Solution provided by @Garfunkl (Simon Brandstetter).
See details of the problem and solution in: Solvik#296
@TiagoTT
Copy link
Contributor Author

TiagoTT commented Nov 4, 2024

I have split this PR in 2 to facilitate the review and I am dropping the version bump:

@TiagoTT TiagoTT closed this Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant