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

718 Brocade Virtual ADX XML API Programmer’s Guide
53-1003248-01
Data Structures
7
numSessionMetric
This structure is the high-level description of NumSession metric in GSLB policy.
policyDnsParameters
This structure is the high-level description of DNS parameters in GSLB policy.
TABLE 79 metricCounter structure
Name Type Presence Rules Description
metricType policyMetricTypeEnum Optional Parameter is valid as
part of response
message only. Ignored
when part of request
message.
The metric that was used to
select a given site as the
best site.
siteSelection
Count
unsignedInt Optional Parameter is valid as
part of response
message only. Ignored
when part of request
message.
The number of times that
metric was the deciding
factor in the selection of the
site.
TABLE 80 numSessionMetric structure
Name Type Presence Rules Description
metric boolean Optional Default value is "TRUE". Enable or disable NumSession
metric
tolerance unsignedInt Optional Value is in percentage. Valid
value range is from 0 to 100.
Default value is 10 percent.
Tolerance in the difference
between two choices
TABLE 81 policyDnsParameters structure
Name Type Presence Rules Description
allowActiveOnly boolean Optional Default value is “FALSE”. Configure the ADX to remove IP
addresses from DNS replies when
those addresses.
allowBestOnly boolean Optional Default value is “FALSE” Configure the GSLB ADX to remove
all addresses except the best
address from the DNS replies.
dnsOverride boolean Optional Default value is “FALSE”.
Not Applicable for
HostPolicy.
When you enable DNS override, the
GSLB ADX replaces the IP
addresses in the DNS reply with the
“best” of the proxy server
addresses you specify.
dnsTtlEnable boolean Optional Enables DNS TTL.
dnsTtl unsignedInt Optional Valid value range is from
0 to 1000000000
seconds. Default value is
10 seconds.
Configure DNS TTL.