Hi,

I got a feature request to look into parameter completion. I’ve added few 
heuristics to automatically find suitable (list) APIs to get (uuid) options 
that can be used to complete an arg on an API: 
https://github.com/apache/cloudstack-cloudmonkey/commit/633152bf9067ff96e2236b3f9771291cced22dc8

Please note it’s not foolproof since it uses heuristics and approximations, 
only through thorough testing we can find and fix corner cases since there are 
more than 400 APIs to test. At the same time, I think it works for most APIs 
options.

Please help test this feature. To get started, get cloudmonkey’s git repo and 
on master;
- cd cloudmonkey
- python cloudmonkey.py
  - sync
  - set set paramcompletion true
  - deploy virtualmachine templateid=<tab><tab>
  - any other api you want to try

I think you’ll find this feature interesting and useful.

Regards.

> On 27-Oct-2014, at 5:18 pm, Nux! <n...@li.nux.ro> wrote:
>
> It fits all my needs for now, but thanks for asking!
>
> Keep up the good job,
> Lucian
>
> --
> Sent from the Delta quadrant using Borg technology!
>
> Nux!
> www.nux.ro
>
> ----- Original Message -----
>> From: "Rohit Yadav" <rohit.ya...@shapeblue.com>
>> To: "dev" <dev@cloudstack.apache.org>
>> Sent: Monday, 27 October, 2014 10:59:43
>> Subject: [DISCUSS] Paddling for CloudMonkey 5.3.0 release
>
>> Hi,
>>
>> Since CloudMonkey 5.2.0 release, the CloudMonkey master branch has received 
>> few
>> bug fixes and command line usage enhancements such as writing errors to 
>> stderr
>> (correct exit number is still tricky), command line flags to control display
>> behaviours, filters for default output format etc.
>>
>> Please let me know if you need any new feature(s) or issues you would like 
>> to be
>> fixed. Patches and contributions are welcome. I would like to start a release
>> process for 5.3.0 soon. Thanks.
>>
>> Regards,
>> Rohit Yadav
>> Software Architect, ShapeBlue
>> M. +91 88 262 30892 | rohit.ya...@shapeblue.com
>> Blog: bhaisaab.org | Twitter: @_bhaisaab
>>
>> Find out more about ShapeBlue and our range of CloudStack related services
>>
>> IaaS Cloud Design & Build<http://shapeblue.com/iaas-cloud-design-and-build//>
>> CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/>
>> CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
>> CloudStack Infrastructure
>> Support<http://shapeblue.com/cloudstack-infrastructure-support/>
>> CloudStack Bootcamp Training 
>> Courses<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 SA Pty Ltd is a company registered by
>> The Republic of South Africa and is traded under license from Shape Blue Ltd.
>> ShapeBlue is a registered trademark.

Regards,
Rohit Yadav
Software Architect, ShapeBlue
M. +91 88 262 30892 | rohit.ya...@shapeblue.com
Blog: bhaisaab.org | Twitter: @_bhaisaab



Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design & Build<http://shapeblue.com/iaas-cloud-design-and-build//>
CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/>
CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
CloudStack Infrastructure 
Support<http://shapeblue.com/cloudstack-infrastructure-support/>
CloudStack Bootcamp Training Courses<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 SA Pty Ltd is a company 
registered by The Republic of South Africa and is traded under license from 
Shape Blue Ltd. ShapeBlue is a registered trademark.

Reply via email to