-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Sounds like a question for openstack-dev@ actually...
On 07/02/2015 02:08 AM, Rajat Nagpal wrote: > Hi guys, > > 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. > > 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. You may be interested in checking: https://github.com/openstack/neutron/blob/master/neutron/api/v2/base.py# L106 And overall the whole file. That's where API requests map to plugin methods. Ihar -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJVnltMAAoJEC5aWaUY1u573sUIANjrKCt8fDJ6iICl9gUdmHoY IBnowofIpD5E6Y2ekFvEBKoZYZNEFVjc+7P/95KUEIEGlBh98u7HB9NtsFMFcUv4 Ux+s+FipIEooa0lVK1Jo0LQb6XktTlVyoOl03D0ASkJYMQqcg2Oin2+C/r54L1/1 x16nI+EtVg4/dv2TJQ/qCxEvPT3l7NVZgElw+TbQ4Z8iHQTY6vC0umP0tKbLtwut CbvJhYmEvHiF2j84r+3yrL1mZCBXRYUDJpHYbqpr0e+PZXmZsi1H/7y4qokYS7Lq 7XELOnPnORK+7Yhk4itUo5821BGEGsSSDSdcSv2Su2aJb1bSXNL4cm0/QmWV1dY= =UX/k -----END PGP SIGNATURE----- _______________________________________________ OpenStack-operators mailing list [email protected] http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
