Unable to render interface.tags.name in config template #13571
-
Hi, we use a interface tag to render additional interface configurations for our devices but I'm unable to generate the config:
Does anybody know how to access the interface tags? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
tags is a list. I would expect something like Try it in nbshell, and also see https://jinja.palletsprojects.com/en/3.1.x/templates/#other-operators |
Beta Was this translation helpful? Give feedback.
-
Thanks for your reply.
|
Beta Was this translation helpful? Give feedback.
-
Try
|
Beta Was this translation helpful? Give feedback.
-
yes, that worked. Thank you very much. |
Beta Was this translation helpful? Give feedback.
Try
interface.tags.names()