beautypg.com

Asset classification summary, Get uris path parameters example – Brocade Network Advisor REST API Guide (Supporting Network Advisor 12.3.0) User Manual

Page 96

background image

82

Brocade Network Advisor REST API Guide

53-1003160-01

Summary data

5

Asset classification summary

Retrieves asset classification summary data. The returned summary is
AssetClassificationSummary. This contains a list of entries, one for each ClassificationCategory.
Each entry shows the AssetClassification for that particular ClassificationCategory.

GET URIs

Path parameters

Example

The following is an example of returned summary data in the JSON format, showing the following
information:

One of the classification categories is LOCATION.

There is one Marginal Brocade 5300 switch under the classification category “MODEL.”

There is one healthy product with the software “_main_bld06” under the classification
category “FIRMWARE_VERSION.”

{"summary":

{"classificationCounts":

{"LOCATION":

{"counts":

{"End User Premise.":

{"category":"End User Premise.",

"count":{"statusCounts":{"HEALTHY":10,"DOWN":2,"MARGINAL":11}}}},

"category":"LOCATION"},

"MODEL":

{"counts":

{"Brocade 300":

{"category":"Brocade 300",

"count":{"statusCounts":{"HEALTHY":1}}},

"Brocade 5300":

{"category":"Brocade 5300",

"count":{"statusCounts":{"MARGINAL":1}}},

"Brocade 8000":

{"category":"Brocade 8000",

"count":{"statusCounts":{"DOWN":1}}},

"Brocade DCX-4S":

{"category":"Brocade DCX-4S",

"count":{"statusCounts":{"DOWN":1}}},

"Brocade 6505":

URI

Description

/resourcegroups/rgkey/assetclassifications
ummary

Retrieves asset classification summary data for the
specified resource group.

/resourcegroups/rgkey/fcfabrics/fcfkey/ass
etclassificationsummary

Retrieves asset classification summary data for the
specified FC fabric.

Name

Description

rgkey

Resource group identifier.

fcfkey

FC fabric identifier.