3PAR CIM API Programming Reference for InForm OS 2.3.1 (320-200164 Rev B, February 2010)

5.125
HideLUsFromStorageHardwareIDCollection (Removing Host-Sees VLUNs)
CIM API Programming Reference
[In] CIM_StorageHardwareID REF HardwareID);
HardwareID: Reference to the new StorageHardwareID instance to delete. This is
mandatory.
5.15.0.4 CreateStorageHardwareIDCollection (Creating a Host)
This method creates a StorageHardwareIDCollection (host) and optionally a list of
WWNs/iscsiNames to assign to it. This is useful to define a set of authorized subjects that can
access volumes. This method causes the creation of the
HostedCollection association and
MemberOfCollection association to the members of the IDs parameter.
This operation is similar to “
createhost <hostname>” and “createhost <hostname>
<wwn …>
” or “createhost –iscsi <hostname> <iscsiName>”. The host as specified in
<hostname> must not have existed. If HardwareIDs (WWN/iscsiNames) are not specified,
then only the host is created.
The method signature is described below:
uint32 CreateStorageHardwareIDCollection (
[In] String ElementName,
[In] String HardwareIDs[],
[In] CIM_StorageClientSettingData REF Setting, [2.3.1]
[Out] CIM_SystemSpecificCollection REF Collection);
ElementName: This is the name of the host to create the host HBA WWN/iscsiName on.
The host must not have existed. This corresponds to the
ElementName property of the
StorageHardwareID instance. If the host already exist, use
AddHardwareIDsToCollection instead. This is mandatory.
HardwareIDs: A list of WWN’s/iscsiNames to assign to the host. If this is null, only the host
(without WWN/iscsiName assigned) is created.
Setting: Reference to the StorageClientSettingData containing the OSType
appropriate for this initiator. This refers to an
TPD_StorageClientSettingData which
is equivalent to a host persona; if not specified then the host persona defaults to Generic.
This parameter is added in 2.3.1.
Collection: Reference to the new StorageHardwareIDCollection (host) instance.
Must be NULL on input.