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

Page 94

Advertising
background image

84

Brocade Virtual ADX XML API Programmer’s Guide

53-1003248-01

Methods

3

Return value

Table 206

contains the return value for this method.

Error messages

List of Error Messages

validateTemplateFile

Description
Performs a validation check on a template, optionally including input data as part of the validation.

Parameters

Table 207

contains the parameters for this method.

Return values
None.

Error messages

List of Error Messages

ipAddress

string

Mandatory

The IP address of
the TFTP server.

sourceFile

string

Mandatory

The template file to
be copied from the
TFTP server.

TABLE 206

Return value

Name

Type

Description

token

unsignedInt

An random integer identifier for this particular upload operation.

TABLE 207

Parameters

Parameter

Type

Presence

Rules

Description

name

string

Mandatory

Must match the DOS
8.3 filename format.

The file name of the
template.

area

templateStorageAreaEnum

Mandatory

"ALL_AREAS" is not
allowed.

The storage area
where the template
is found.

inputs

TemplateVariable

[ ]

Optional

Only "variableName"
and "defaultValue"
fields are used.

Optional input
values to use as part
of the validation.

TABLE 205

Parameters

Parameter

Type

Presence

Rules

Description

Advertising