Configuration Manager REST API does not support the AMS2500 or HNAS. To register a VSP:
First create a file with the following code in it. Let's call this file "input.json"
{
"svpIp": "192.0.2.100",
"serialNumber": 123456,
"model": "VSP",
"rmiPort": 1099,
"changeNotificationSetting": {
"isNotifiable": true,
"mappWebServerHttpsPort": 443
}
}
I'm assuming you haven't changed any of the default settings so your ports should be: rmiPort = 1099, and CM REST Port = 443.
Replace "svpIp" with your IP Address of the SVP (same as SN2 IP address)
Replace "serialNumber" with your VSP serial number (can be found in SN2)
Execute the following curl in the same directory as your "input.json" file:
curl -v -H "Accept:application/json" -H "Content-Type:application/json" -u <user>:<password> -X POST --data-binary @./input.json https://localhost:23451/ConfigurationManager/v1/objects/storages
Make sure to replace <user> with your username for the SVP (same one you use for SN2) and the corresponding <password>.
Please see the manual herefor more detailed information about using this command.
Please go to this site to get more samples and more instructions on how to use Configuration Manager REST API.