beautypg.com

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

Page 31

background image

Brocade Network Advisor REST API Guide

17

53-1003160-01

Creating a sample Python client

2

"adEnvironment": false,

"description": null,

"location": null

}

]

}

-----------------------------------------------------------------------------

Get the list of switches under fabric 10:00:00:05:33:A6:B6:17...

Status= 200

List of switches:

{

"fcSwitches": [

{

"statusReason": null,

"fcipLicensed": false,

"autoSnmpEnabled": true,

"state": "UNKNOWN",

"persistentDidEnabled": false,

"lfEnabled": false,

"fcipCapable": false,

"fcsRole": "None",

"maxFcipTunnels": -1,

"maxFcipCircuits": -1,

"wwn": "50:00:51:ED:B1:E5:EF:04",

"type": 41,

"fcrCapable": false,

"portBasedRoutingPresent": false,

"cryptoCapable": false,

"fmsMode": false,

"name": "fcr_xd_1_30",

"defaultLogicalSwitch": false,

"fcipCircuitCapable": false,

"baseSwitch": false,

"virtualFabricId": -1,

"adCapable": false,

"key": "50:00:51:ED:B1:E5:EF:04",

"operationalStatus": "UNKNOWN",

"role": "SUBORDINATE",

"domainId": 1,

"inOrderDeliveryCapable": false,

"dynamicLoadSharingCapable": false

},

{

"statusReason": null,

"fcipLicensed": false,

"autoSnmpEnabled": true,

"state": "UNKNOWN",

"persistentDidEnabled": false,

"lfEnabled": false,

"fcipCapable": false,

"fcsRole": "None",

"maxFcipTunnels": -1,

"maxFcipCircuits": -1,

"wwn": "50:00:51:ED:B1:E1:EE:14",

"type": 40,

"fcrCapable": false,

"portBasedRoutingPresent": false,