8.28

自作多情 提交于 2019-11-28 19:55:18
nova/api/openstack/compute/servers.py
nova/compute/api.py
nova/conductor/api.py
nova/conductor/rpcapi.py
nova/conductor/manager.py
nova/compute/rpcapi.py
nova/compute/manager.py
nova/virt/libvirt/driver.py
nova/virt/libvirt/guest.py
nova/virt/libvirt/host.py

ServersController

create()

API

create()

 

_create_instance()

ComputeTaskAPI

schedule_and_build_instances()

ComputeTaskAPI

schedule_and_build_instances(消息)

ComputerTaskManager

schedule_and_build_instances()

ComputeAPI

build_and_run_instance(消息)

ComputeManager

build_and_run_instance()

 

_do_build_and_run_instance()

ComputeDriver父类

spawn()

LibvirtDriver

 

 

_create_domain_and_network()

 

_create_domain()

Guest

Create()

Host

write_instance_config()

self.get_connection().defineXML(xml)
 
LibvirtDriver
 
Guest
Launch()
 
createWithFlags()
virDomainCreateWithFlags

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!