NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

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

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

Rutul
5,065 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
5,040 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