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

Page 264

Advertising
background image

254

Brocade Virtual ADX XML API Programmer’s Guide

53-1003248-01

Data structures

4

InterfaceConfig

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

priorityLevel

unsignedInt

Optional

The priority level.

macAddress

string

Optional

The MAC address.

TABLE 637

Attributes

Name

Type

Presence

Rules

Description

id

InterfaceID

Mandatory

In Switch mode only
“ETHERNET” and
“MANAGEMENT”
interface types are
supported.

The interface ID.

macAddress

string

Optional

This parameter is valid
only as part of the
response message,
and ignored when
present as part of the
request message.

The MAC address.

name

string

Optional

The interface
name.

adminState

boolean

Optional

The default value is
"TRUE".

Enables or disables
the interface port.

isAutoNegotiation

boolean

Optional

Valid only when the
interface type is
ETHERNET.

Enables or disables
the
auto-negotiation of
speed and duplex.

speed

portSpeedEnum

Optional

Valid only when
interface type is
ETHERNET.
This parameter is
mandatory when the
“isAutoNegotiation”
parameter is either not
present or set to
“FALSE”.
When present as part
of the request
message, the valid
values are
10_MEGABIT,
100_MEGABIT, and
1_GIGABIT.

The speed of the
port.

TABLE 636

Attributes (Continued)

Name

Type

Presence

Rules

Description

Advertising