FW 07.00.00/HAFM SW 08.06.00 HP StorageWorks HA-Fabric Manager User Guide (AA-RS2CF-TE, March 2005)

HA-Fabric Manager user guide 119
The following example shows the syntax for a planning rule:
set rule_id = SAN_1
where rule = “check_for_valid IPAddress for (device=switch or device=hub or
device=bridge)”
and description = “valid IP addresses must be specified for all switches,
hubs and bridges”
and headline = “Valid IP must be specified/property validation”
and errormssg = “The device labeled {0} has invalid IP address”
and remedy = “Please specify a valid IP address”;
Rule types
There are three types of rules that define the where rule parameter:
Table 13 Planning rule parameters
Parameter Required
to load
rule?
Description Format
set rule_id Yes Sets the rule ID. Must be a unique value,
but can be any length and
format.
where rule Yes Sets the actual rule.
A list of rule types
follows this table.
Use only the keywords
provided; otherwise the
rule fails.
description No Provides a more
detailed description of
the rule.
Must be prepended with
an “and.
Must be enclosed within
quotation marks.
headline No Provides a short
overview of the rule.
Must be prepended with
an “and.
Must be enclosed within
quotation marks.
errormsg No Specifies the error
message to appear if
the rule is violated. If
this statement is not
specified, or if it is null,
a generic error
message appears.
Must be prepended with
an “and.
Must be enclosed within
quotation marks.
remedy No Specifies a remedy for
the rule violation. This
text appears on the
evaluation screen.
Must be prepended with
an “and.
Must be enclosed within
quotation marks.