[Users] Fwd: API usage - 3.1

2013-01-13 Thread Eli Mesika


- Forwarded Message -
From: Tom Brown t...@ng23.net
To: users users@ovirt.org
Sent: Friday, January 11, 2013 6:27:03 PM
Subject: [Users] API usage - 3.1

Trying to get going adding VM's via the API and so far have managed to get 
quite far - I am however facing this

vm_template = vm
name%s/name
cluster
  nameDefault/name
/cluster
template
  nameBlank/name
/template
vm_typeserver/vm_type
memory536870912/memory
os
  boot dev=hd/
/os
/vm

The VM is created but the type ends up being a desktop and not a server - 

What did i do wrong?

Michael, can you take a look at this ? Thanks

thanks
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Fwd: API usage - 3.1

2013-01-13 Thread Michael Pasternak

Hi Tom,

  Original Message 
 Subject: [Users] API usage - 3.1
 Date: Fri, 11 Jan 2013 16:27:03 +
 From: Tom Brown t...@ng23.net
 To: users users@ovirt.org
 
 Trying to get going adding VM's via the API and so far have managed to get 
 quite far - I am however facing this
 
 vm_template = vm
 name%s/name
 cluster
   nameDefault/name
 /cluster
 template
   nameBlank/name
 /template
 vm_typeserver/vm_type
 memory536870912/memory
 os
   boot dev=hd/
 /os
 /vm
 
 The VM is created but the type ends up being a desktop and not a server -
 
 What did i do wrong?

the name of the element is type (not vm_type).

 
 thanks
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 
 


-- 

Michael Pasternak
RedHat, ENG-Virtualization RD
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users