[Kimchi-devel] [RFC] Feature Request (#860) - Support Guest Autostart
Daniel Henrique Barboza
dhbarboza82 at gmail.com
Thu Aug 18 13:57:53 UTC 2016
On 08/18/2016 10:02 AM, Lucio Correia wrote:
> On 16-08-2016 17:04, Bianca Carvalho wrote:
>> Hello,
>>
>> I'm working to implement Support Guest Autostart feature described here:
>> https://github.com/kimchi-project/kimchi/issues/860.
>>
>> Autostart option will be passed in the curl command, for example:
>> curl -u root -H "Content-Type: application/json" -H "Accept:
>> application/json" -k http://localhost:8010/plugins/kimchi/vms/<VM> -X
>> PUT -d '{"autostart": True}'
>>
>> To show if the autostart is on or off: curl -u root -H "Content-Type:
>> application/json" -H "Accept: application/json" -k
>> http://localhost:8010/plugins/kimchi/vms/<VM> -X GET
>>
>> To implement this feature, I was thinking about use dom.setAutostart(1)
>> in update function (vms.py), edit lookup to get params passed in the
>> curl command (using PUT) and include an 'autostart' entry in API.json .
+1
>
> Probably you need to update docs API too.
> I'm fine with it.
+1, please update docs/API.md too.
>
>>
>> Any other suggestion will be welcome.
>>
>> Thanks,
>>
>> Bianca Carvalho
>>
>> _______________________________________________
>> Kimchi-devel mailing list
>> Kimchi-devel at ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/kimchi-devel
>>
>
>
More information about the Kimchi-devel
mailing list