Brocade Network Advisor REST API Guide (Supporting Network Manuel d'utilisateur Page 22

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 190
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 21
8 Brocade Network Advisor REST API Guide
53-1003160-01
Retrieving FC fabrics
2
Retrieving FC fabrics
You can use the REST API to retrieve FC fabrics in the context of a resource group. The resource
group “All” encompasses all fabrics.
To retrieve all fabrics, complete the following steps.
1. Enter the following URI in the URL field:
http://<ip_address>/rest/resourcegroups/All/fcfabrics
2. Define the following HTTP request headers.
3. Set the HTTP request method to GET.
4. Send the request.
The following is an example of fabrics returned by Network Advisor:
{
fcFabrics: [3]
0: {
key: "10:00:00:05:1E:A7:1F:EB"
seedSwitchWwn: "10:00:00:05:1E:A7:1F:EB"
name: "10:00:00:05:1E:A7:1F:EB"
secure: false
adEnvironment: false
contact: null
location: null
description: null
principalSwitchWwn: "10:00:00:05:1E:A7:1F:EB"
fabricName: ""
virtualFabricId: -1
seedSwitchIpAddress: "10.24.33.195"
}
1: {
key: "10:00:00:05:1E:DB:1E:1E"
seedSwitchWwn: "10:00:00:05:1E:DB:1E:1E"
name: "10:00:00:05:1E:DB:1E:1E"
secure: false
adEnvironment: false
contact: null
location: null
description: null
principalSwitchWwn: "10:00:00:05:1E:DB:1E:1E"
fabricName: ""
virtualFabricId: -1
seedSwitchIpAddress: "10.24.33.193"
}
...
}
TABLE 3 Request headers
Header name Value
WStoken The session token header returned after a successful login.
Accept application/vnd.brocade.networkadvisor+json;version=v1
Vue de la page 21
1 2 ... 17 18 19 20 21 22 23 24 25 26 27 ... 189 190

Commentaires sur ces manuels

Pas de commentaire