You can use the ListNodeFibreChannelPortInfo method to list information about the Fibre Channel ports on a node.
This API method is intended for use on individual nodes; a userid and password are required for access to individual Fibre Channel nodes. When used on the cluster, all Fibre Channel interfaces are listed.
This method has no input parameters.
This method has the following return value:
Name | Description | Type |
---|---|---|
fibreChannelPorts | A list of all physical Fibre Channel ports, or a port for a single node. | fibreChannelPort array |
Requests for this method are similar to the following example:
{ "method": "ListNodeFibreChannelPortInfo", "params": { "nodeID": 5, "force": true }, "id" : 1 }
This method returns a response similar to the following example:
{ "id": 1, "result": { "fibreChannelPorts": [ { "firmware": "7.04.00 (d0d5)", "hbaPort": 1, "model": "QLE2672", "nPortID": "0xc7002c", "pciSlot": 3, "serial": "BFE1335E03500", "speed": "8 Gbit", "state": "Online", "switchWwn": "20:01:00:2a:6a:98:a3:41", "wwnn": "5f:47:ac:c8:35:54:02:00", "wwpn": "5f:47:ac:c0:35:54:02:02" }, { "firmware": "7.04.00 (d0d5)", "hbaPort": 2, "model": "QLE2672", "nPortID": "0x06002d", "pciSlot": 3, "serial": "BFE1335E03500", "speed": "8 Gbit", "state": "Online", "switchWwn": "20:01:00:2a:6a:9c:71:01", "wwnn": "5f:47:ac:c8:35:54:02:00", "wwpn": "5f:47:ac:c0:35:54:02:03" }, { "firmware": "7.04.00 (d0d5)", "hbaPort": 1, "model": "QLE2672", "nPortID": "0xc7002a", "pciSlot": 2, "serial": "BFE1335E04029", "speed": "8 Gbit", "state": "Online", "switchWwn": "20:01:00:2a:6a:98:a3:41", "wwnn": "5f:47:ac:c8:35:54:02:00", "wwpn": "5f:47:ac:c0:35:54:02:00" }, { "firmware": "7.04.00 (d0d5)", "hbaPort": 2, "model": "QLE2672", "nPortID": "0x06002a", "pciSlot": 2, "serial": "BFE1335E04029", "speed": "8 Gbit", "state": "Online", "switchWwn": "20:01:00:2a:6a:9c:71:01", "wwnn": "5f:47:ac:c8:35:54:02:00", "wwpn": "5f:47:ac:c0:35:54:02:01" } ] } }
9.6