neutron/neutron/tests/functional/db/migrations
Lujin 69b3762dda Add binding_index to NetworkDhcpAgentBinding
The patch proposes adding a new binding_index to the
NetworkDhcpAgentBinding table, with an additional Unique
Constraint that enforces a single <network_id, binding_index>
per network.

1. When a network is triggered to be auto-scheduled to DHCP
agents, the number of DHCP agents is constrained by
dhcp_agents_per_network in neutron.conf. This prevents
too many DHCP agents from being scheduled in the first place.

2. If users manually schedule a network to specific DHCP
agents, the binding_index increments to show the number of
DHCP agents hosting this network.

Co-Authored-By: Oleg Bondarev <obondarev@mirantis.com>
Change-Id: I1bc3f8b69c337f7c1cf7375509a0da61def9baf1
Closes-Bug: #1535554
2019-08-29 12:52:07 +04:00
..
__init__.py Add RouterPort bindings for all HA ports 2016-08-05 05:48:39 -07:00
test_2e0d7a8a1586_add_binding_index_to_routerl3agentbinding.py Add binding_index to RouterL3AgentBinding 2016-09-02 11:17:47 +00:00
test_3b935b28e7a0_migrate_to_pluggable_ipam.py Force "network_id" in "subnet" DB registers 2019-08-19 16:32:42 +00:00
test_97c25b0d2353_add_name_desc.py Add missing index on inserted_primary_key in migration 2016-09-08 19:02:37 -04:00
test_a8b517cff8ab_add_routerport_bindings_for_ha.py Add RouterPort bindings for all HA ports 2016-08-05 05:48:39 -07:00
test_b12a3ef66e62_add_standardattr_to_qos_policies.py Add standard attributes to qospolicy 2016-08-28 06:27:39 +00:00
test_c3e9d13c4367_add_binding_index_to_.py Add binding_index to NetworkDhcpAgentBinding 2019-08-29 12:52:07 +04:00