<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 = """<vm></div><div><name>%s</name></div><div><cluster></div><div> <name>Default</name></div><div></cluster></div><div><template></div><div> <name>Blank</name></div><div></template></div><div><type>server</type></div><div><memory>536870912</memory></div><div><display></div><div> <type>vnc</type></div><div></display></div><div><os></div><div> <boot dev="hd"/></div><div> <boot dev="cdrom"/></div><div></os></div><div><cdrom></div><div> <cdrom id="cobbler-base.iso"/></div><div></cdrom></div><div></vm>"""</div></div><br></body></html>