[openstack-dev] [nova] Create an instance with a custom uuid
joehuang
joehuang at huawei.com
Thu Sep 25 00:39:03 UTC 2014
It can also be done by external system to do the mapping of UUID, but not to change the API.
When I develop Windows app, for example CListBox, for each list item, you can set item-data(four bytes). Sometimes I use the item-data to store the index or pointer of the object the item belongs to.
If the user click the list box, and select one item, the regarding object could be find very fast.
This is also not good idea for we have to change the API and “that's ripe for a DOS“ (rpodolyaka at mirantis.com<mailto:rpodolyaka at mirantis.com>).
So I admit that I give +1 too early. Thanks to Joe and rpodolyaka.
Best Regards
Chaoyi Huang ( Joe Huang )
发件人: Joe Gordon [mailto:joe.gordon0 at gmail.com]
发送时间: 2014年9月25日 1:23
收件人: OpenStack Development Mailing List (not for usage questions)
主题: Re: [openstack-dev] [nova] Create an instance with a custom uuid
Whats the use case for this? We should be thorough when making API changes like this.
On Wed, Sep 24, 2014 at 6:56 AM, joehuang <joehuang at huawei.com<mailto:joehuang at huawei.com>> wrote:
+1.
Or at least provide a way to specify an external UUID for the instance, and can retrieve the instance through the external UUID which may be linked to external system's object.
Chaoyi Huang ( joehuang )
________________________________________
发件人: Pasquale Porreca [pasquale.porreca at dektech.com.au<mailto:pasquale.porreca at dektech.com.au>]
发送时间: 2014年9月24日 21:08
收件人: openstack-dev at lists.openstack.org<mailto:openstack-dev at lists.openstack.org>
主题: [openstack-dev] [nova] Create an instance with a custom uuid
Hello
I would like to be able to specify the UUID of an instance when I create
it. I found this discussion about this matter:
https://lists.launchpad.net/openstack/msg22387.html
but I could not find any blueprint, anyway I understood this
modification should not comport any particular issue.
Would it be acceptable to pass the uuid as metadata, or should I instead
modify the api if I want to set the UUID from the novaclient?
Best regards
--
Pasquale Porreca
DEK Technologies
Via dei Castelli Romani, 22
00040 Pomezia (Roma)
Mobile +39 3394823805<tel:%2B39%203394823805>
Skype paskporr
_______________________________________________
OpenStack-dev mailing list
OpenStack-dev at lists.openstack.org<mailto:OpenStack-dev at lists.openstack.org>
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
_______________________________________________
OpenStack-dev mailing list
OpenStack-dev at lists.openstack.org<mailto:OpenStack-dev at lists.openstack.org>
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140925/d2826c01/attachment.html>
More information about the OpenStack-dev
mailing list