<div dir="ltr"><div>Sharing the thread below with the list.</div><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Shao-Da Huang</b> <span dir="ltr">&lt;<a href="mailto:sdhuang32@gmail.com">sdhuang32@gmail.com</a>&gt;</span><br>Date: Tue, Mar 13, 2018 at 11:23 AM<br>Subject: Re: question about importing VMware-produced OVA<br>To: Arik Hadas &lt;<a href="mailto:ahadas@redhat.com">ahadas@redhat.com</a>&gt;<br><br><br><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class="">2018-03-13 15:51 GMT+08:00 Arik Hadas <span dir="ltr">&lt;<a href="mailto:ahadas@redhat.com" target="_blank">ahadas@redhat.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div><div class="gmail_extra"><div class="gmail_quote"><span>On Tue, Mar 13, 2018 at 6:10 AM, Shao-Da Huang <span dir="ltr">&lt;<a href="mailto:sdhuang32@gmail.com" target="_blank">sdhuang32@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Arik,<div><br></div><div>I&#39;m Michael, an oVirt user from Taiwan, and I&#39;m trying to import OVAs produced by VMware into my data center.</div><div>I&#39;ve tried the functionality in the &#39;Virtual Machine&#39; tab -&gt; Import -&gt; Source &#39;VMware Virtual Appliance (OVA)&#39;, but I wanna know that is there a corresponding REST API so I can use it to automate this procedure?</div><div><br></div><div>I found the</div><div>

<span class="m_-5676556151620524139m_7495646437703297366gmail-m_3615207391543449344gmail-hljs-title" style="box-sizing:border-box;color:rgb(51,51,51);font-weight:bold;font-family:&quot;Droid Sans Mono&quot;,&quot;DejaVu Sans Mono&quot;,monospace;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:pre-wrap;word-spacing:0px">POST</span><span style="color:rgb(51,51,51);font-family:&quot;Droid Sans Mono&quot;,&quot;DejaVu Sans Mono&quot;,monospace;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:pre-wrap;word-spacing:0px;background-color:rgb(248,248,248);float:none;display:inline"> /externalvmimports  </span><span style="color:rgb(51,51,51);font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:pre-wrap;word-spacing:0px;background-color:rgb(248,248,248);float:none;display:inline"><font face="arial, helvetica, sans-serif">API,</font></span></div><div><span style="color:rgb(51,51,51);font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:pre-wrap;word-spacing:0px;background-color:rgb(248,248,248);float:none;display:inline"><font face="arial, helvetica, sans-serif">but it seems not to be used for OVA.</font></span></div></div></blockquote><div><br></div></span><div>Hi Michael,<br></div><div><br></div><div>You can import an OVA via REST-API using that post command. Let&#39;s say that you would like to import an OVA that is located in /home/user/vm.ova on host &#39;myhost&#39; then you should set the host to &#39;myhost&#39;, the URL to &#39;ova:///home/user/vm.ova&#39; and the provider to VMware.</div><div><br></div><div>Please let me know if that did the trick.</div></div></div></div></blockquote><div><br></div></span><div>

<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Thank you very much! It works!</span>

<br></div><span class=""><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div></div><div>Btw, any reason not to send this to the users-list? </div></div></div></div></blockquote></span><span class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><span style="color:rgb(51,51,51);font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:pre-wrap;word-spacing:0px;background-color:rgb(248,248,248);float:none;display:inline"><font face="arial, helvetica, sans-serif">If no such REST API exists, how to use CLI commands combinations to achieve the same goal as in the engine UI?</font></span></div><div><span style="color:rgb(51,51,51);font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:pre-wrap;word-spacing:0px;background-color:rgb(248,248,248);float:none;display:inline"><font face="arial, helvetica, sans-serif"><br></font></span></div><div><span style="color:rgb(51,51,51);font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:pre-wrap;word-spacing:0px;background-color:rgb(248,248,248);float:none;display:inline"><font face="arial, helvetica, sans-serif">Could you give me some advices?</font></span></div></div>
</blockquote></span></div><br></div></div>
</blockquote></span></div><br></div></div>
</div><br></div>