beautypg.com

Hostproxy, Hostproxyinfo – Brocade Virtual ADX XML API Programmer’s Guide (Supporting ADX v03.1.00) User Manual

Page 725

background image

Brocade Virtual ADX XML API Programmer’s Guide

715

53-1003248-01

Data Structures

7

hostProxy

This structure is the high-level description of GSLB host proxy.

hostProxyInfo

This structure is the high-level description of GSLB host proxy information.

urlHeathCheck

string

Optional

Valid only when host
application is HTTP.

For HTTP hosts, you also can
customize the health check by
changing the URL method and the
string requested by the ADX, as well
as the HTTP status codes that the
ADX accepts as valid responses. By
default, the ADX performs the HTTP
health check as follows:

The ADX sends a HEAD
request for the default URL
string, “HEAD /”.

If the server responds with the
status code 401 or a code in
the range 200 – 299, the
server passes the health
check.

statusCodeStart

unsignedInt[]

Optional

Status code

Status code range start.

statusCodeEnd

unsignedInt[]

Optional

Status code

Status code range end.

TABLE 75

hostProxy structure

Name

Type

Presence

Rules

Description

proxyIP

hostProxyIP

Mandatory

Proxy IP address.

proxyInfo

hostProxyInfo

Optional

Parameter is
valid as part of
response
message only.
Ignored when
part of request
message.

Host proxy information.

TABLE 76

hostProxyInfo structure

Name

Type

Presence

Rules

Description

isGslbAlgoPass
ed

boolean

Optional

Parameter is valid as part
of response message
only. Ignored when part
of request message.

Whether the IP address has
passed the GSLB algorithm
to be selected as the “best”
site.

source

hostProxySourceEnum

Optional

Parameter is valid as part
of response message
only. Ignored when part
of request message.

Source from which ADX
learned the address.

TABLE 74

hostPort structure

Name

Type

Presence

Rules

Description