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";
Table 13
Planning rule parameters
Parameter
Required
to load
rule?
set rule_id
Yes
where rule
Yes
description
No
headline
No
errormsg
No
remedy
No
Rule types
There are three types of rules that define the where rule parameter:
Description
Sets the rule ID.
Sets the actual rule.
A list of rule types
follows this table.
Provides a more
detailed description of
the rule.
Provides a short
overview of the rule.
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.
Specifies a remedy for
the rule violation. This
text appears on the
evaluation screen.
Format
Must be a unique value,
but can be any length and
format.
Use only the keywords
provided; otherwise the
rule fails.
Must be prepended with
an "and."
Must be enclosed within
quotation marks.
Must be prepended with
an "and."
Must be enclosed within
quotation marks.
Must be prepended with
an "and."
Must be enclosed within
quotation marks.
Must be prepended with
an "and."
Must be enclosed within
quotation marks.
HA-Fabric Manager user guide 119