Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

1) storage.overprovisioning.factor: Used for storage overprovisioning calculation; available storage will be (actualStorageSize * overprovisioningfactor)

 Here we introduce new API called updateStorageLevelParameter. During the addition of storage pool default values will be set to these parameters, later we can use this API to modify the value as per needed for each storage.

Schema:

We will add the name value pairs of these storge level parameters in the storage_pool_details table as key value pairs*.*

...

API name

Existing API Parameters

New optional API Parameters

API Response

updateConfiguration

name: the name of the configuration
value: the value of the configuration

zoneid: ID of the zone
clusterid: ID of the cluster
storagepoolid storageid: ID of the storagepool
accountid: ID of the acount

updateconfigurationresponse with scope and updated value 

listConfiguration

category: lists configurations by category
name: lists configuration by name

zoneid: ID of the zone
clusterid: ID of the cluster
storagepoolid storageid: ID of the storagepool
accountid: ID of the acount

listconfigurationsresponse with scope and value at the corresponding scope of the parameters.

...