Csw response policies schema elements – Brocade Virtual ADX Graphical User Interface Guide (Supporting ADX v03.1.00) User Manual
Page 316
304
Brocade Virtual ADX Graphical User Interface Guide
53-1003242-01
XML schema element reference
B
CSW response policies schema elements
TABLE 98
CSW response policies schema elements
Element
Type
Description
Rules / Notes
csw.responsePolicies
container
A collection of Response
Policies
Optional
responsePolicies.responsePolicy
container
A single Response Policy Multiple responsePolicy
elements are allowed;
unlimited except for
available
dynamically-allocated
memory
responsePolicy.name
string
The Response Policy
name
80 characters maximum
responsePolicy.context
string
The context in which to
create the policy
If unspecified, "default"
context is used; optional
responsePolicy.actions
container
The Response Policy
actions
Must contain one or more
"action" sub-elements
actions.action
container
A single Response Policy
action
A mapping of a Response
Rule to an action to
perform
action.ruleName
string
The name of a Response
Rule
80 characters maximum;
must match the name of
an existing Response Rule
within this template
action.ruleName.
@default
boolean
The "default rule" flag
If "true", the rule name is
ignored and the rule is
treated as a "default rule"
match
action.actionType
enumerated
string
The type of action to
perform
•
response header
rewrite
•
response body
rewrite
•
response header
replace
•
response body
replace
action.rewriteReplace
container
The details for replace
actions
This element is only used
for "response body
replace" and "response
header replace", otherwise
this element should be
omitted
rewriteReplace.
string
string
The replace string
80 characters maximum
rewriteReplace.
offset
integer
The replace offset
rewriteReplace.
length
integer
The replace length
responsePolicy.caseInsensitive
boolean
The case-insensitive flag default is false; optional