HPE Storage Users Group https://3parug.org/ |
|
3PAR WSAPI examples? https://3parug.org/viewtopic.php?f=17&t=2370 |
Page 1 of 1 |
Author: | apol [ Mon Jan 30, 2017 4:36 am ] |
Post subject: | 3PAR WSAPI examples? |
Hi everybody, when scripting 3PAR-stuff, we so far simply call cli.exe with appropriate switches. I was wondering: Does anybody use wsapi for day to day scripting, and could perhaps share a basic script showing the usage? The HPE 3PAR Web Services API 1.5 Developer’s Guide contains stuff like "Because 3PAR CLI scripts need to process CLI-generated text, Hewlett Packard Enterprise recommends using WSAPI to automate tasks.", but provides just Java and Perl-examples. |
Author: | natekippen [ Mon Jan 30, 2017 2:50 pm ] |
Post subject: | Re: 3PAR WSAPI examples? |
I use it for reporting. I took the perlite example and wrote a powershell script thyat followed the example. |
Author: | apol [ Wed Feb 01, 2017 7:09 am ] |
Post subject: | Re: 3PAR WSAPI examples? |
I tried the same, but failed when translating curl - parameters to the appropriate Invoke-Webrequest - parameters... I keep getting an "The underlying connection was closed: Could not establish trust relationship for the SSL/TLS", because I don't know what -k is in powershell |
Author: | nsnidanko [ Wed Feb 01, 2017 9:16 am ] |
Post subject: | Re: 3PAR WSAPI examples? |
Take a look at my Powershell example http://blog.gptnet.net/?p=304 |
Author: | apol [ Thu Feb 02, 2017 1:52 am ] |
Post subject: | Re: 3PAR WSAPI examples? |
nsnidanko, thank you very much. This is exactly what I was looking for! |
Author: | swann [ Thu Feb 23, 2017 10:15 am ] |
Post subject: | Re: 3PAR WSAPI examples? |
I'm new around here, so maybe this is silly. Buy y'all know about this? https://github.com/hpe-storage/python-3parclient |
Author: | apol [ Fri Feb 24, 2017 1:33 am ] |
Post subject: | Re: 3PAR WSAPI examples? |
I know it's around, but we use powershell. Our management environment is windows only, and ps is "just there". |
Page 1 of 1 | All times are UTC - 5 hours |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |