3–Fabric Zoning Classes
QLGC_ZoningService : CIM_ZoneService
59223-03 E 3-7
CreateZone
Method will create a zone in the zoning database. The output
parameter “Zone” will contain 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 will add 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 the zonealias will be
added to.
ZoneAlias: [required] Reference to the zonealias to be added to
the zone.