Aruba Central

 View Only
last person joined: 5 hours ago 

Expand all | Collapse all

Template syntax guide

This thread has been viewed 30 times
  • 1.  Template syntax guide

    Posted Dec 08, 2021 02:01 AM
    Hi all,

    Is there documentation available about the syntaxes you can/can't use in Aruba Central Templates.
    For example I am interested in operators like AND & OR.

    Hope someone can help

    ------------------------------
    Danny van der Aa
    ------------------------------


  • 2.  RE: Template syntax guide

    MVP GURU
    Posted Dec 08, 2021 08:09 AM
    Is this what you are looking for?

    https://help.central.arubanetworks.com/2.5.4/documentation/online_help/content/nms/maintenance/template-variables.htm


    ------------------------------
    Dustin Burns
    Lead Mobility Engineer @WEI

    ACCX 1271| ACMX 509| ACSP | ACDA | MVP Guru 2021
    If my post was useful accept solution and/or give kudos
    ------------------------------



  • 3.  RE: Template syntax guide

    Posted Dec 08, 2021 09:19 AM
    Hi Dustin,

    Also this is useful, but not what i ment.
    I am looking for the operators i can use.

    So the if statements, but also the operators like AND & OR.

    For example i would like to use something like

    %if a=1 or b=2%
       description test
    %endif%

    ------------------------------
    Danny van der Aa
    ------------------------------



  • 4.  RE: Template syntax guide

    EMPLOYEE
    Posted Dec 10, 2021 09:25 AM
    Check this search. There is that page posted above, but another one with the syntax explained and an example config using it.

    Unsure if an OR function is supported.

    ------------------------------
    Herman Robers
    ------------------------
    If you have urgent issues, always contact your Aruba partner, distributor, or Aruba TAC Support. Check https://www.arubanetworks.com/support-services/contact-support/ for how to contact Aruba TAC. Any opinions expressed here are solely my own and not necessarily that of Hewlett Packard Enterprise or Aruba Networks.

    In case your problem is solved, please invest the time to post a follow-up with the information on how you solved it. Others can benefit from that.
    ------------------------------