Skip to content

Solved: All devices and VMs should have unique names in Netbox. #16267

Answered by LHBL2003
LHBL2003 asked this question in Q&A
Discussion options

You must be logged in to vote

My thanks go to:
@domainzero --> Creator of the base script on which I have built.
@Mailstorm-ctrl --> Who helped me reach my goal.
@candlerb --> Who helped me reach my goal.

Final version
You can find everything you need to understand it in the entries above.

Description
This version allows the name of a virtual machine and of a device to appear only once in the entire Netbox system. Changing the VM/device also works in this version. (The comments in the script are in German. Increases the Google hits for German ;)

WebUI: Configuration History --> Custom vakidators

{
    "__comment": "Der Device / VM Name soll im gesamten Netbox System eindeutig sein. (Github Netbox discussions 16267)",
…

Replies: 6 comments 8 replies

Comment options

You must be logged in to vote
1 reply
@LHBL2003
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@candlerb
Comment options

@LHBL2003
Comment options

@candlerb
Comment options

Comment options

You must be logged in to vote
4 replies
@candlerb
Comment options

@LHBL2003
Comment options

@candlerb
Comment options

@LHBL2003
Comment options

Answer selected by LHBL2003
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants