Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
{
"name":"a new template",
"description":"this is a test",
"categoryName":"simpaticos",
"diskFileFormat":"VMDK_FLAT",
"requiredCpu":1,
"requiredHDInMB":2,
"requiredRamInMB":256
}

 


Sample XML template

Code Block
<template>
    <name>theDiskName</name>
    <description>theDiskDescription</description>
    <categoryName>Test others</categoryName>    
    <diskFileFormat>VHD_FLAT</diskFileFormat>
    <requiredCpu>1</requiredCpu>
    <requiredRamInMB>512</requiredRamInMB>
    <requiredHDInMB>10</requiredHDInMB>
    <!-- optional attributes -->
    <iconUrl />
    <loginPassword />
    <loginUser />
    <diskControllerType />
    <ethernetDriverType />
    <osType />
    <osVersion />    
</template>

...