<div dir="ltr">
<p class=""><span class="">Hi guys,</span></p><p class=""><span class="">I want to add a new method i.e add some extension method in the neutron service and want to call this method from the command line interface.The method would actually show the quota usage(absolute limits) just like it shows in nova usage.</span></p>
<p class="">Now I created a new command but I am not able to call the required method.I am entangled in how the request is being converted to routes and how the controller and the specific action is being called and how the mapping is being done.In the following logs, the request url is being converted to some actions and controllers I am specifically interested in how this is happening.<br><span class=""></span></p>
<p class="">2015-07-01 05:05:42.997 12028 DEBUG routes.middleware [-] Matched GET /quotas/af6f77cb6304491fbe7f20b4959b2b4e.json __call__ /usr/local/lib/python2.7/dist-packages/routes/middleware.py:106<br><span class=""></span></p>
<p class=""><span class="">2015-07-01 05:05:42.998 12028 DEBUG routes.middleware [-] Route path: '/quotas/:(id).:(format)', defaults: {'action': u'show', 'controller': <wsgify at 140351464246992 wrapping <function resource at 0x7fa61f303b18>>} __call__ /usr/local/lib/python2.7/dist-packages/routes/middleware.py:108</span></p><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>Thanks,</div>Rajat Nagpal<div><font color="#0000ff"><a href="mailto:rajat.nagpal@sjsu.edu" target="_blank">rajat.nagpal@sjsu.edu</a></font></div><div><font color="#0000ff">+1 4082075248</font></div></div></div>
</div>