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“ (rpodoly...@mirantis.com<mailto:rpodoly...@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.gord...@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 
<joehu...@huawei.com<mailto:joehu...@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.porr...@dektech.com.au<mailto:pasquale.porr...@dektech.com.au>]
发送时间: 2014年9月24日 21:08
收件人: openstack-dev@lists.openstack.org<mailto:openstack-dev@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@lists.openstack.org<mailto:OpenStack-dev@lists.openstack.org>
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
_______________________________________________
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org<mailto:OpenStack-dev@lists.openstack.org>
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

_______________________________________________
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to