Initiator target zoning – Brocade Network Advisor REST API Guide (Supporting Network Advisor 12.3.0) User Manual

Page 146

Advertising
background image

132

Brocade Network Advisor REST API Guide

53-1003160-01

Zoning

5

Initiator target zoning

Carries out initiator-to-target attach and detach operations.

POST URIs

Path parameters

Request parameters

Notes

•

The InitiatorTargetsRequest instance must be formed and sent through the POST request.

•

This URI supports single initiator to single target and single initiator to multiple target zoning.

•

The initiator and targets must be WWNs.

•

The active zone set name will be “NARestZoneSet.”

•

In the case of single initiator – single target zoning, the zone name is
<zoneNamePrefix>_<no colon initiator WWN>_<no colon target WWN>

.

•

In the case of single initiator – multiple target zoning, the zone name will be
<zoneNamePrefix>_<no colon initiator WWN>

.

•

At least one initiator and one target in the input are mandatory.

•

In the event that initiator or targets contain white spaces, they will be removed and the
operation will proceed as usual.

URI

Description

<BASE_URI>/resourcegroups/rgkey/fcfabrics/fcfkey/att
ach

Carries out initiator-to-target attach operations.

<BASE_URI>/resourcegroups/rgkey/fcfabrics/fcfkey/det
ach

Carries out initiator-to-target detach operations.

Name

Description

rgkey

Resource group identifier.

fcfkey

FC fabric identifier.

Name

Description

lsanZoning

Whether this is an LSAN operation (case-sensitive, use either true or false).

zoneNamePrefix

This parameter is by default NARestZone unless specified. For LSAN zoning, the prefix is
fixed as LSAN. All LSAN zone names start with LSAN_.

initiator

The WWN of the initiator.

targets

The WWN of the targets.

activate

Whether to activate the zoneset (case-sensitive, use either true or false).

edgeFabricWwns

The principal WWNs of the edge fabrics to which the LSAN zones must be propagated. This
parameter is applicable for LSAN zoning only.

Advertising