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

Remove the need for a custom field for sw_version #9

Open
ryanmerolle opened this issue Jan 26, 2023 · 2 comments
Open

Remove the need for a custom field for sw_version #9

ryanmerolle opened this issue Jan 26, 2023 · 2 comments

Comments

@ryanmerolle
Copy link

Instead of adding custom fields to the device model, you can create a new model that models host software version.

I do something similar with ACL to interface assignments. It is not 100% like your model because I have an ACL linked to only 1 host(vm, device, virtual_cluster), and than that said ACL can be assigned any interface assigned to that "host"

https://github.com/ryanmerolle/netbox-acls/blob/dev/netbox_acls/models/access_lists.py#L90-L155

@ryanmerolle
Copy link
Author

You can show the info on the devce/virtual chasses/virtual machine object using cards for compatibility with any netbox install earlier than 3.4 OR you can use the new view tab for 3.4.

@ryanmerolle
Copy link
Author

As I mentioned I am happy to tackle some of these issues if you want to assign any to me.

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

1 participant