Replies: 2 comments
-
I found the API endpoint ipam.vlans/?available_on_device= But how can I use this in a jinja config template? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi, ich have the same problem, that we have organized the vlan in groups. Alternative it is possible to become alle vlans from a group that a linked to a site or sitegroup and get this via a variable like device.site.vlans.all() |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to assign vlans to devices via jinja config templates.
The function device.site.vlans.all() work and gives me a VLANs for a specific device if VLANs are assigned to a site where the device is located.
BUT: we also have VLANs organized in vlan groups. These groups are assigned to site groups. So device.site.vlans.all() will not find it. any ideas how to solve the problem?
Beta Was this translation helpful? Give feedback.
All reactions