Symptoms

As Provider I want to hide the 'Enable Clustered Storage' option on the PACI screen in the PBA Online Store.

Resolution

It can be done by modifying the c2u_other_resources Online Store layout template:

  1. Identify the default storage value

    POA Products > Service Templates > PACI Service Template > Parameters

    Technology and storage types

    It can either be local storage (then the value is local) or Parallels Cloud Storage (the value is pcs). More information about the meaning of the option can be found in the documentation.

    If you have a default value set to two possible values (e.g. {"VM":{"pcs":"allowed","local":"default"},"CT":{"pcs":"allowed","local":"default"}}), but intend to use only one, change it accordingly, e.g. without clustered storage the value shall look like {"VM":{"local":"default"},"CT":{"local":"default"}}

  2. Add the template to the list of customized ones in the PBA Provider Control Panel at Products > Online Store > Layout Templates > Add Standard Layout.

  3. Click on the added template and click "Edit".

  4. In the section <!-- Show Managed Kernel, Clustered Storage -->

    • change

      {if $resClass.id == 'managed_kernel' || $resClass.id == 'allowed_storage'}
      

      to

      {if $resClass.id == 'managed_kernel' }
      
    • after the section

      <label for="{$resClass.id}_check" class="resourseClassTitle">
      {$resClass.title}
      </label>
      {/if}
      

      add the following 5 lines:

      {if $resClass.id == 'allowed_storage'}
      <div id="{$resClass.id}_div">
      <input type="hidden" name="allowed_storage" id="allowed_storage" value="local">
      {/if}
      </div>
      

    Instead of "local" insert the value from the step 1 (it can be pcs, then the clusted storage will be enabled by default without possibility to disable).

  5. Save the changes.
  6. Synchronize the store for changes to be applied.
  7. Make sure "Enable Clustered Storage" is not visible in the on-line store and it is possible to place an order and provision the subscription correctly.

Internal content