Automation

 View Only
last person joined: 9 days ago 

Ask questions and share experiences about Apstra, Paragon, and all things network automation.

Help need with find all device with a specific system_tag in configlet

  • 1.  Help need with find all device with a specific system_tag in configlet

    Posted 29 days ago

    Hi

    I am trying to write a configlet there search after a system_tag in all devices and then uses the hostname and a loop back interface in a set command.

    This is what I have working if I assign the system_tag to the device I add the configlet on.   

    {% for tags in system_tags %}
     {% if tags == "twamp-client" %}
      set something
      {% endif %}
    {% endfor %}

    I need to set the hostname for each device there have the system_tag twamp-client. 



    ------------------------------
    DENNIS LANDBERG
    ------------------------------