beautypg.com

Method parameters, Uint32 createormodifyelementfromelements, Method overview – HP SAN Virtualization Services Platform User Manual

Page 86

background image

Method parameters

IN/OUT

Comments

Type

Parameter
Name

IN

If this parameter is NULL, a name is chosen unique to
the system on which the virtual disk will reside.

string

ElementName

IN

On create virtual disk operations, allow only Element-
Type = 2 (Storage VirtualDisk). On modify operations
the ElementType must be specified and match the type
represented by TheElement. Note: The VSM does not
currently support thin provisioning across multiple
storage pools.

uint16

ElementType

OUT

Set this parameter to NULL (not used).

CIM_ConcreteJob
REF

Job

IN

Accepted only if it is NULL, or if the passed in Storage-
Setting reference represents any setting instance of
SNIA_StorageSetting, as long as the following criteria
is met:

DataRedundancy = 1

PackageRedundancy = 0

ExtentStripeLengthMin = 1

UserDataStripeDepthMin = 1

SNIA_StorageSet-
ting

Goal

IN

The desired size of the virtual disk. Fail the operation
if NULL.

unit64[]

Sizes

IN-Required

A reference array to valid HPSVSP_ConfiguredPools.

HPSVSP_Configured-
Pool REF[]

InPools

OUT

The size achieved.

uint64

AchievedSize

IN/OUT

As an in parameter: If NULL, then this is a create op-
eration. If not NULL, this is a modify operation.
As an out parameter: A reference to the
HPSVSP_VirtualDisk created.

HPSVSP_VirtualDisk
REF

TheElement

uint32 CreateOrModifyElementFromElements

Method Overview

This method is used to create StripeSet StorageExtents.

If the TheElement parameter is NULL, then this method serves as a Create operation, otherwise, this
method serves as a Modify operation.

1.

Create StripeSet
StripeSets can be created by specifying the unconfigured HPSVSP_ImportedExtent.
• The InElements parameter must contain one or more HPSVSP_ImportedExtent representing

unconfigured DiskDetails.

• Size parameter is ignored (the implementation relies on the ImportedExtents parameter).

Block Services Package

86