Re: [openstack-dev] [Neutron] Getting rid of lazy init for engine facade

2016-05-12 Thread Anna Kamyshnikova
Roman, thanks a lot for guidelines! I've updated the change and removed configure_db parameter. On Wed, May 11, 2016 at 4:58 PM, Roman Podoliaka wrote: > Hi Anna, > > Thank you for working on this in Neutron! > > EngineFacade is initialized lazily internally - you don't

Re: [openstack-dev] [Neutron] Getting rid of lazy init for engine facade

2016-05-11 Thread Roman Podoliaka
Hi Anna, Thank you for working on this in Neutron! EngineFacade is initialized lazily internally - you don't have to do anything for that in Neutron (you *had to* with "old" EngineFacade - this is the boiler plate your patch removes). I believe, you should be able to call configure(...)

[openstack-dev] [Neutron] Getting rid of lazy init for engine facade

2016-05-11 Thread Anna Kamyshnikova
Hi guys! I'm working on adoption of new engine facade from oslo.db for Neutron [1]. This work requires us to get rid of lazy init for engine facade. [2] I propose change [3] that adds configure_db parameter which is False by default, so if work with db will be required configure_db=True should be