(Supporting Network Advisor 12.3.0)
Table Of Contents
- Contents
- About This Document
- Overview of the Network Advisor REST API
- Getting Started
- Using the Brocade Network Advisor REST API
- Introduction
- Logging in and out
- Specifying content type
- Versioning (backward compatibility)
- Using the Topology API
- Using the SAN Fabric Discovery API
- Using the Traffic Flow API
- Using the Summary Data API
- Using the Events API
- Using the Zoning API
- Using the Historical Performance Data API
- Fibre Channel Routing
- Handling errors
- Use Cases
- API Reference
- Request and Response Schemas
- Topology
- SAN fabric discovery
- Summary data
- SummaryResponse
- StatusSummary
- AssetClassificationSummary
- NetworkObjectCountSummary
- EventsSummary
- BottleneckViolationsSummary
- OutOfRangeViolationsSummary
- PortHealthViolationsSummary
- VmViolationsSummary
- SummariesResponse
- PortsMonitorSummaryData
- MonitorDistributionData
- ProductsMonitorSummaryData
- FlowMonitorSummaryData
- Events
- Zoning
- Historical performance data
- Authentication and session management

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.