Hi-<div><br></div><div>I'm trying to understand the NOVA api request process flow. </div><div><br></div><div>Using my custom script, testing.py, I have created a server with some metadata. It was successful.  But I have modified to script this way.</div>
<div><br></div><div>I have written a definition, metadetailserver(self,detailed=True,search_opts=sMetadata) in a custom file testing.py which uses the novaclient apis.</div><div><br></div><div>the sMetadata is a dict with the following values: sMetadata = {"key":"Created By","value":"TestApp.py"}</div>
<div><br></div><div>Also, in the wsgi.py, I have handled this method for framing the request as "server/metadetail/" with the metadata values as options using URLencode. </div><div><br></div><div>But then I understood that in nova/api/compute/__init__.py have routers and resource handlers which map the request to the respective controller and methods.</div>
<div><br></div><div>I want to know on</div><div><br></div><div>  [1] How to map the request to the appropriate controller and method ?</div><div><br></div><div>With respect to my code study, I came to know that there are view builders which frame the response in XML or Json formats. </div>
<div><br></div><div>  [2] How to hook a self/newly defined view builder with the new method.</div><div><br></div><div><br></div><div>In the code flow study, I was confused or lost at certain points of request flow. </div>
<div><br></div><div>Can any one kindly help me understand the same.</div><div><br></div><div>Thanks in advance.</div><div><br></div><div><br></div><div><div><br></div>-- <br>Regards,<br>----------------------------------------------<br>
Trinath Somanchi,<div>+91 9866 235 130</div><br>
</div>