EF & E-Series, SANtricity, and Related Plug-ins

How to Get the System ID in E-Series using SMCLI

Rutul
4,213 Views

Hi All,

 

We are working on E-Series Automation. We need System ID to call REST API functions.I want to find a system ID of E-Series using SMCLI or any other possible way.

 

Your input on this would be appreciated.

 

Thanks

 

1 REPLY 1

Michael_Price
4,188 Views

Hi Rutul,

 

If you're using the REST API, you can use GET /devmgr/v2/storage-systems to list the systems that have been added to the Web Services Proxy. Each system will have its ID listed in the output. Likewise, when you add a system to the WSP, you should get an ID returned in the response body with this information.

 

Request URL
http://localhost:8080/devmgr/v2/storage-systems
Request Headers
{
"Accept": "application/json"
}
Response Body
[
{
"id": "1",
"name": "1301s01c1",
"wwn": "600A098000A0992A0000000087C8BF0A",
"passwordStatus": "valid",
"passwordSet": true,
"status": "optimal",

...
}

]

 

Thanks,

 

Michael

Public