Standard CCS Attributes
Script Section | Action Section | Issue Section | Trigger Section |
Script: | Action | Issue-ID | Trigger |
Script-Filter | Action-Commands | Issue-Severity | Trigger-Template |
Script-Description | Action-Description | Issue-Template | Trigger-Commands |
Script-Variables | Action-Filter | Issue-Filter | Trigger-Filter |
Script-Timeout | Action-Timeout | Issue-Details | Trigger-Variables |
Script-Login | Output-Triggers | Issue-Variables | Trigger-Description |
Issue-Description | Output-Triggers |
Attributes in bold are mandatory when the section type is used in a script.
Each section type — Script, Action, Issue and Trigger—is written using a series of attributes that define how NetMRI processes the section. CCS defines a set of standard attributes used by all scripts to contain defined values, call other script sections, load list data and other functions.
Unlike variables, an attribute may contain multiple values and call other scripting elements. An Action, for instance, can call a Trigger.
Note: All attributes specifications in CCS scripts are case-sensitive–each attribute is cited in initial caps in a script, as in Action-Filter
or Issue-Variables
.
Though attributes within a section type are mandatory or optional, a specific section type is not necessarily required for a script. For example, the Cisco Set Port Fast CCS script (found in Configuration Management –> Job Management tab –>Scripts) contains two Action sections and two Trigger sections, with no Issue section.
Standard CCS attributes are described in the following subsections.