beautypg.com

Brocade Network Advisor REST API Guide (Supporting Network Advisor 12.3.0) User Manual

Page 75

background image

Brocade Network Advisor REST API Guide

61

53-1003160-01

Topology

5

Notes

This release supports only FC and GigE ports.

The ports can be retrieved in the context of a resource group, a switch, or an access gateway.
The resource group “All” encompasses all ports while a resource group of type PORT_GROUP
or USER_DEFINED scopes a subset of the ports.

NOTE

In the cases where the URI contains an FC fabric, the FC fabrics can be retrieved in the context
of the FC_FABRIC or USER_DEFINED resource group of fabrics only.

As there is no containment hierarchy within products or ports for FC fabrics, for a
PRODUCT_GROUP, PORT_GROUP or USER_DEFINED resource group, the URIs with an FC
fabric key return an empty list of FC ports.

On a similar note, in the cases where the URI contains the FC switch, FC switches can be
retrieved at the context of FC_FABRIC, PRODUCT_GROUP or USER_DEFINED resource group of
fabrics or products only. As there is no containment hierarchy within ports for FC switches, for
a PORT_GROUP or USER_DEFINED resource group or ports, the URIs with FC switch key return
an empty list of FC ports.

The FC port is keyed by its unique port WWN. The result is FcPortsResponse containing a list
of FcPorts. The responses are paginated.

state

The state of the port. The state type is in the schema.

occupied

Indicates if the port is occupied.

masterPortNumber

The trunk’s master port number for the trunk member ports. For trunk master port, it
will be its own port number. For non-trunk ports, it will have the default value -1.

Property

Description