Csw response rules schema elements – Brocade Virtual ADX Graphical User Interface Guide (Supporting ADX v03.1.00) User Manual
Page 314
302
Brocade Virtual ADX Graphical User Interface Guide
53-1003242-01
XML schema element reference
B
CSW response rules schema elements
TABLE 97
CSW response rules schema elements
Element
Type
Description
Rules / Notes
csw.responseRules
container
A collection of Response
Rules
Optional
responseRules.responseRule
container
A single Response Rule
Multiple "responseRule"
elements are allowed;
unlimited except for
available
dynamically-allocated
memory
responseRule.name
string
The Response Rule
name
80 characters maximum
responseRule.type
enumerated
string
The Response Rule type
•
status-code
•
header
•
body
responseRule.context
string
The context in which to
create the rule
If unspecified, "default"
context is used; optional
responseRule.details
container
The Response Rule
details
Must contain exactly one of
the following sub-elements,
based on the "type":
•
statusCode
•
header
•
body
details.statusCode
container
The details for
"status-code" rules
Used only if the rule "type"
is "status code"
statusCode.from
integer
The beginning of a range
of status code numbers
0 to 999; "from" must not
be greater than "to"
statusCode.to
integer
The end of a range of
status code numbers
0 to 999; "to" must not be
less than "from"
details.header
container
The details for "header"
rules
Used only if the rule "type"
is "header"
header.headerName
string
The name of a header
255 characters maximum
header.operation
enumerated
string
The kind of test
operation to perform on
the header
•
equals
•
exists
•
pattern
•
prefix
•
search
•
suffix
header.value
string
The value to test for in
the operation
Required for all operation
types except "exists"
details.body
container
The details for "body"
rules
Used only if the rule "type"
is "body"