neutron/neutron/tests/functional
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
..
agent Delay HA router transition from "backup" to "master" 2019-08-27 16:47:00 +00:00
api Convert policy.json into policy-in-code 2018-12-13 20:37:53 +00:00
cmd Fix neutron-status upgrade check CLI tool 2019-03-21 15:01:50 +00:00
common All functional tests logs results now 2018-11-21 19:58:18 +00:00
db Add binding_index to NetworkDhcpAgentBinding 2019-08-29 12:52:07 +04:00
pecan_wsgi Add logging for functional tests 2018-12-17 12:47:48 +01:00
plugins use neutron_lib's portbindings api-def 2017-03-31 09:16:22 -06:00
privileged Kill all processes running in a namespace before deletion 2019-08-21 09:03:54 +00:00
sanity All functional tests logs results now 2018-11-21 19:58:18 +00:00
scheduler Add binding_index to NetworkDhcpAgentBinding 2019-08-29 12:52:07 +04:00
services Start enforcing E125 flake8 directive 2019-07-19 23:39:41 -04:00
tests make net_helpers functions work on OpenSUSE 2017-09-20 09:59:44 -07:00
__init__.py tests: removed 'retargetable' framework 2017-05-02 16:45:49 +00:00
base.py Do not use privsep context when listing the namespaces in functional 2019-07-04 15:12:04 +00:00
constants.py TrunkManager for the OVS agent 2016-08-24 02:52:17 -04:00
requirements.txt Don't return null-byte separated string from ExternalProcess.cmdline() 2017-03-08 07:50:51 +00:00
test_server.py Add more debug information TestNeutronServer 2019-06-19 22:17:03 +00:00
test_service.py Modify api and rpc default number of workers 2019-02-19 13:24:01 -07:00