]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Join tables in query for down L3 agents
authorKevin Benton <blak111@gmail.com>
Tue, 19 Aug 2014 22:15:09 +0000 (15:15 -0700)
committerKevin Benton <blak111@gmail.com>
Thu, 21 Aug 2014 09:49:11 +0000 (02:49 -0700)
commit30c219f6823b80934a0c0562b048fd33b2e76c76
treedbfcf14d07fdb2acd33df1b66e7e15a798d81219
parent50126be5ba4b1acc36d5fe9e5d180be8ce2ceb06
Join tables in query for down L3 agents

Join the agent table together with the L3 agent scheduler
table. This fixes an issue where the query would return
all admin_state_up L3 agents with router bindings when
any agent in the database was dead (missed heartbeats)
instead of just returning the dead L3 agents with bindings.

Closes-Bug: #1359460
Change-Id: I29215f81be7e3513155faaad015e24dbf1a1ad5d
neutron/db/l3_agentschedulers_db.py
neutron/tests/unit/openvswitch/test_agent_scheduler.py