[openstack-dev] [Neutron] [neutron-lib] adding a new flag to neutron-lib

2016-03-14 Thread Venkata Anil
Hi All I have added a new flag in neutron-lib https://review.openstack.org/#/c/291641/3/neutron_lib/constants.py and wanted to use that flag in neutron's change https://review.openstack.org/#/c/291651/ How to add the dependency? I added neutron-lib change in neutron's change as

Re: [openstack-dev] [Neutron] DVR + L3 HA + L2pop - Mapping out the work

2015-12-06 Thread Venkata Anil
Hi Assaf I will work on this bug(i.e L3 HA integration with l2pop. I have already assigned it to myself). https://bugs.launchpad.net/neutron/+bug/1522980 Thanks Anil On 12/05/2015 04:25 AM, Vasudevan, Swaminathan (PNB Roseville) wrote: Hi Assaf, Thanks for putting the list together. We

Re: [openstack-dev] [Neutron] need help in translating sql query to sqlalchemy query

2015-12-01 Thread Venkata Anil
Thanks Sean. I will check that. Meanwhile I tried this and it is working port1 = orm.aliased(models_v2.Port, name="port1") port2 = orm.aliased(models_v2.Port, name="port2") router_intf_qry = context.session.query(RouterPort.router_id).join((port1,

Re: [openstack-dev] [Neutron] need help in translating sql query to sqlalchemy query

2015-12-01 Thread Venkata Anil
On 12/01/2015 09:06 PM, Sean M. Collins wrote: On Tue, Dec 01, 2015 at 10:22:41AM EST, Venkata Anil wrote: Thanks Sean. I will check that. Meanwhile I tried this and it is working port1 = orm.aliased(models_v2.Port, name="port1") port2 = orm.aliased(models_v2.

[openstack-dev] [Neutron] need help in translating sql query to sqlalchemy query

2015-12-01 Thread Venkata Anil
Hi All I have the below sql query which - "lists routers connected to given internal and external networks" select DISTINCT routerports.router_id from routerports inner join ports as ports1 on (ports1.id=routerports.port_id and ports1.network_id=internal_network_id) inner join ports as

[openstack-dev] [neutron] [floatingip] Selecting router for floatingip when subnet is connected to multiple routers

2015-09-21 Thread Venkata Anil
Hi All I need your opinion on selecting router for floatingip when subnet is connected to multiple routers. When multiple routers connected to a subnet, vm on that subnet will only send packets destined for external network to the router with subnet's default gateway. Should we always