Skip to content

Conversation

@joachimBurket
Copy link
Contributor

Resolves #434

Add the serial field to NetBox VirtualMachine and set it from VMWare instanceUuid

…e 'instanceUuid'

Signed-off-by: Joachim Burket <joachim.burket@protonmail.ch>
@joachimBurket
Copy link
Contributor Author

joachimBurket commented Jan 23, 2025

Hi @bb-Ricardo,

I've tested this locally and it seems to work.
Feel free to make changes if this isn't the desired behavior or if something is missing.

@joachimBurket joachimBurket changed the title Add the 'serial' field to NetBox VirtualMachine Add the serial field to NetBox VirtualMachine Jan 23, 2025
@bb-Ricardo
Copy link
Owner

Hey, thank you for this quick PR.

We need to make it backwards compatible to not break integration with pre 4.1 NetBox installations.

Signed-off-by: joachimBurket <joachim.burket@protonmail.ch>
@joachimBurket
Copy link
Contributor Author

Oh good call! I pushed a new commit to only add the serial if the NetBox version is >= 4.1.0.

@joachimBurket
Copy link
Contributor Author

@bb-Ricardo does it seems good to you?

@bb-Ricardo
Copy link
Owner

Hi,

Yes, this looks like a sufficient solution. Unfortunately I'm unable to work on this right now. Will merge your PR as soon as I got some time tontake care of some issue.

Thank you very much again.

@joachimBurket
Copy link
Contributor Author

Okay, no worry!
Your welcome :)

@bb-Ricardo bb-Ricardo changed the base branch from main to development January 30, 2025 15:29
@bb-Ricardo bb-Ricardo merged commit 5b54f04 into bb-Ricardo:development Jan 30, 2025
1 check passed
@joachimBurket joachimBurket deleted the feat/set-vm-serial-number-from-instanceuuid branch July 3, 2025 15:37
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.

Set the VirtualMachines serial_number field from VMWare instanceUuid

2 participants