-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
VM Rendered Config Context does not consider directly related site #14962
Comments
I have a PR ready to resolve this |
Sites do not have config context. Please elaborate on exactly what actions you're taking and what data you're providing at each step, so that someone else can confidently attempt to reproduce the bug. |
@jeremystretch Sorry, you have to create the site, and then create the context and apply it to the site: netbox/netbox/extras/models/configs.py Line 63 in 1b9e6be
|
@jeremystretch, Im happy to own this one and submit a PR |
Deployment Type
Self-hosted
NetBox Version
v3.7.1
Python Version
3.8
Steps to Reproduce
Expected Behavior
The VMs config context should include the sites context when it is directly related via the VM's site attribute with out requiring the cluster.
Observed Behavior
The VM context does not include the site context when it is directly related and not accessible via a cluster
The text was updated successfully, but these errors were encountered: