Creating compliance definitions using a 'device-specific' golden configuration
Use this procedure to modify compliance definitions using a
'device-specific' golden configuration.
About this task
- Non-strict mode
- NonStrictDeviceSpecificGolden
- Strict mode
- StrictDeviceSpecificGolden
These two definitions can cover all device-specific golden configuration definition handling, and they can be re-used in multiple Definition/Rule/Policy/Process combinations. If required, these definitions can be copied and edited in the GUI, but not created.
As part of the same post-installation task a default Rule/Policy combination that uses these definitions is created. The ‘Non Strict’ definition will produce an evaluation failure if a command in the device-specific configuration is changed or removed in the current configuration. The ‘Strict’ definition will produce the same failures as ‘Non Strict’, and in addition it will produce an evaluation failure if a command is changed or added in the current configuration. In other words, ‘Strict’ mode performs a cross-check from 'current' against 'device-specific golden', and vice versa. ‘Non Strict’ only checks 'device-specific golden' against current.
- NonStrictDeviceSpecificGolden failures
- A failure for the version of command B in the device-specific golden configuration
- StrictDeviceSpecificGolden failures
- Both device-specific golden configuration failures as above.
The additional evaluations produced as a result of the strict mode will have the following line in the evaluation result:
This evaluation XPath was generated as a result of 'Strict mode' being set and compares elements in the current configuration against those in the 'device-specific' configuration.
- Non comparable values
-
- Certain values in a configuration can be expected to be different between configuration
versions, for example a timestamp or password value. These types of values are identified in the
Driver schema for the device, and assigned a ‘NonComparable’ attribute. If a field is marked as ‘Non
Comparable’, differences in the field values will not produce an evaluation failure. The evaluation
will contain the wildcard (*) to accept all values. If a field value has been wild-carded due to a
‘NonComparable’ attribute, this will be indicated in the evaluation result with the following line:
Elements in the Evaluation XPath have been wildcarded due to the presence of a NON_COMPARABLE attribute on that element in the Driver schema.
Note: A new XML file is now delivered with the Drivers in order to support the ‘NonComparable’ checking. If the file is not present, an updated driver must be installed.
- Certain values in a configuration can be expected to be different between configuration
versions, for example a timestamp or password value. These types of values are identified in the
Driver schema for the device, and assigned a ‘NonComparable’ attribute. If a field is marked as ‘Non
Comparable’, differences in the field values will not produce an evaluation failure. The evaluation
will contain the wildcard (*) to accept all values. If a field value has been wild-carded due to a
‘NonComparable’ attribute, this will be indicated in the evaluation result with the following line:
- Evaluation Criteria
- Device-specific evaluations are not defined via, or visible in, the Compliance Definition GUI.
When generated at compliance execution, they have the following test criteria:
- Test Condition
- Present in config
- Match Criteria
- Match All
- Evaluation result if context not found
- Fail
Procedure
What to do next
You can create another Compliance Definition using a device model, by following the instructions in this procedure.
- In the Netcool Configuration Manager - Compliance GUI, select the Definitions tab.
- Browse to the StrictDeviceSpecificGolden compliance definition, right-click it, then select Edit Definition. The Enter Definition Details dialog box is displayed.
- Click Next to advance to the Enter Device Specific Golden Config Details dialog.
- Select the Strict mode option, and click Next.
- In the Choose Save Location dialog, leave the default save location unchanged. and click Finish.