<?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: Configure catalog item instance config to provision to a default folder in HPE Morpheus Enterprise</title>
    <link>https://community.hpe.com/t5/hpe-morpheus-enterprise/configure-catalog-item-instance-config-to-provision-to-a-default/m-p/7249183#M2357</link>
    <description>&lt;P&gt;yep, should be a value like &lt;CODE style="background : #f0f1f2;"&gt;group-vxxx&lt;/CODE&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 16 Jan 2023 14:38:00 GMT</pubDate>
    <dc:creator />
    <dc:date>2023-01-16T14:38:00Z</dc:date>
    <item>
      <title>Configure catalog item instance config to provision to a default folder</title>
      <link>https://community.hpe.com/t5/hpe-morpheus-enterprise/configure-catalog-item-instance-config-to-provision-to-a-default/m-p/7249180#M2354</link>
      <description>&lt;P&gt;Each tenant has a folder in vCenter, we need the catalog item to default to that folder when the catalog item is ordered.&lt;/P&gt;
&lt;P&gt;This variable in the catalog config section needs to be set to the default tenant folder in the cloud&lt;/P&gt;
&lt;P&gt;“type”: “MSWin”,&lt;/P&gt;
&lt;P&gt;“config”: {&lt;/P&gt;
&lt;P&gt;“createUser”: false,&lt;/P&gt;
&lt;P&gt;“isEC2”: false,&lt;/P&gt;
&lt;P&gt;“isVpcSelectable”: true,&lt;/P&gt;
&lt;P&gt;“noAgent”: false,&lt;/P&gt;
&lt;P&gt;“smbiosAssetTag”: null,&lt;/P&gt;
&lt;P&gt;“nestedVirtualization”: null,&lt;/P&gt;
&lt;P&gt;“vmwareFolderId”: “/”,&lt;/P&gt;
&lt;P&gt;“resourcePoolId”: “&amp;lt;%= customOptions.selectedrespool %&amp;gt;”,&lt;/P&gt;
&lt;P&gt;“poolProviderType”: null&lt;/P&gt;
&lt;P&gt;},&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jan 2023 12:31:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-morpheus-enterprise/configure-catalog-item-instance-config-to-provision-to-a-default/m-p/7249180#M2354</guid>
      <dc:creator />
      <dc:date>2023-01-16T12:31:54Z</dc:date>
    </item>
    <item>
      <title>Re: Configure catalog item instance config to provision to a default folder</title>
      <link>https://community.hpe.com/t5/hpe-morpheus-enterprise/configure-catalog-item-instance-config-to-provision-to-a-default/m-p/7249181#M2355</link>
      <description>&lt;P&gt;No this does not apply to resource pool. You have to specify the resource pool in the catalog item’s JSON config. However you can set a default resource pool per cloud in Morpheus.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2023 16:29:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-morpheus-enterprise/configure-catalog-item-instance-config-to-provision-to-a-default/m-p/7249181#M2355</guid>
      <dc:creator />
      <dc:date>2023-01-18T16:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: Configure catalog item instance config to provision to a default folder</title>
      <link>https://community.hpe.com/t5/hpe-morpheus-enterprise/configure-catalog-item-instance-config-to-provision-to-a-default/m-p/7249182#M2356</link>
      <description>&lt;P&gt;This is really useful , would the same apply to the resource pool?&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2023 15:24:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-morpheus-enterprise/configure-catalog-item-instance-config-to-provision-to-a-default/m-p/7249182#M2356</guid>
      <dc:creator>kevkerr1</dc:creator>
      <dc:date>2023-01-18T15:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: Configure catalog item instance config to provision to a default folder</title>
      <link>https://community.hpe.com/t5/hpe-morpheus-enterprise/configure-catalog-item-instance-config-to-provision-to-a-default/m-p/7249183#M2357</link>
      <description>&lt;P&gt;yep, should be a value like &lt;CODE style="background : #f0f1f2;"&gt;group-vxxx&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jan 2023 14:38:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-morpheus-enterprise/configure-catalog-item-instance-config-to-provision-to-a-default/m-p/7249183#M2357</guid>
      <dc:creator />
      <dc:date>2023-01-16T14:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: Configure catalog item instance config to provision to a default folder</title>
      <link>https://community.hpe.com/t5/hpe-morpheus-enterprise/configure-catalog-item-instance-config-to-provision-to-a-default/m-p/7249184#M2358</link>
      <description>&lt;ASIDE class="quote group-Morpheus-Team quote-modified" data-username="wabbas" data-post="1" data-topic="776"&gt;
