[Users] Fwd: API usage - 3.1

Eli Mesika emesika at redhat.com
Sun Jan 13 03:14:23 EST 2013



----- Forwarded Message -----
From: "Tom Brown" <tom at ng23.net>
To: "users" <users at 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>
  <name>Default</name>
</cluster>
<template>
  <name>Blank</name>
</template>
<vm_type>server</vm_type>
<memory>536870912</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 at ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


More information about the Users mailing list