[openstack-dev] The extra_resource in compute node object
Jiang, Yunhong
yunhong.jiang at intel.com
Mon Jan 13 22:13:53 UTC 2014
> -----Original Message-----
> From: Dan Smith [mailto:dms at danplanet.com]
> Sent: Monday, January 13, 2014 6:35 AM
> To: Jiang, Yunhong; Murray, Paul (HP Cloud Services) (pmurray at hp.com)
> Cc: openstack-dev at lists.openstack.org
> Subject: Re: The extra_resource in compute node object
>
> > This patch set makes the extra_resources a list of object, instead of
> > opaque json string. How do you think about that?
>
> Sounds better to me, I'll go have a look.
>
> > However, the compute resource object is different with current
> > NovaObject, a) it has no corresponding table, but just a field in
> > another table, and I assume it will have no save/update functions. b)
> > it defines the functions for the object like alloc/free etc. Not sure
> > if this is correct direction.
>
> Having a NovaObject that isn't backed by a conventional SQLAlchemy
> model
> is fine with me, FWIW.
Thanks, please give any feedback on the gerrit. If it's ok, I will update the patch.
--jyh
More information about the OpenStack-dev
mailing list