The format of the template information (XML file) is shown below. The part that can be coded when the software parameter setting function is used is the softwareOptions tag part (shown in bold):
<?xml version="1.0" encoding="UTF-8" ?> <template version="2.0"> <id>[Template ID]</id> <lcid>[Locale ID]</lcid> <name>[Template name]</name> <baseTemplateId>[Base template ID]</baseTemplateId> <ownerOrg>[Owner (tenant)]</ownerOrg> <ownerUser>[Owner (user)]</ownerUser> <publicCategory>[Public category]</publicCategory> <designSheetPath>[Path to the design sheet]</designSheetPath> <releaseDate>[Release date]</releaseDate> <numOfMaxVnet>[Maximum number of VNETs]</numOfMaxVnet> <numOfMaxVm>[Maximum number of VMs]</numOfMaxVm> <productId>[Model number]</productId> <description>[Description]</description> <keyword>[Search keyword]</keyword> <estimate>[Rough cost estimate]</estimate> <license>[License]</license> <support>[Support]</support> <vnets> <vnet> <id>[Network ID]</id> <name>[Name]</name> <numOfMaxVm>[Maximum number of VMs]</numOfMaxVm> <resourceId>[Network resource ID]</resourceId> <category>[Network type]</category> <segmentType>[Segment type information]</segmentType> |
Descriptions and settings are shown below about the items (tags) that can be coded when the software parameter setting function is used.
Tag names in square brackets [ ] can be omitted.
Tag name | Format | Setting range | Description | Mandatory | Settings |
---|---|---|---|---|---|
[ softwareOptions ] | - | - | Specify this item if displaying the software parameter setup options. | No | |
softwareOption | - | 1 or more | The softwareOption for each software package included in the virtual server. | No | |
softwareId | string | 1 to 32 Bytes | The software ID that sets up the parameter. | Yes | Specify the software ID included in the virtual server. It is necessary for the software information to be associated with software setup information. |
choices | - | - | The parameter information that are the options. | No | The first element becomes the default. |
parameterInfoId | string | 1 or more 1 to 32 Bytes | The parameter information ID. | Yes | Specify the registered parameter information ID. The software setup information for the parameter information must be the same as the software setup information associated with the software. |
The meanings of the symbols in the Mandatory column are as follows:
Yes: If a tag was specified, you must specify the value.
Optional: Value can be omitted.
No: A value setting is not required. Tag only specification.