Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note: Scripts use a standard variable called eval_type. This variable is not used in configuration templates.
Otherwise, template variables are treated in the same fashion as defined in the CCS Supplement PDF, provided under the Additional Documentation section of the online Help.

...

Anchor
Defining Lists for ACM, Perl and CCS Scr
Defining Lists for ACM, Perl and CCS Scr
Anchor
bookmark585
bookmark585
Anchor
bookmark586
bookmark586
Defining Lists for ACM, Perl, Python, and CCS Script Reference

...

Note: Individual NetMRI appliances are limited to 100 lists in the Lists page.

...

Lists are a key component in the Automation Change Manager (ACM) feature

Anchor
bookmark587
bookmark587
set. The Lists page (Config Management  –> Job Management –> Lists) allows the creation, editing, importing and exporting of lists to provide external lists of data to Perl script variables, CCS script variables and configuration template variables.
Lists are handy for dynamically looking up values to variables in Perl and CCS scripts. CCS and Perl can refer to/ look up values from lists during script execution. The lookup call enables a simple pass/fail test to detect the presence or absence of a value in a list. The call accepts the parameter list name, key column, key value, value column and a default. All values may be static or variable-based.
Lists are named CSV files imported into NetMRI. The most efficient way to use Lists is through importing of a CSV file. You can add new records to any list or create a new list entirely within NetMRI.) An advantage of using external lists, and of importing lists from .CSV files, is that NetMRI imports the column headers from .CSV files. These column headers then appear in the list table in NetMRI. Users can edit the headers inside the Lists page by right-clicking any column header and choosing Edit Column.
To import a list into the NetMRI Lists page, do the following:

...