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

Use random UUID per default #207

Open
plajjan opened this issue Aug 16, 2019 · 2 comments
Open

Use random UUID per default #207

plajjan opened this issue Aug 16, 2019 · 2 comments

Comments

@plajjan
Copy link
Collaborator

plajjan commented Aug 16, 2019

We are doing a sort of zero touch provisioning on juniper devices and noticed the serial number is the same on all instances. According to https://forums.juniper.net/t5/vSRX/changing-regenerate-vSRX-chassis-serial/td-p/316519 it appears the serial number is based on the UUID of the VM, so perhaps by changing that we get unique serial numbers.

On SROS we set the UUID of the VM based on the license file. I think we can have similar functionality for other platforms, or like a --uuid argument. In absence of this argument, I think it makes sense to use a random UUID.

I don't think we need to limit this to Juniper devices, we can have random UUID as the default for all types.

@emjemj
Copy link
Collaborator

emjemj commented Aug 18, 2019

Sounds reasonable.

@monrad
Copy link
Contributor

monrad commented Feb 8, 2021

I had made a draft pull request in #258 that I can expand on if that way makes sense.

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

No branches or pull requests

3 participants