So, there are a few things which happen here. VM provisioning is handled by the compute driver (checkout run_instance in nova/compute/manager.py). Scheduling however is handled by the scheduler, which has a plugin system (checkout nova/scheduler/*).
Also, you'd be better off browing git for the source code ( http://github.com/openstack/nova.git) instead of the system installed files. Cheers, Michael On Mon, Apr 29, 2013 at 7:14 PM, Deepak Jeswani1 <[email protected]>wrote: > Hello everyone, > > I am trying to understand the flow of control in code in openstack for > provisioning a VM. I want to understand it in order to do modify scheduler > module as per our requirements. > > I have found the code base which, if I am not wrong, is kept in > /usr/share/pyshared/nova/* directory but I can't see .py files getting > accessed or executed if I provision a VM. > > Can someone please help me to understand the flow of code or give me > pointers from where I can understand it. I hope even if I know the starting > point (REST handler for VM provisioning call) in code then I will be able > to trace it. > > Thanks > > Regards > Deepak > > Deepak Jeswani > Software Engineer, > Distributed Systems Group, > IBM Research-India > > > _______________________________________________ > Mailing list: https://launchpad.net/~openstack > Post to : [email protected] > Unsubscribe : https://launchpad.net/~openstack > More help : https://help.launchpad.net/ListHelp > >
_______________________________________________ Mailing list: https://launchpad.net/~openstack Post to : [email protected] Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp

