[openstack-dev] No route matched for POST

Vijay B os.vbvs at gmail.com
Tue Mar 11 02:22:46 UTC 2014


Hi,

I'm trying to implement a new extension API in neutron, but am running into
a "No route matched for POST" on the neutron service.

I have followed the instructions in the link
https://wiki.openstack.org/wiki/NeutronDevelopment#API_Extensions when
trying to implement this extension.

The extension doesn't depend on any plug in per se, akin to security groups.

I have defined a new file in neutron/extensions/, called Tag.py, with a
class Tag extending class extensions.ExtensionDescriptor, like the
documentation requires. Much like many of the other extensions already
implemented, I define my new extension as a dictionary, with fields like
allow_post/allow_put etc, and then pass this to the controller. I still
however run into a no route matched for POST error when I attempt to fire
my CLI to create a tag. I also edited the ml2 plugin file
neutron/plugins/ml2/plugin.py to add "tags" to
_supported_extension_aliases, but that didn't resolve the issue.

It looks like I'm missing something quite minor, causing the the new
extension to not get registered, but I'm not sure what.

I can provide more info/patches if anyone would like to take a look, and it
would be very much appreciated if someone could help me out with this.

Thanks!
Regards,
Vijay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140310/1c356cc8/attachment.html>


More information about the OpenStack-dev mailing list