neutron/neutron/tests
John Schwarz b1ec8d523d Add binding_index to RouterL3AgentBinding
The patch proposes adding a new binding_index to the
RouterL3AgentBinding table, with an additional Unique Constraint that
enforces a single <router_id, binding_id> per router. This goes a long
way into fixing 2 issues:

1. When scheduling a non-HA router, we only use binding_index=1. This
   means that only a single row containing that router_id can be
   committed into the database. This in fact prevents over-scheduling of
   non-HA routers. Note that for the HA router case, the binding_index
   is simply copied from the L3HARouterAgentPortBinding (since they are
   always created together they should always match).

2. This sets the ground-work for a refactor of the l3 scheduler - by
   using this binding and db-based limitation, we can schedule a router
   to agents using the RouterL3AgentBinding, while postponing the
   creation of L3HARouterAgentPortBinding objects for the agents until
   they ask for it (using sync_routers). This will be a major
   improvement over todays "everything can create
   L3HARouterAgentPortBinding" way of things).

Closes-Bug: #1535557
Change-Id: I3447ea5bcb7c57365c6f50efe12a1671e86588b3
2016-09-02 11:17:47 +00:00
..
common Merge "Fix unbalanced-tuple-unpacking pylint error in conn_testers" 2016-08-29 20:55:00 +00:00
contrib fullstack: Use ovs-2.5 for tests 2016-08-29 10:33:35 +00:00
etc Add QoS minimum bandwidth rule for instance egress traffic 2016-08-27 17:08:18 +00:00
fullstack Handle fullstack oslo deprecations 2016-08-29 11:34:51 -04:00
functional Add binding_index to RouterL3AgentBinding 2016-09-02 11:17:47 +00:00
retargetable Restore MySQL and Postgresql functional testing 2016-06-29 13:20:17 -04:00
tempest Merge "Remove unnecessary setUp and resource_setup" 2016-09-01 22:52:28 +00:00
unit Add binding_index to RouterL3AgentBinding 2016-09-02 11:17:47 +00:00
var Allow combined certificate/key files for SSL 2014-04-13 09:22:23 +00:00
__init__.py Avoid eventlet monkey patching for the tempest plugin 2016-04-29 22:47:24 -05:00
base.py Refactoring config options for common config opts 2016-07-26 15:55:49 +00:00
fake_notifier.py Pass serializer to oslo.messaging Notifier 2014-06-20 14:58:28 +02:00
post_mortem_debug.py Cleanup recent generalization in post mortem debugger 2014-12-04 15:28:11 +01:00
tools.py Use method get_ipv6_addr_by_EUI64 from oslo.utils 2016-08-30 19:49:09 +08:00