Gethostname, Getram, Getrunningconfig – Brocade Virtual ADX XML API Programmer’s Guide (Supporting ADX v03.1.00) User Manual

Page 23

Advertising
background image

Brocade Virtual ADX XML API Programmer’s Guide

13

53-1003248-01

Methods

3

getHostName

Description
Retrieves the hostname.

Return value

Table 11

contains the return value of the method.

Error messages

List of Error Messages

getRAM

Description
Retrieves the RAM information.

Return value

Table 12

contains the return value of the method.

Error messages

List of Error Messages

getRunningConfig

Description
Retrieves the running configuration.

Return value

Table 13

contains the return value of the method.

Error messages

List of Error Messages

TABLE 11

Return value

Name

Type

Description

genericInfo

ResponseInformation

Generic information

name

string

Returns the hostname of the device.

TABLE 12

Return value

Name

Type

Description

genericInfo

ResponseInformation

Generic information

ram

memStore

Returns the total, used, and available memory space in the system.

TABLE 13

Return value

Name

Type

Description

genericInfo

ResponseInformation

Generic information

runConfig

string

Returns the current running configuration of the device.

Advertising