Brocade Network Advisor SMI Agent Developers Guide v12.3.0 User Manual

Page 48

Advertising
background image

32

Brocade Network Advisor SMI Agent Developer’s Guide

53-1003159-01

Fabric profile

3

•

Create a LSAN_Zone2, add WWN of Host, Target1, Target3, and activate the same zone. As the
LSAN_Zone2 has devices from fabric1, fabric2, and fabric3, the LSAN_Zone2 is activated to all
the three fabrics.

•

Create LSAN_Zone3 with offline zone members. As the LSAN_Zone3 has only offline members,
the operation is failed with error code 4 (FAILED).

•

Create LSAN_Zone4, add host, and offline members and activate the same zone. It is activated
in fabric1 as the host belongs to fabric1.

•

Adding a zone member:

-

Add member operation is invoked with the input: WWN Target1 on LSAN_Zone1.

-

The member is added to the zone in the fabric1 and fabric3. A copy of the zone is added to
the active zoneset of the fabric2.

-

The following are the extrinsic calls used for this operation:

Activate the SAN zoning session with SANSessionControl (RequestedSessionState=2).

Add zone members with AddSANZoneMembers (SANZoneName=LSAN_Zone1,
ZoneMembers={“Target 1 WWN”}).

Commit the SAN zoning session with SANSessionControl (RequestedSessionState=3).

•

Removing a zone member:

-

Remove member operation is invoked with the input: WWN Target1.

-

The member is removed from the zone in fabric1 and fabric3 and the copy of zone is
removed from the fabric2.

-

The following extrinsic calls are used for this operation:

Activate the SAN zoning session with SANSessionControl (RequestedSessionState=2).

Remove zone members with RemoveSANZoneMembers
(SANZoneName=LSAN_Zone1, ZoneMembers={“Target 1 WWN”}).

Commit the SAN zoning session with SANSessionControl (RequestedSessionState=3).

•

Delete a zone with input of zone name (LSAN_Zone1). It will be removed from all the edge
fabrics and backbone fabric.

-

The following extrinsic calls are used for this operation:

Activate the SAN zoning session with SANSessionControl (RequestedSessionState=2).

Delete a zone with DeleteSANZone (SANZoneName=LSAN_Zone1).

Commit the SAN zoning session with SANSessionControl (RequestedSessionState=3).

•

Delete a zone with input of zone name (LSAN_Zone7), which is not present in any of the
fabrics. The following error code is returned

-

4 (Failed).<LSAN_Zone7>: SAN Zone name is not found in zone DB.

•

Subscribe BRCD102 indications and create SAN zone with online members. An indication with
message ID BRCD102 is delivered for activation failures.

•

Create SAN zone with the prefix “XSAN_”, add some zones member WWNs, and activate the
zone. As there are invalid zone names, the failure error code 5
(CIM_ERR_INVALID_PARAMETER) is returned.

•

Add some Domain:PortIndex zone members in the SAN zone. Due to invalid zone members,
the error code 5 (CIM_ERR_INVALID_PARAMETER) is returned.

Advertising