jinja2 templates and global vlans #14074
chris240189
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When creating a vlan without a site, it should mean that it is global and hence available on all sites.
However when using templates
{{ device.site.vlans.all() }}
only results in vlans just belonging to that particular site and is missing the global ones.Is this intended? Is there another way to get hold of a list of global vlans in a jinja2 template?
Beta Was this translation helpful? Give feedback.
All reactions