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

Page 627

Advertising
background image

Brocade Virtual ADX XML API Programmer’s Guide

617

53-1003248-01

Data structures

6

NatConfig

This structure is the high-level description of NAT configuration.

NatPool

This structure contains the high level description of a NAT pool.

TABLE 170

Attributes

Name

Type

Presence

Rules

Description

enableForwardingOnSessionNotFound

boolean

Optional

Enables or disables the
forwarding of packets
without NAT translation
when sessions are not
found.

enableStatelessStaticNat

boolean

Optional

Enables or disables
stateless static NAT.

timeoutInfo

NatTranslationTimeout

Mandatory

Configures NAT
Translation timeout
information.

TABLE 171

Attributes

Name

Type

Presence

Rules

Description

poolName

string

Mandatory

Maximum 255
characters.

Specifies the Pool name.

startIP

string

Mandatory

Start IP address.

endIP

string

Mandatory

End IP address.

subnetMask

string

Optional

Either
"subnetMask" or
"subnetMaskLengt
h" must be
present. Both
cannot be present
together.

Subnet mask address.

subnetMaskLength

unsignedInt

Optional

Either
"subnetMask" or
"subnetMaskLengt
h" must be
present. Both
cannot be present
together.

Subnet mask length.

priority

natPoolTypeEnum

Optional

Specifies a value of 1 or 2 and
enables static NAT redundancy.
A value of 2 means higher
priority, and will own the NAT IP
as long as the system is up.

Advertising