Inventory
The following are the Inventory REST APIs:
Status
The following table details the API Response code, status and, the HTTPS methods.
|
|
|
200 |
OK |
GET |
202 |
Accepted |
POST PUT DELETE |
400 |
Bad Request |
GET POST PUT DELETE |
401 |
Unauthorized |
GET POST PUT DELETE |
403 |
Forbidden |
GET POST PUT DELETE |
404 |
Not Found |
GET POST PUT DELETE |
405 |
Method Not Allowed |
GET POST PUT DELETE |
500 |
Internal Server Error |
GET POST PUT DELETE |
Resource Name
/san/ getFabricWithSnmpCredentail_fromDB
Description
Enables to discover fabrics.
URL
https://dcnm-ip/fm/fmrest/san/getFabricWithSnmpCredentail_fromDB
Return Value
Format: JSON
Type: Object
|
|
|
Rst.toJSONString() |
A |
Array of DBEntryDO Objects |
Resource Name
/inventory/switches
Description
Get all discovered SAN switches
URL
https://dcnm-ip/fm/fmrest/inventory/switches
Return Value
Format: JSON
Type: Object
|
|
|
|
ServerResponse |
Array of SwitchDO objects |
Resource Name
/inventory/endports
Description
Get all end ports
URL
https://dcnm-ip/fm/fmrest/statistics/endports
Return Value
Format: JSON
Type: Object
|
|
|
|
ServerResponse |
List of all EndPortDO objects |
Get all End Ports Performance
Resource Name
/statistics/endportStat
Description
Get all end ports counters
URL
https://dcnm-ip/fm/fmrest/statistics/endportStat
Return Value
Format: JSON
Type: Object
|
|
|
|
ServerResponse |
List of all StatisticsDataDO objects |
Get all San Ethernet Ports
Resource Name
/statistics/SanGigEStat
Description
Get all Ethernet ports under SAN
URL
https://dcnm-ip/fm/fmrest/statistics/SanGigEStat
Return Value
Format: JSON
Type: Object
|
|
|
|
ServerResponse |
List of all StatisticsDataDO objects |
Resource Name
/statistics/sanIslStat
URL
https://dcnm-ip/fm/fmrest/statistics/sanIslStat
Return Value
Format: JSON
Type: Object
|
|
|
|
ServerResponse |
List of all StatisticsDataDO objects |
Resource Name
/inventory/modules
Description
Get all modules
URL
https://dcnm-ip/fm/fmrest/inventory/modules
Return Value
Format: JSON
Type: Object
|
|
|
|
ServerResponse |
List of all DBEntryDO objects |
Resource Name
/inventory/vsans
Description
Get all VSANs.
URL
https://dcnm-ip/fm/fmrest/inventory/vsans
Return Value
Format: JSON
Type: Object
|
|
|
|
ServerResponse |
List of all VsanDO Objects |
Resource Name
/inventory/licenses
Description
Enables you to get all licenses
URL
https://dcnm-ip/fm/fmrest/inventory/licenses
Return Value
Format: JSON
Type: Object
|
|
|
License |
A |
List of all License Objects |
Get Host/Storage Enclosed List
Resource Name
/statistics/portGroupStat
Description
Get the Host's enclosure List or Storage Enclosure list
URL
https://dcnm-ip/fm/fmrest/statistics/portGroupStat
Parameter
|
|
|
type |
string |
Type of the object Host: type=Host%20Enclosures Storage: type=Storage%20Enclosures |
Return Value
Format: JSON
Type: Object
|
|
|
|
ServerResponse |
List of StatisticsDataDO objects |
Resource Name
/statistics/portGroupStat
Description
Get the group groups
URL
https://dcnm-ip/fm/fmrest/statistics/portGroupStat
Parameter
|
|
|
type |
string |
Type of the object type=Port%20Groups |
Return Value
Format: JSON
Type: Object
|
|
|
|
ServerResponse |
List of StatisticsDataDO objects |
Resource Name
/inventory/zones
Description
Get the regular zones
URL
https://dcnm-ip/fm/fmrest/inventory/zones
Return Value
Format: JSON
Type: Object
|
|
|
|
ServerResponse |
List of ZoneDO objects |
Resource Name
/statistics/lanIslstat
Description
Get all ISLs under LAN
URL
https://dcnm-ip/fm/fmrest/statistics/lanIslstat
Return Value
Format: JSON
Type: Object
|
|
|
|
ServerResponse |
List of all StatisticsDataDO objects |
Get all LAN Ethernet Ports
Resource Name
/statistics/LanEthernetStat
Description
Get all Ethernet ports under LAN
URL
https://dcnm-ip/fm/fmrest/statistics/LanEthernetStat
Return Value
Format: JSON
Type: Object
|
|
|
|
ServerResponse |
List of StatisticsDataDO objects |
Resource Name
/san/getEthSwitchAll
Description
Enables you to discover LAN devices
URL
https://dcnm-ip/fm/fmrest/san/getEthSwitchAll
Return Value
Format: JSON
Type: Object
|
|
|
|
string |
DBEntryDO.toJSONString() |
Resource Name
/storage/getSmisProviders
Description
Get all discovered SMIS Storage providers
URL
https://dcnm-ip/fm/fmrest/storage/getSmisProviders
Return Value
Format: JSON
Type: Object
|
|
|
Rst |
string |
SMISProviderListDO.toJSONString(), SMISProvderListDO object which is an array of SMISProviderDO. SMISProviderDO is dbId:long; provId:int; fmServer:String; ns:String; interopns:String; url:String; username:String; port:int; secure:boolean; vendor:String; select:String; status:String; managedstatus:String; lastUpdated:String; version:String; |
Get Storage Providers worker status
Resource Name
/storage/getWorkerStatus
Description
Get all discovered SMIS Storage worker status
URL
https://dcnm-ip/fm/fmrest/storage/getWorkerStatus
Parameter
|
|
|
smisWorker |
SMISProviderWorkerDO |
A array of SMIS provider. SMISProviderWorkerDO - providerList:SMISProviderDO[], password:String, fmserver:String. Note SMISProviderDO is dbId:long; provId:int; fmServer:String; ns:String; interopns:String; url:String; username:String; port:int; secure:boolean; vendor:String; select:String; status:String; managedstatus:String; lastUpdated:String; version:String; |
Return Value
Format: JSON
Type: Object
|
|
|
Rst.toJSONString() |
string |
SMISProviderListDO.toJSONString(), SMISProvderListDO object which is an array of SMISProviderDO. SMISProviderDO is dbId:long; provId:int; fmServer:String; ns:String; interopns:String; url:String; username:String; port:int; secure:boolean; vendor:String; select:String; status:String; managedstatus:String; lastUpdated:String; version:String; |
Resource Name
/san/getVirtualCenters
Description
Get all discovered Virtual Centers
URL
https://dcnm-ip/fm/fmrest/san/getVirtualCenters
Return Value
Format: JSON
Type: Object
|
|
|
|
string |
DBEntryDO.toJSONString() |