class ComputeCellsAPI(compute_api.API) 的create函数定义如下,调用的是compute_api.API的create函数,并没有进入cells的调度。
def create(self, *args, **kwargs):
"""We can use the base functionality, but I left this here just
for completeness.
"""
return super(ComputeCellsAPI, self).create(*args, **kwargs)

chagg@foxmail.com
 
发件人: Lingxian Kong
发送时间: 2016-08-10 06:24
收件人: chagg@foxmail.com
抄送: openstack-zh
主题: Re: [Openstack-zh] 请问有谁能把创建虚拟机经过cells调度的流程说明一下,我反复阅读代码也没有发现对cells的调用,谢谢!
https://github.com/openstack/nova/blob/master/nova/api/openstack/compute/servers.py#L150
 
从这里进去找吧。
 
Regards!
-----------------------------------
Lingxian Kong
 
 
On Tue, Aug 9, 2016 at 6:58 PM, chagg@foxmail.com <chagg@foxmail.com> wrote:
>
>
> ________________________________
> chagg@foxmail.com
>
> _______________________________________________
> Openstack-zh mailing list
> Openstack-zh@lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-zh
>