HP 8/20q HP StorageWorks 8/20q and SN6000 Fibre Channel Switch CIM Agent Refer - Page 34

Request Status Codes, Invalid Parameter: Invalid zoneset name.

Page 34 highlights

Parameters: • ZoneSetName: [required] String naming the zoneset to be created. Must be unique within the zoning database. • ZoneSet: [out] reference to the newly constructed ZoneSet object. Returns: • 0-Success • 4-Failed • 5-Invalid Parameter: Invalid zoneset name. • 6-Access Denied: Switch is being configured by another user. Request Status Codes: • CIM_ERR_ACCESS_DENIED: User does not have authorization for this command. • CIM_ERR_INVALID_PARAMETER: One or more required parameters are missing. • CIM_ERR_NOT_FOUND: The ZoningService instance was not found. • CIM_ERR_FAILED: If the response is an error message containing an instance of CIM_Error and CIM_Error.MessageID=FC5-ZoningObject already exists. • The zoneset already exists. The path to the existing zoneset may be found in the CIM_Error.ErrorSource property. CreateZone Method createss a zone in the zoning database. The output parameter Zone contains a reference to the newly created zone object. Parameters: • ZoneName: [required] Name of zone to be created. Must be unique within the zoning database. • ZoneType: [required] Must contain the value 2=Default. A soft zone is created. • ZoneSubType: [optional] Ignored, subtype does not apply to default type. • Zone: [out] Reference to the newly constructed Zone object. Returns: • 0-Success • 4-Failed • 5-Invalid Parameter: Invalid zone name, or invalid zone type. • 6-Access Denied: Switch is being configured by another user. Request Status Codes: • CIM_ERR_ACCESS_DENIED: User does not have authorization for this command. • CIM_ERR_INVALID_PARAMETER: One or more required parameters are missing. • CIM_ERR_NOT_FOUND: The ZoningService instance was not found. • CIM_ERR_FAILED: If the response is an error message containing an instance of CIM_Error and CIM_Error.MessageID=FC5-ZoningObject already exists. • The zone already exists. The path to the existing zone may be found in the CIM_Error.ErrorSource property. AddZoneAlias Method adds a zone alias to a zone in the zoning database by creating an instance of association class MemberOfZone linking the alias and the zone together. Parameters: • Zone: [required] Reference to the zone to be added to the zonealias. • ZoneAlias: [required] Reference to the ZoneAlias to be added to the zone. Returns: • 0-Success • 4-Failed • 5-Invalid Parameter: May not configure active zone. 34 Fabric Zoning Classes

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60

34
Fabric Zoning Classes
Parameters:
ZoneSetName
: [required] String naming the zoneset to be created. Must be unique within the
zoning database.
ZoneSet
: [out] reference to the newly constructed
ZoneSet
object.
Returns:
0
Success
4
Failed
5
Invalid Parameter: Invalid zoneset name.
6
Access Denied: Switch is being configured by another user.
Request Status Codes:
CIM_ERR_ACCESS_DENIED
: User does not have authorization for this command.
CIM_ERR_INVALID_PARAMETER
: One or more required parameters are missing.
CIM_ERR_NOT_FOUND
: The ZoningService instance was not found.
CIM_ERR_FAILED
: If the response is an error message containing an instance of
CIM_Error
and
CIM_Error.MessageID=FC5-ZoningObjec
t already exists.
The zoneset already exists. The path to the existing zoneset may be found in the
CIM_Error.ErrorSource
property.
CreateZone
Method createss a zone in the zoning database. The output parameter
Zone
contains a reference
to the newly created zone object.
Parameters:
ZoneName
: [required] Name of zone to be created. Must be unique within the zoning
database.
ZoneType
: [required] Must contain the value
2=Default
. A soft zone is created.
ZoneSubType
: [optional] Ignored, subtype does not apply to default type.
Zone
: [out] Reference to the newly constructed Zone object.
Returns:
0
Success
4
Failed
5
Invalid Parameter: Invalid zone name, or invalid zone type.
6
Access Denied: Switch is being configured by another user.
Request Status Codes:
CIM_ERR_ACCESS_DENIED
: User does not have authorization for this command.
CIM_ERR_INVALID_PARAMETER
: One or more required parameters are missing.
CIM_ERR_NOT_FOUND
: The
ZoningService
instance was not found.
CIM_ERR_FAILED
: If the response is an error message containing an instance of
CIM_Error
and
CIM_Error.MessageID=FC5-ZoningObject
already exists.
The zone already exists. The path to the existing zone may be found in the
CIM_Error.ErrorSource
property.
AddZoneAlias
Method adds a zone alias to a zone in the zoning database by creating an instance of association
class
MemberOfZone
linking the alias and the zone together.
Parameters:
Zone
: [required] Reference to the zone to be added to the zonealias.
ZoneAlias
: [required] Reference to the
ZoneAlias
to be added to the zone.
Returns:
0
Success
4
Failed
5
Invalid Parameter: May not configure active zone.