Re: [openstack-dev] Problems with new Neutron service plugin

2014-07-29 Thread Maciej Nabożny
Thank you very much! The constants list was the problem. I've also added empty list as result for get_floatingports and it works perfectly :) Maciek W dniu 29.07.2014, 12:09, Jaume Devesa pisze: Maciej: have you loaded the service plugin in the neutron.conf? service_plugins = neutron.services

Re: [openstack-dev] Problems with new Neutron service plugin

2014-07-29 Thread Jaume Devesa
Maciej: have you loaded the service plugin in the neutron.conf? service_plugins = neutron.services.l3_router.l3_router_plugin.L3RouterPlugin,neutron.services.loadbalancer.plugin.LoadBalancerPlugin,neutron.services.floatingports.FloatingPort Neutron needs to know what plugins to load at start up t

Re: [openstack-dev] Problems with new Neutron service plugin

2014-07-29 Thread Kashyap Chamarthy
On Tue, Jul 29, 2014 at 11:15:45AM +0200, Maciej Nabożny wrote: [Just a generic comment, not related to the extension code in question.] > Yes, here is extension code: > http://pastebin.com/btYQjwnr > service plugin code: > http://pastebin.com/ikKf80Fr Pastebins expire, it's useful to provide UR

Re: [openstack-dev] Problems with new Neutron service plugin

2014-07-29 Thread Maciej Nabożny
Yes, here is extension code: http://pastebin.com/btYQjwnr service plugin code: http://pastebin.com/ikKf80Fr and script, which makes requests to neutron: from neutronclient.neutron import client c = client.Client('2.0', tenant_name='admin', username='admin',

Re: [openstack-dev] Problems with new Neutron service plugin

2014-07-29 Thread Jaume Devesa
Hello Maciej, can I see your code somewhere? I have written an extension recently and I might can help you. The blog post is quite similar of what I've done, so you should be close to get it work. Regards, jaume On 29 July 2014 08:28, Maciej Nabożny wrote: > Hello! > This is my first mail on

[openstack-dev] Problems with new Neutron service plugin

2014-07-28 Thread Maciej Nabożny
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-