Cswrulesummary, Cswruleinfo, Cswrulesimplefilter – Brocade Virtual ADX XML API Programmer’s Guide (Supporting ADX v03.1.00) User Manual

Page 483

Advertising
background image

Brocade Virtual ADX XML API Programmer’s Guide

473

53-1003248-01

Data structures

5

CswRuleInfo

This structure is the high-level description of CSW rule information.

CswRuleSimpleFilter

This structure is the high-level description CSW rule simple filter.

CswRuleSummary

This structure is the high-level description CSW rule summary.

TABLE 355

Attributes

Name

Type

Presence

Rules

Description

name

string

Mandatory Maximum 80 characters

Name of the rule.

ruleType

cswPolicyOrRuleTypeEnum

Mandatory

Type of rule.

referenceCount

unsignedInt

Optional

Number of policies
attached to this rule.

subRuleCount

unsignedInt

Optional

Sub rule count.

subRules

string[ ]

Optional

Sub rules.

caseInsensitive

boolean

Optional

Case in-sensitive or not.

TABLE 356

Attributes

Name

Type

Presence

Rules

Description

field

cswRuleFilterEnum

Mandatory

Name of the Filter field.

operator

filterOperatorEnum

Mandatory

Type of the 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 357

Attributes

Name

Type

Presence Rules

Description

name

string

Optional

Maximum 80 characters

Name of the rule.

ruleType

cswPolicyOrRuleTypeEnum

Optional

Type of the rule.

subRuleType

cswRuleSubTypeEnum

Optional

Sub rule type.

actionType

cswActionTypeEnum

Optional

Action performed when
rule hit.

referenceCount

unsignedInt

Optional

Number of policies using
this csw rule.

hitCount

unsignedInt

Optional

Hit count of csw rule.

Advertising