[openstack-dev] [OpenStack-Dev][All] Api development question

nidhi.hada at wipro.com nidhi.hada at wipro.com
Tue Mar 8 11:34:28 UTC 2016

Hi all,

I am working on a feature for share access in manila.
For that lets say for creating the entity, I created client and server

I am stuck as my client request is not able to reach server resource
I have created for it. This is client server log

This is my router entry

from manila.api.v2 import access_groups

        self.resources["access_groups"] = access_groups.create_resource()
        mapper.resource("access_group", "access_groups",
                        collection={"detail": "GET"},
                        member={"defaults": "GET"})

I don't understand what mistake I have made that the request
Is not getting mapped to correct resource.

stack at controller:/opt/stack/manila/manila/api/v2$ ls access_groups.py
stack at controller:/opt/stack/manila/manila/api/v2$

This is access_groups.py snippet

Can someone please help in pointing, what can be probable reason of this ?
I have checked the flow from client to server, not able to catch the mistake..


Nidhi Mittal Hada
Architect | PES / COE - Kolkata India
Wipro Limited
M +91 74 3910 9883 | O +91 33 3095 4767 | VOIP +91 33 3095 4767

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160308/a4140cb9/attachment.html>

More information about the OpenStack-dev mailing list