Re: [ADSM-L] Script to register node using Curl and Rest API
2016-04-01 14:13:11
That referenced page indicates a POST command to register a node.
Does anyone know if the TSM server itself has (or is planned to support) the
ability to listen to REST requests?
Richard
-----Original Message-----
From: ADSM: Dist Stor Manager [mailto:ADSM-L AT VM.MARIST DOT EDU] On Behalf Of
Anderson Douglas
Sent: Friday, April 01, 2016 1:31 PM
To: ADSM-L AT VM.MARIST DOT EDU
Subject: [ADSM-L] Script to register node using Curl and Rest API
Hello
Here we have started news tests using REST API through Operation center. We
adopted Curl to send the commands.
Some commands like this below runs normally
curl -X GET -H "Accept: application/json" -H "OC-API-Version: 1.0" -k --user
aaa:bbb https://xx.xx.xx.xx:11090/oc/api/help
curl -X PUT -H "Accept: application/json" -H "OC-API-Version: 1.0" -k --user
aaa:bbb https://xx.xx.xx.xx:11090/oc/api/servers/<inst>/clients/<node>/unlock
Now we need to implementade a rest command to register a node into TSM, But not
able. Does anyone know how to do this?
This is a link with REST API supportable commands
http://www-01.ibm.com/support/docview.wss?uid=swg21973011
Anderson Douglas da Silva
|
|
|