ServerMania logo

Get List of OVAs

To view the list of OVAs, use the following request:

GET /template_ovas.xml
GET /template_ovas.json

XML Request Example

curl -i -X GET -u user:userpass --url http://test/template_ovas.xml -H 'Accept: application/xml' -H 'Content-type: application/xml'

JSON Request Example

curl -i -X GET -u user:userpass --url http://test/template_ovas.json -H 'Accept: application/json' -H'Content-type: application/json'

XML Output Example

<image_template_ovas type="array">
  <image_template_ova>
    <id type="integer">103</id>
    <label>centos6.7</label>
	<created_at type="dateTime">2017-04-05T14:38:41+03:00</created_at>
	<updated_at type="dateTime">2017-05-29T13:59:47+03:00</updated_at>
	<version>1.0</version>
	<file_name>ufwfmvuhloyjsv.tar.gz</file_name>
	<operating_system>other</operating_system>
	<operating_system_distro>other</operating_system_distro>
	<allowed_swap type="boolean">false</allowed_swap>
	<state>active</state>
	<checksum nil="true"/>
	<allow_resize_without_reboot nil="true"/>
	<user_id nil="true"/>
	<template_size type="integer">228344</template_size>
	<allowed_hot_migrate type="boolean">false</allowed_hot_migrate>
	<operating_system_arch>x64</operating_system_arch>
	<operating_system_edition nil="true"/>
	<operating_system_tail nil="true"/>
	<parent_template_id nil="true"/>
	<virtualization type="array">
	    <virtualization>kvm</virtualization>
	</virtualization>
	<min_memory_size type="integer">1024</min_memory_size>
	<disk_target_device nil="true"/>
	<cdn type="boolean">false</cdn>
	<backup_server_id type="integer">1</backup_server_id>
	<ext4 type="boolean">false</ext4>
	<smart_server type="boolean">false</smart_server>
	<baremetal_server type="boolean">false</baremetal_server>
	<initial_password>Password1</initial_password>
	<initial_username>root</initial_username>
	<remote_id nil="true"/>
	<manager_id>ufwfmvuhloyjsv</manager_id>
	<resize_without_reboot_policy nil="true"/>
	<application_server type="boolean">false</application_server>
	<draas type="boolean">false</draas>
	<properties>
	  <cpus type="integer">1</cpus>
	  <vmdks type="array">
	    <vmdk>centos6.7-disk1.vmdk</vmdk>
	  </vmdks>
	  <uuid>96b1b976-1e74-492f-921e-27a0e4a1eff6</uuid>
	</properties>
	<locked type="boolean">false</locked>
	<type>ImageTemplateOva</type>
  </image_template_ova>
  <image_template_ova>...</image_template_ova>
</image_template_ovas>


Where:

id - the ID of the OVA file

label - the title of the OVA file

created_at - the time when the OVA template was created, in [YYYY][MM][DD]T[hh][mm][ss]Z

updated_at - the time when the OVA template was updated, in [YYYY][MM][DD]T[hh][mm][ss]Z

version - the version of the OVA file

file_name - the name of the OVA tar.gz file

operating_system - the operating system of OVA

operating_system_distro - the operating system distribution of OVA

state - the status of the OVA template 

template_size - the size of the OVA template

allowed_hot_migrate - true if hot migration for VS created from this OVA is enabled, otherwise, false

operating_system_arch - the architecture of the OVA file (x86 or x64) 

virtualization - the virtualization type of the converted OVA template (kvm or vcenter)

min_memory_size - the minimum memory size required to build VS from this OVA template (MB). It is not possible to set the memory size less than the RAM set in the OVA file itself.

backup_server_id - the ID of the backup server where OVA is stored

initial_password - the initial password for vCenter-based OVA templates

initial_username - the initial username for vCenter-based OVA templates

properties - the attributes of OVA template:

  • cpus - the amount of OVA CPUs
  • vmdks - the label of a vmdk disk
  • grub - the GRUB version
  • uuid - the ID of the OVA template in the database

type - the type of the image template


The following output parameters do not currently apply to OVAs:

allowed_swap 

checksum 

allow_resize_without_reboot

user_id

operating_system_edition 

operating_system_tail 

parent_template_id 

disk_target_device 

cdn 

ext4 

smart_server 

baremetal_server 

remote_id 

manager_id

resize_without_reboot_policy

application_server

draas

locked


Page History

v.6.3 Edge 1

  • added grub parameter

v.5.7

  • moved the following parameters to those that can be applied to OVAs:
    • operating_system_arch
    • initial_password
    • initial_username 

v.5.5

  • added the allowed_hot_migrate parameter

  • removed the min_disk_size parameter