<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br><blockquote type="cite"><div><br>1. you can find elements names in api schema (download it from [1] on your rhevm server).<br>2. vm creation details/examples can be found at [2].<br><br>[1] <a href="http://server:[port]/api?schema">http://server:[port]/api?schema</a><br>[2] <a href="https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Virtualization/3.1/pdf/Developer_Guide/Red_Hat_Enterprise_Virtualization-3.1-Developer_Guide-en-US.pdf">https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Virtualization/3.1/pdf/Developer_Guide/Red_Hat_Enterprise_Virtualization-3.1-Developer_Guide-en-US.pdf</a><br><font class="Apple-style-span" color="#007427"><br></font></div></blockquote><br></div><div>thankyou - i am however finding it hard to attach an iso image to a VM - I have the console etc sorted however what would be required to do the same with an iso image?</div><div><br></div><div>The below is working apart from the iso</div><div><br></div><div>thanks</div><div><br></div><div><div>vm_template = """&lt;vm&gt;</div><div>&lt;name&gt;%s&lt;/name&gt;</div><div>&lt;cluster&gt;</div><div>&nbsp; &lt;name&gt;Default&lt;/name&gt;</div><div>&lt;/cluster&gt;</div><div>&lt;template&gt;</div><div>&nbsp; &lt;name&gt;Blank&lt;/name&gt;</div><div>&lt;/template&gt;</div><div>&lt;type&gt;server&lt;/type&gt;</div><div>&lt;memory&gt;536870912&lt;/memory&gt;</div><div>&lt;display&gt;</div><div>&nbsp; &lt;type&gt;vnc&lt;/type&gt;</div><div>&lt;/display&gt;</div><div>&lt;os&gt;</div><div>&nbsp; &lt;boot dev="hd"/&gt;</div><div>&nbsp; &lt;boot dev="cdrom"/&gt;</div><div>&lt;/os&gt;</div><div>&lt;cdrom&gt;</div><div>&nbsp; &lt;cdrom id="cobbler-base.iso"/&gt;</div><div>&lt;/cdrom&gt;</div><div>&lt;/vm&gt;"""</div></div><br></body></html>