cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daan Hoogland <daan.hoogl...@gmail.com>
Subject Re: API Calls with key value pairs (Details)
Date Wed, 12 Feb 2014 11:23:21 GMT
Paul, I heard rumours (Alex in the room) but can you confirm that 4.3 is
the version which you are testing?

regards,
Daan


On Wed, Feb 12, 2014 at 11:25 AM, Paul Angus <paul.angus@shapeblue.com>wrote:

>  Hi Devs,
>
>
>
> I've noticed that a few newer API commands are requiring a slightly
> different format, which is to require a details parameter.
>
>
>
> # cloudmonkey create storagepool scope=cluster clusterid=$CLUSTERID
> name=Pri1 podid=$POD1ID zoneid=$ZONEID provider=smb url='"cifs://
> 10.0.1.27/hypervPri/stor/Primary?user=hyperv&password=hyperv13!&domain=angusnet.local
> "'
>
>
>
> : Failed to add data store: Missing cifs user and password details. Add
> them as details parameter.
>
>
>
> And from my S3 testing yesterday:
>
>
>
>
> addImageStore&response=json&sessionkey=sctphRL69EJ5RZdAWIrzfZH7jIo%3D&name=S3Storage&provider=S3&
> *details*%5B0%5D.key=accesskey&*details*
> %5B0%5D.value=AKIAJBYAOXAE7JJYBKEQ&*details*%5B1%5D.key=secretkey&
> *details*%5B1%5D.value=3F76mmMubsZohZAnPutLkxK9adA1XQNBQAMUdv%2FO&
> *details*%5B2%5D.key=bucket&*details*%5B2%5D.value=cloudstack-sec-stor&
> *details*%5B3%5D.key=usehttps&*details*%5B3%5D.value=true&*details*
> %5B4%5D.key=endpoint&*details*%5B4%5D.value=s3.amazonaws.com
> &_=1392125369653
>
>  API Docs:
>
> addImageStoreExample:
> details[0].key=accesskey&details[0].value=s389ddssaa&details[1].key=secretkey&details[1].value=8dshfsss
>
>
>
> The format seems very cumbersome compared to accesskey=<value>
> secretkey=<value> - has this been a community decision to move in this
> direction that I've missed?
>
>
>
> Regards
>
>
>
> Paul Angus
>
> *Senior Consultant / Cloud Architect*
>
>
>
> [image: cid:image002.png@01CE1071.C6CC9C10]
>
>
>
> S: +44 20 3603 0540 <+442036030540> | M: +4 <+447968161581>47711418784 |
> T: @CloudyAngus
>
> paul.angus@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue<https://twitter.com/>
>
> ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS
>
>
>  Need Enterprise Grade Support for Apache CloudStack?
> Our CloudStack Infrastructure Support<http://shapeblue.com/cloudstack-infrastructure-support/>offers
the best 24/7 SLA for CloudStack Environments.
>
> Apache CloudStack Bootcamp training courses
>
> **NEW!** CloudStack 4.2.1 training<http://shapeblue.com/cloudstack-training/>
> 18th-19th February 2014, Brazil. Classroom<http://shapeblue.com/cloudstack-training/>
> 17th-23rd March 2014, Region A. Instructor led, On-line<http://shapeblue.com/cloudstack-training/>
> 24th-28th March 2014, Region B. Instructor led, On-line<http://shapeblue.com/cloudstack-training/>
> 16th-20th June 2014, Region A. Instructor led, On-line<http://shapeblue.com/cloudstack-training/>
> 23rd-27th June 2014, Region B. Instructor led, On-line<http://shapeblue.com/cloudstack-training/>
>
> This email and any attachments to it may be confidential and are intended
> solely for the use of the individual to whom it is addressed. Any views or
> opinions expressed are solely those of the author and do not necessarily
> represent those of Shape Blue Ltd or related companies. If you are not the
> intended recipient of this email, you must neither take any action based
> upon its contents, nor copy or show it to anyone. Please contact the sender
> if you believe you have received this email in error. Shape Blue Ltd is a
> company incorporated in England & Wales. ShapeBlue Services India LLP is a
> company incorporated in India and is operated under license from Shape Blue
> Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil
> and is operated under license from Shape Blue Ltd. ShapeBlue is a
> registered trademark.
>



-- 
Daan

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message