Programmer's Guide (Supporting ADX v03.1.00) Manual

Brocade Virtual ADX XML API Programmer’s Guide 173
53-1003248-01
Chapter
4
Network API Reference
In this chapter
Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173
Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173
Data structures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 232
Enumerations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 324
Overview
The Network Application Program Interface (API) defined in this chapter describes the
network-related information such as VLANs, static routes, Spanning Tree Protocol (STP), Media
Access Control (MAC), and Statistics and Monitoring - IP and Address Resolution Protocol (ARP). Its
primary purpose is to configure routing protocols (BGP, VRRP, and OSPF) and modify
network-related settings like routes and protocol information, as needed.
Methods
Network Configuration
Description
The following APIs configure and modify network-related settings like routes and protocol
information, as needed.
addIPsToInterface
Description
Adds IP addresses into the interface. (This works only in Router mode.)
Parameters
Table 430 contains the parameters required for the method.
TABLE 430 Parameters
Name Type Presence Rules Description
id InterfaceID Mandatory The identifier of the interface.
ipList InterfaceIPAddress[] Mandatory The list of IP addresses to be added to the
interface.