<div dir="ltr"><div><div><div><b>i just want to understand as to how the request goes from the api-call to the nova-api and so on after that.<br><br></b></div>To answer "so on after that", in addition to josh answer, you can also look into <a href="http://ilearnstack.com/2013/04/26/request-flow-for-provisioning-instance-in-openstack/">http://ilearnstack.com/2013/04/26/request-flow-for-provisioning-instance-in-openstack/</a>.<br><br></div>Now to answer first part, "i just want to understand as to how the request goes from the api-call to the nova-api":<br></div>You can look into <b><a href="http://developer.openstack.org/api-ref.html">http://developer.openstack.org/api-ref.html</a></b>, particularly in <b><a href="http://developer.openstack.org/api-ref-compute-v2.1.html">http://developer.openstack.org/api-ref-compute-v2.1.html</a><br></b><div><div><div><div><div><div><div><div><br></div></div></div></div></div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Aug 29, 2015 at 8:39 AM, Joshua Harlow <span dir="ltr"><<a href="mailto:harlowja@outlook.com" target="_blank">harlowja@outlook.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I made the following some time ago,<br>
<br>
<a href="https://wiki.openstack.org/wiki/RunInstanceWorkflows" rel="noreferrer" target="_blank">https://wiki.openstack.org/wiki/RunInstanceWorkflows</a><br>
<br>
<a href="https://wiki.openstack.org/w/images/a/a9/Curr-run-instance.png" rel="noreferrer" target="_blank">https://wiki.openstack.org/w/images/a/a9/Curr-run-instance.png</a><br>
<br>
That may be useful for u, (it may also not be that up to date),<br>
<br>
Cheers,<br>
<br>
Josh<br>
<br>
Dhvanan Shah wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
Hi,<br>
<br>
I'm trying to trace a request made for an instance and looking at the<br>
flow in the code.<br>
I'm just trying to understand better how the request goes from the<br>
dashboard to the nova-api , to the other internal components of nova and<br>
to the scheduler and back with a suitable host and launching of the<br>
instance.<br>
<br>
i just want to understand as to how the request goes from the api-call<br>
to the nova-api and so on after that.<br>
I have understood the nova-scheduler and in that, the filter_scheduler<br>
receives something called request_spec that is the specifications of the<br>
request that is made, and I want to see where this comes from. I was not<br>
very successful in reverse engineering this.<br>
<br>
I could use some help as I want to implement a scheduling algorithm of<br>
my own but for that I need to understand how and where the requests come<br>
in and how the flow works.<br>
<br>
If someone could guide me as to where i can find help or point in some<br>
direction then it would be of great help.<br>
--<br>
Dhvanan Shah<br>
<br></div></div>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</blockquote>
<br>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Vedsar Kushwaha<br></div><div>SDE@Amazon Development Center<br></div><div dir="ltr"><div>Past - Indian Institute of Science</div></div></div></div></div></div></div>
</div>