wabbas:
&lt;BLOCKQUOTE&gt;
&lt;P&gt;"vmwareFolderId” : “/”&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;/ASIDE&gt;
&lt;P&gt;Is it this bit that is required to be substituded with the default folder that is currently assigned to the tenant that is provisioning the catalog?&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jan 2023 14:18:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-morpheus-enterprise/configure-catalog-item-instance-config-to-provision-to-a-default/m-p/7249184#M2358</guid>
      <dc:creator>cdtaylor</dc:creator>
      <dc:date>2023-01-16T14:18:49Z</dc:date>
    </item>
    <item>
      <title>Re: Configure catalog item instance config to provision to a default folder</title>
      <link>https://community.hpe.com/t5/hpe-morpheus-enterprise/configure-catalog-item-instance-config-to-provision-to-a-default/m-p/7249185#M2359</link>
      <description>&lt;ASIDE class="quote group-Morpheus-Team" data-username="wabbas" data-post="8" data-topic="776"&gt;
wabbas:
&lt;BLOCKQUOTE&gt;
&lt;P&gt;endpoint and translation script to get the default pool set on the cloud.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;/ASIDE&gt;
&lt;P&gt;Hey Wabbas,&lt;/P&gt;
&lt;P&gt;Just got around to revisiting this, although I have a work around which is having a resource pool field in the catalog item that displays the only resource pool that the tenant has access too via permissions on the cloud, it doesnt seem possible to create a default resource pool for a tenant , it seems you can create one per cloud but not per tenant.&lt;/P&gt;
&lt;P&gt;Have any changes been made to allow auto select of the resource pool in the JSON or as part of the provisioning in the later versions?&lt;/P&gt;
&lt;P&gt;This is what i have in my JSON, folder defaults by using the “/” would be useful if resource pool could do the same.&lt;/P&gt;
&lt;P&gt;“config”: {&lt;BR /&gt;
“poolProviderType”: null,&lt;BR /&gt;
“isVpcSelectable”: true,&lt;BR /&gt;
“smbiosAssetTag”: null,&lt;BR /&gt;
“isEC2”: false,&lt;BR /&gt;
“resourcePoolId”: “&amp;lt;%=customOptions.selectedResourcePool%&amp;gt;”,&lt;BR /&gt;
“createUser”: true,&lt;BR /&gt;
“nestedVirtualization”: null,&lt;BR /&gt;
“vmwareFolderId”: “/”,&lt;BR /&gt;
“noAgent”: false&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 15 Aug 2023 15:03:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-morpheus-enterprise/configure-catalog-item-instance-config-to-provision-to-a-default/m-p/7249185#M2359</guid>
      <dc:creator>kevkerr1</dc:creator>
      <dc:date>2023-08-15T15:03:35Z</dc:date>
    </item>
    <item>
      <title>Re: Configure catalog item instance config to provision to a default folder</title>
      <link>https://community.hpe.com/t5/hpe-morpheus-enterprise/configure-catalog-item-instance-config-to-provision-to-a-default/m-p/7249186#M2360</link>
      <description>&lt;P&gt;Removing the resource pool from JSON config will not work as Morpheus doesn’t automatically assign the default pool when ordering the catalog item.&lt;/P&gt;
&lt;P&gt;But you can use custom options list with the following endpoint and translation script to get the default pool set on the cloud.&lt;/P&gt;
&lt;P&gt;Endpoint:&lt;BR /&gt;
api/zones/cloud_id_here/resource-pools&lt;/P&gt;
&lt;P&gt;Translation Script:&lt;/P&gt;
&lt;PRE style="background : #f0f1f2;"&gt;&lt;CODE class="lang-auto"&gt;for(var x=0;x &amp;lt; data.resourcePools.length; x++) {
    
    poolName = data.resourcePools[x].name;
    poolId = data.resourcePools[x].id;
    isDefaultPool = data.resourcePools[x].defaultPool;

    if (isDefaultPool){//Get default pool
        results.push({name:poolName,value:poolId});
    }
    
}
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 19 Jan 2023 10:27:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-morpheus-enterprise/configure-catalog-item-instance-config-to-provision-to-a-default/m-p/7249186#M2360</guid>
      <dc:creator />
      <dc:date>2023-01-19T10:27:39Z</dc:date>
    </item>
    <item>
      <title>Re: Configure catalog item instance config to provision to a default folder</title>
      <link>https://community.hpe.com/t5/hpe-morpheus-enterprise/configure-catalog-item-instance-config-to-provision-to-a-default/m-p/7249187#M2361</link>
      <description>&lt;P&gt;The following configuration works if we are setting the default folder in Morpheus.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;
&lt;P&gt;Navigate to Infrastructure &amp;gt;&amp;gt; Cloud &amp;gt;&amp;gt; select VMware cloud &amp;gt;&amp;gt; Resource.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Under ‘Folders’, Click ‘Actions &amp;gt;&amp;gt; Edit’ on the folder that you want to assign to a specific tenant.&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;/P&gt;&lt;DIV class="lightbox-wrapper"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="folder"&gt;&lt;img src="https://community.hpe.com/t5/image/serverpage/image-id/149684iBE75A43F20E67DC4/image-size/large?v=v2&amp;amp;px=2000" role="button" title="bdd9c020f664c4fd28c2b3a2f1834c6d0eab15cc.png" alt="bdd9c020f664c4fd28c2b3a2f1834c6d0eab15cc.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;
&lt;OL start="3"&gt;
&lt;LI&gt;Search for the tenant you want to assign this folder to, and check the default checkbox next to it and save changes.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;/P&gt;&lt;DIV class="lightbox-wrapper"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="editFolder2"&gt;&lt;img src="https://community.hpe.com/t5/image/serverpage/image-id/149510iA91DA3246E7C6381/image-size/large?v=v2&amp;amp;px=2000" role="button" title="6b4e3a058912568a89d516e63e83f45e058cb446.png" alt="6b4e3a058912568a89d516e63e83f45e058cb446.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;
&lt;OL start="4"&gt;
&lt;LI&gt;On the JSON config for the catalog item, remove the ‘vmwareFolderId’ attribute completely and save the catalog.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;When provisioning with this setup Morpheus will automatically create the VMs in the default folder assigned to the tenant on step 3.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2023 15:09:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-morpheus-enterprise/configure-catalog-item-instance-config-to-provision-to-a-default/m-p/7249187#M2361</guid>
      <dc:creator />
      <dc:date>2023-01-18T15:09:53Z</dc:date>
    </item>
    <item>
      <title>Re: Configure catalog item instance config to provision to a default folder</title>
      <link>https://community.hpe.com/t5/hpe-morpheus-enterprise/configure-catalog-item-instance-config-to-provision-to-a-default/m-p/7249188#M2362</link>
      <description>&lt;P&gt;I was thinking perhaps remove from the json and set as default then it should work?&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2023 16:49:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-morpheus-enterprise/configure-catalog-item-instance-config-to-provision-to-a-default/m-p/7249188#M2362</guid>
      <dc:creator>kevkerr1</dc:creator>
      <dc:date>2023-01-18T16:49:01Z</dc:date>
    </item>
  </channel>
</rss>

