Addtemplate – Brocade Virtual ADX XML API Programmer’s Guide (Supporting ADX v03.1.00) User Manual
Page 86
76
Brocade Virtual ADX XML API Programmer’s Guide
53-1003248-01
Methods
3
Error messages
addTemplate
Description
Creates a new template with directly-provided content.
Parameters
contains the parameters for this method.
Return values
None.
Error messages
overallRe
sult
The overall result of the operation.
result
Returns a collection of messages about the template operation
results.
TABLE 191
addTemplate parameters
Parameter
Type
Presence
Rules
Description
name
string
Mandatory
Must match the DOS
8.3 filename format.
The file name under
which the template
will be stored.
area
Mandatory
"ALL_AREAS" and
"PRE_DEFINED_ARE
A" not allowed. If
"READY_TO_USE_AR
EA" is used, the
template must not
be "raw" (lacking
user input required
to execute)
The storage area
where the template
will be stored.
checkForRaw
boolean
Mandatory
If false, bypass the
check for preventing
"raw" templates in
the ready-to-use"
area.
The template
content to be
verified to see
whether it is “raw”.
templateContent
string
Mandatory
Maximum size is
expected to be
approx 750k.
The XML content of
the template
protected in a
"CDATA" wrapper.
TABLE 190
addInputToTemplateFile return values
Name
Type
Description