beautypg.com

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

Page 30

background image

16

Brocade Network Advisor REST API Guide

53-1003160-01

Creating a sample Python client

2

"principalSwitchWwn": "10:00:00:05:33:A6:B6:17",

"fabricName": "****8G FABRIC FOR REST******",

"seedSwitchIpAddress": "10.24.33.191",

"virtualFabricId": -1,

"contact": null,

"key": "10:00:00:05:33:A6:B6:17",

"adEnvironment": false,

"description": null,

"location": null

},

{

"seedSwitchWwn": "10:00:00:05:1E:A7:1F:EB",

"name": "10:00:00:05:1E:A7:1F:EB",

"secure": false,

"principalSwitchWwn": "10:00:00:05:1E:A7:1F:EB",

"fabricName": "",

"seedSwitchIpAddress": "10.24.33.195",

"virtualFabricId": -1,

"contact": null,

"key": "10:00:00:05:1E:A7:1F:EB",

"adEnvironment": false,

"description": null,

"location": null

},

{

"seedSwitchWwn": "10:00:00:05:1E:DB:1E:1E",

"name": "10:00:00:05:1E:DB:1E:1E",

"secure": false,

"principalSwitchWwn": "10:00:00:05:1E:DB:1E:1E",

"fabricName": "",

"seedSwitchIpAddress": "10.24.33.193",

"virtualFabricId": -1,

"contact": null,

"key": "10:00:00:05:1E:DB:1E:1E",

"adEnvironment": false,

"description": null,

"location": null

}

]

}

Number of FC fabrics: 3

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

Get fabric '+fabric_key+'details...

Status= 200

Fabric details:

{

"fcFabrics": [

{

"seedSwitchWwn": "10:00:00:05:33:A6:B6:17",

"name": "10:00:00:05:33:A6:B6:17",

"secure": false,

"principalSwitchWwn": "10:00:00:05:33:A6:B6:17",

"fabricName": "****8G FABRIC FOR REST******",

"seedSwitchIpAddress": "10.24.33.191",

"virtualFabricId": -1,

"contact": null,

"key": "10:00:00:05:33:A6:B6:17",