List section, Example, Type section – Visara Master Console Center Administration Guide User Manual
Page 49
Chapter 4 MCC Configuration File Management
Administration Guide
49
current:up,desired:up =
*:normal
current:up,desired:down
= *:normal, desired:warning
[colorrules unixcolors]
current:up,desired:up =
*:normal
current:up,desired:down
= *:normal, desired:warning
current:down,desired:up =
*:error,
current:unknown,desired:up = *:normal, current:warning
List Section
The list section defines a list of values (an enumerated list). A list in the
definition of the list field type defines the valid entries for the list field.
The left side of the equation is the user-defined name for a valid option in the list
definition. This text appears in pick lists, and sets the field status within scripts.
The right side of the equation is a unique integer assigned to each valid option.
Example:
[list current]
down=0
up=1
starting=2
stopping=3
unknown=4
Type Section
The type section defines object types. Each object type has fields and colorrules.
Example:
[type mvs]
fields=mvsfields
colorrules=mvscolors
[type unix]
fields=unixfields
colorrules=unixcolors