...
A remote template repository is indexed by a template definition list in the Abiquo API.
Creating
...
template definition lists
- API: use the Create a Template Definition List call in the TemplateDefinitionListResource:
- from an OVF index URL: https://wiki.abiquo.com/api/latest/TemplateDefinitionListsResource.html#create-a-template-definition-list-from-ovf-index-url
- from individual template definitions
- GUI: open the remote template repository in the GUI and the UI client will create a default template definition list from the ovfindex.html
- The Abiquo UI only displays the templates included in the ovfindex.html
- Other templates can be accessed using the Abiquo API and the link to the template
When you download a template definition to the datacenter, a virtual machine template is created, which means, for example, that the virtual machine system disk will stored in the Apps library (NFS repository).
Creating a
...
template definition list from template definitions
- Create an empty template definition list
- To include a template definition in the list:
- Edit the template definition to add the template definition list link
- Perform a PUT on the template definition
Modifying
...
template definitions
The PUT on a template definition is only designed for creating template definition lists. A template definition is created in Abiquo to provide users with information about the templates they have access to. When users select a template to add to their Apps Library, that template will be downloaded using the links to the template components. This means that changes to the values stored for the template in Abiquo are not made to the template in the remote template repository.
API
...
template download
You can simulate a download from a remote repository to the appliance library by exposing a template disk via HTTP.
The post to create a virtual machine template definition takes a link to an OVF file. The API will retrieve this OVF file and download the associated files (disk file, icon).
Create a template from a template definition
Promote an instance or
...
duplicate a template or
...
export a template
Basic template modifications
For example to change the name of a template.
Upload an OVA file
Upload a disk to a template or replace a disk
Appliance manager template API upload and download
...