
--Apple-Mail=_D334F1C7-2C4E-4041-9F48-EAD680C4FF9D Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1
=20 1. you can find elements names in api schema (download it from [1] on = your rhevm server). 2. vm creation details/examples can be found at [2]. =20 [1] http://server:[port]/api?schema [2] = https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Virtuali= zation/3.1/pdf/Developer_Guide/Red_Hat_Enterprise_Virtualization-3.1-Devel= oper_Guide-en-US.pdf =20
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? The below is working apart from the iso thanks vm_template =3D """<vm> <name>%s</name> <cluster> <name>Default</name> </cluster> <template> <name>Blank</name> </template> <type>server</type> <memory>536870912</memory> <display> <type>vnc</type> </display> <os> <boot dev=3D"hd"/> <boot dev=3D"cdrom"/> </os> <cdrom> <cdrom id=3D"cobbler-base.iso"/> </cdrom> </vm>""" --Apple-Mail=_D334F1C7-2C4E-4041-9F48-EAD680C4FF9D Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=iso-8859-1 <html><head></head><body style=3D"word-wrap: break-word; = -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; = "><div><br><blockquote type=3D"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=3D"http://server:[port]/api?schema">http://server:[port]/api?schema</= a><br>[2] <a = href=3D"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_Enter= prise_Virtualization-3.1-Developer_Guide-en-US.pdf</a><br><font = class=3D"Apple-style-span" = color=3D"#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_templ= ate =3D = """<vm></div><div><name>%s</name></div><div><cluster&= gt;</div><div> = <name>Default</name></div><div></cluster></div><div><= template></div><div> = <name>Blank</name></div><div></template></div><div><t= ype>server</type></div><div><memory>536870912</memory>= ;</div><div><display></div><div> = <type>vnc</type></div><div></display></div><div><os&g= t;</div><div> <boot dev=3D"hd"/></div><div> <boot = dev=3D"cdrom"/></div><div></os></div><div><cdrom></div><div=
<cdrom = id=3D"cobbler-base.iso"/></div><div></cdrom></div><div></vm>= ;"""</div></div><br></body></html>=
--Apple-Mail=_D334F1C7-2C4E-4041-9F48-EAD680C4FF9D--