ExtremeSwitching (EXOS)

Expand all | Collapse all

define a variable as a list

  • 1.  define a variable as a list

    Posted 01-23-2018 13:24
    is it possible to define a variable as a list and then to be able to browse it (in a script .xsf) ?

    Many thanks in advance, alex


  • 2.  RE: define a variable as a list

    Posted 04-13-2018 15:37
    Yes, this is possible.

    .xsf scripts support TCL, and any variables are TCL lists (split on whitespace).

    See:
    https://documentation.extremenetworks.com/exos_22.4/EXOS_21_1/CLI_Scripting/r_using-builtin-function...

    and

    https://documentation.extremenetworks.com/exos_22.4/EXOS_21_1/CLI_Scripting/r_using-script-variables...

    for more information.