<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: vCenter REST API - deploy from ovf template in VMware vCenter™ Discussions</title>
    <link>https://communities.vmware.com/t5/VMware-vCenter-Discussions/vCenter-REST-API-deploy-from-ovf-template/m-p/1829854#M26745</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Do you have any response from VMware. I am having similar issue while deploying library item from API&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Mar 2019 13:16:51 GMT</pubDate>
    <dc:creator>avseelam</dc:creator>
    <dc:date>2019-03-18T13:16:51Z</dc:date>
    <item>
      <title>vCenter REST API - deploy from ovf template</title>
      <link>https://communities.vmware.com/t5/VMware-vCenter-Discussions/vCenter-REST-API-deploy-from-ovf-template/m-p/1829851#M26742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to deploy from an ovf template. The following body with the "&lt;EM&gt;&lt;SPAN class="path"&gt;&lt;SPAN class="toggleOperation"&gt;/com/vmware/vcenter/ovf/library-item/id:{ovf_library_item_id}?~action=deploy&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/EM&gt;" function is already working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "deployment_spec": {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "accept_all_EULA": true,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "default_datastore_id": "datastore-30598",&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #e23d39;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "network_mappings": [&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #e23d39;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #e23d39;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "key": "4000",&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #e23d39;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "value": "network-154"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #e23d39;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #e23d39;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "name": "AATest08"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; },&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "target": {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "folder_id": "group-v5920",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "host_id": "host-1934",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "resource_pool_id": "resgroup-43"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is, that the network parameters (marked in red) are getting completly ignored. How can i fix that? What am i doing wrong?&lt;/P&gt;&lt;P&gt;Sadly, i cant find any examples on the web. I hope you guys can help me out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2019 14:29:11 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-vCenter-Discussions/vCenter-REST-API-deploy-from-ovf-template/m-p/1829851#M26742</guid>
      <dc:creator>Larch</dc:creator>
      <dc:date>2019-02-26T14:29:11Z</dc:date>
    </item>
    <item>
      <title>Re: vCenter REST API - deploy from ovf template</title>
      <link>https://communities.vmware.com/t5/VMware-vCenter-Discussions/vCenter-REST-API-deploy-from-ovf-template/m-p/1829852#M26743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;did You check if this Port Group related with MOiD "network-154" exists on a host?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Feb 2019 13:44:14 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-vCenter-Discussions/vCenter-REST-API-deploy-from-ovf-template/m-p/1829852#M26743</guid>
      <dc:creator>vmrale</dc:creator>
      <dc:date>2019-02-28T13:44:14Z</dc:date>
    </item>
    <item>
      <title>Re: vCenter REST API - deploy from ovf template</title>
      <link>https://communities.vmware.com/t5/VMware-vCenter-Discussions/vCenter-REST-API-deploy-from-ovf-template/m-p/1829853#M26744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi vmrale&lt;/P&gt;&lt;P&gt;Thank you for the response.&lt;/P&gt;&lt;P&gt;Yes the Network-154 is in the Port-Group of the Host i used to depoy the template.&lt;/P&gt;&lt;P&gt;I will contact the vmWare support and post the solution here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Mar 2019 08:35:38 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-vCenter-Discussions/vCenter-REST-API-deploy-from-ovf-template/m-p/1829853#M26744</guid>
      <dc:creator>Larch</dc:creator>
      <dc:date>2019-03-12T08:35:38Z</dc:date>
    </item>
    <item>
      <title>Re: vCenter REST API - deploy from ovf template</title>
      <link>https://communities.vmware.com/t5/VMware-vCenter-Discussions/vCenter-REST-API-deploy-from-ovf-template/m-p/1829854#M26745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Do you have any response from VMware. I am having similar issue while deploying library item from API&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Mar 2019 13:16:51 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-vCenter-Discussions/vCenter-REST-API-deploy-from-ovf-template/m-p/1829854#M26745</guid>
      <dc:creator>avseelam</dc:creator>
      <dc:date>2019-03-18T13:16:51Z</dc:date>
    </item>
    <item>
      <title>Re: vCenter REST API - deploy from ovf template</title>
      <link>https://communities.vmware.com/t5/VMware-vCenter-Discussions/vCenter-REST-API-deploy-from-ovf-template/m-p/1829855#M26746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I dont have any response. But my workaround is to change the network after the deployment.&lt;/P&gt;&lt;P&gt;Helpf for changing the network of an existing VM: &lt;A href="https://vmware.github.io/vsphere-automation-sdk-rest/vsphere/structures/com/vmware/vcenter/vm/hardware/ethernet/svc.update_spec-structure.html" title="https://vmware.github.io/vsphere-automation-sdk-rest/vsphere/structures/com/vmware/vcenter/vm/hardware/ethernet/svc.update_spec-structure.html"&gt;REST API - update_spec&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Mar 2019 07:07:34 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-vCenter-Discussions/vCenter-REST-API-deploy-from-ovf-template/m-p/1829855#M26746</guid>
      <dc:creator>Larch</dc:creator>
      <dc:date>2019-03-19T07:07:34Z</dc:date>
    </item>
    <item>
      <title>Re: vCenter REST API - deploy from ovf template</title>
      <link>https://communities.vmware.com/t5/VMware-vCenter-Discussions/vCenter-REST-API-deploy-from-ovf-template/m-p/1829856#M26747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;update the key to original portgroup name of library item instead of 4000. That did the trick however I cannot use the same code in vRO as it is throwing Java map errors&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Mar 2019 07:24:01 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-vCenter-Discussions/vCenter-REST-API-deploy-from-ovf-template/m-p/1829856#M26747</guid>
      <dc:creator>avseelam</dc:creator>
      <dc:date>2019-03-19T07:24:01Z</dc:date>
    </item>
  </channel>
</rss>

