Sourceip, Sourceipfilter – Brocade Virtual ADX XML API Programmer’s Guide (Supporting ADX v03.1.00) User Manual
Page 311
Brocade Virtual ADX XML API Programmer’s Guide
301
53-1003248-01
Data structures
4
SourceIP
This structure is the high-level description of SourceIP configuration.
SourceIPFilter
This structure is the high-level description of a filter for Source IP.
TABLE 738
Attributes
Name
Type
Presence
Rules
Description
sourceIPType
Optional
In Router mode, the
only valid value is
SOURCE_NAT_IP. This
parameter is optional,
and when absent,
SOURCE_NAT_IP is
the default value.
In Switch mode, this
parameter is
mandatory.
The type of source
IP (Source IP or
Source NAT IP or
Source Standby IP).
ip
string
Optional
The IP address.
subnetMask
string
Optional
Valid only for IPv4
addresses. Either the
subnetMask or the
subnetMaskLength
must be present. Both
cannot be present
together.
The IP subnet
mask.
subnetMaskLength
unsignedInt
Optional
Either the
subnetMask or the
subnetMaskLength
must be present. Both
cannot be present
together.
The length of the IP
subnet mask.
defaultGatewayIP
string
Optional
The default
gateway IP address.
portRange
Optional
Valid only when the
sourceIPType is
SOURCE_NAT_IP.
Specify 1 for the
lower port range or
2 for the upper port
range. The peer
using the upper
port range is the
owner of the source
IP address.
enablePortAllocationPerRealServ
er
boolean
Optional
Valid only when the
sourceIPType is
SOURCE_IP or
SOURCE_NAT_IP.
Enables or disables
port allocation per
real server.
TABLE 739
Attributes
Name
Type
Presence
Rules
Description
simpleFilter
Optional
Simple filter description.