Programmer's Guide (Supporting ADX v03.1.00) Manual

Brocade Virtual ADX XML API Programmer’s Guide 471
53-1003248-01
Data structures
5
CswPolicyRules
This structure is the high-level description of CSW policy rules.
CswPolicySimpleFilter
This structure is the high-level description of CSW policy simple filter.
CswPolicySummary
This structure is the high-level description CSW policy summary.
TABLE 348 Attributes
Name Type Presence Rules Description
name string Mandatory Maximum 80 characters. Name of the rule.
ruleType cswActionTypeEnum Mandatory Type of the rule.
actionType string Optional Type of action.
hitCount unsignedInt Optional Number of times rule
hit.
TABLE 349 Attributes
Name Type Presence Rules Description
field cswPolicyFilterEnum Mandatory Filter field name.
operator filterOperatorEnum Mandatory Filter operator type.
value string Optional Ignored when "operator" value is
"RANGE".
Value of the field for
filtering.
startValue string Optional This parameter is mandatory and
considered only when "operator"
value is "RANGE".
Start value in a range.
endValue string Optional This parameter is mandatory and
considered only when "operator"
value is "RANGE".
End value in a range.
TABLE 350 Attributes
Name Type Presence Rules Description
name string Mandatory Maximum 80
characters
Name of the policy.
policyType cswPolicyOrRuleTypeEnum Mandatory Type of the policy.
ruleCount unsignedInt Optional Number of rules associated.
inUse boolean Optional TRUE if policy is in use.
CaseSensitive boolean Optional Can in-sensitive or not
rulesList CswRuleSummary[ ] Optional List of rules associated to the
policy.