<div dir="ltr">Hi Aaron!<div><br></div><div>Yes, attaching the code diffs of the client and server. The diff 0001-Frist-commit-to-add-tag-create-CLI.patch needs to be applied on python-neutronclient's master branch, and the diff 0001-Adding-a-tag-extension.patch needs to be applied on neutron's stable/havana branch. After restarting q-svc, please run the CLI `neutron tag-create --name tag1 --key key1 --value val1` to test it out.  Thanks for offering to take a look at this!</div>
























<div><br></div><div>Regards,</div><div>Vijay</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Mar 10, 2014 at 10:10 PM, Aaron Rosen <span dir="ltr"><<a href="mailto:aaronorosen@gmail.com" target="_blank">aaronorosen@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Vijay, <div><br></div><div>I think you'd have to post you're code for anyone to really help you. Otherwise we'll just be taking shots in the dark. </div>
<div><br>Best, </div><div><br>Aaron</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On Mon, Mar 10, 2014 at 7:22 PM, Vijay B <span dir="ltr"><<a href="mailto:os.vbvs@gmail.com" target="_blank">os.vbvs@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
<div dir="ltr">Hi,<div><br></div><div>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.</div><div><br></div><div>I have followed the instructions in the link <a href="https://wiki.openstack.org/wiki/NeutronDevelopment#API_Extensions" target="_blank">https://wiki.openstack.org/wiki/NeutronDevelopment#API_Extensions</a> when trying to implement this extension.</div>


<div><br></div><div>The extension doesn't depend on any plug in per se, akin to security groups.</div><div><br></div><div>I have defined a new file in neutron/extensions/, called Tag.py, with a class Tag extending <span>class </span>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.</div>


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















<div><br></div><div>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.</div><div><br></div><div>Thanks!</div><div>Regards,</div>


<div>Vijay</div>















</div>
<br></div></div>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div>