Hello!
This is my first mail on this mailing list, so - hello everybody :)

I'm trying to write extension and service plugin for Neutron, which adds support for something like "floating port". This should be dnat/snat service for virtual machines. I was following this tutorial:

http://control-that-vm.blogspot.in/2014/05/writing-api-extensions-in-neutron.html?view=flipcard

I have created extension with some resources (RESOURCE_ATTRIBUTE_MAP) and service plugin for it. In logs, neutron says, that extension is working and it has backend (service plugin). It is also listed in extension list through neutron api. The only problem, which I have is how to access my functions. As far as I understand, it should work in this way:
- GET /v2.0/floatingport/ calls function get_floatingport(...)
- GET /v2.0/floatingports/id/ calls function get_floatingports(...)
and so on for all CRUD methods. Could you tell me how should I register this functions to be available in neutron's api? Each time when I call GET /v2.0/gloatingport/ i got 404. The same is through neutronclient python module with:
        c.do_request('GET', '/floatingip')
I have also tried to paste all my methods to ml2 plugin, but also they are not accessible through api.

I will be grateful for your help
Regards!
Maciek

_______________________________________________
OpenStack-dev mailing list
[email protected]
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to