Management Software

Reply
Senior Member
Posts: 1
Registered: ‎11-01-2017

Brocade Network Advisor REST API 12.4.2 / 14.0

Hi,

 

I am trying to query FCPorts and retrieve a list of connected Port WWNs. However, when I query FCPorts that have C7000 Enclosure Virtual Connects I am only recieveing one WWN in the JSON response, even if there are additonal WWNs connected via NPIV. 

 

E.g.

JSON response

{

    "fcPorts":  [

                    {

                        "key":  "2E:2D:2D:2D:2D:2D:2D:2D",

                        "wwn":  "2E:2D:2D:2D:2D:2D:2D:2D",

                        "name":  "C7000 Enclosure Bay 5 Port 1",

                        "slotNumber":  3,

                        "portNumber":  45,

                        "userPortNumber":  301,

                        "portId":  "05a5c0",

                        "portIndex":  301,

                        "areaId":  165,

                        "type":  "F_PORT",

                        "status":  "ONLINE",

                        "statusMessage":  "",

                        "lockedPortType":  "U_PORT",

                        "speed":  "8",

                        "speedsSupported":  "2,4,8,10,16",

                        "maxPortSpeed":  16,

                        "desiredCredits":  0,

                        "bufferAllocated":  8,

                        "estimatedDistance":  0,

                        "actualDistance":  0,

                        "longDistanceSetting":  0,

                        "remoteNodeWwn":  "10:00:00:11:0A:00:19:F7",

                        "remotePortWwn":  "20:12:00:11:0A:00:19:F7",

                        "licensed":  true,

                        "swapped":  false,

                        "trunked":  false,

                        "trunkMaster":  false,

                        "persistentlyDisabled":  false,

                        "ficonSupported":  false,

                        "blocked":  false,

                        "prohibitPortNumbers":  null,

                        "prohibitPortCount":  0,

                        "npivCapable":  true,

                        "npivEnabled":  true,

                        "fcFastWriteEnabled":  false,

                        "islRrdyEnabled":  false,

                        "rateLimitCapable":  false,

                        "rateLimited":  false,

                        "qosCapable":  false,

                        "qosEnabled":  false,

                        "fcrFabricId":  0,

                        "state":  "ONLINE",

                        "occupied":  true,

                        "masterPortNumber":  -1

                    }

                ],

    "startIndex":  null,

    "itemsPerPage":  null,

    "totalResults":  null

}

 

Where as a 'Portshow' on the same port produces this result:

 

portWwn of device(s) connected:

        50:06:0b:00:00:c3:1e:3c

        50:06:0b:00:00:c3:1e:14

        20:12:00:11:0a:00:19:f7

 

 

Is there a way to query and return all portWWNs of connected devices via REST and return in JSON? Or am I out of luck?

 

Cheers,

Brad

Join the Community

Get quick and easy access to valuable resource designed to help you manage your Brocade Network.