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

Page 312

Advertising
background image

302

Brocade Virtual ADX XML API Programmer’s Guide

53-1003248-01

Data structures

4

SourceIPSimpleFilter

This structure is the high-level description of a simple filter for Source IP.

StaticRoute

This is a high-level description of a static route.

TABLE 740

Attributes

Name

Type

Presence

Rules

Description

Field

sourceIPFilterFieldEnum

Mandatory

Simple filter description.

Operator

filterOperatorEnum

Mandatory

Filter operator type.

Value

string

Optional

Ignored when the
"operator" value is
"RANGE".

The value of the field for
filtering.

startValue string

Mandatory

This parameter is
mandatory and
considered only when
the "operator" value is
"RANGE".

Start value in a range.

endValue

string

Mandatory

This parameter is
mandatory and
considered only when
the "operator" value is
"RANGE".

End value in a range.

TABLE 741

Attributes

Name

Type

Presence

Rules

Description

staticRouteType

staticRouteTypeEnum

The static route type.

ipVersion

ipVersionEnum

Mandatory

The IP version - IPv4 or IPv6.

destIPAddress

string

Mandatory

Destination IP address of the
route.

networkMask

string

Mandatory

Either of destMask/
maskBits is
mandatory

Network mask for the route's
destination IP address.

networkMaskBits

unsignedInt

Mandatory

Either of destMask/
maskBits is
mandatory

Number of bits in the network
mask.

nexthopIPAddress

string

Optional

The IP address of the next-hop
router (gateway) for the route.

port

InterfaceID

Optional

Ethernet port interface.

virtualInterfaceNum unsignedInt

The virtual interface number.

metric

unsignedInt

Optional

1-16. Default 1

Metric value.

distance

unsignedInt

Optional

1-255. Default 1

Distance

Advertising