neutron/neutron/tests/unit
Yang JianFeng cc7e3e92fe Fix the bug about DHCP port whose network has multiple subnets.
When a subnet's enable_dhcp attribute is updated, we must restart
dhcp device. So,when we decide whether 'restart' or
'reload_allocations' in refresh_dhcp_helper function we only compare
the cidr of subnets which enabled dhcp.

The previous logic only calls 'restart' when deleting or adding a
subnet. This may cause the dhcp port not updated when the subnet's
enable_dhcp is updated to True.

Change-Id: Ic547946ac786c5fab82b4ee7078bf86483f51eb5
Closes-Bug: #1805824
(cherry picked from commit 9aa7af8221)
2018-12-15 07:50:34 +00:00
..
agent Fix the bug about DHCP port whose network has multiple subnets. 2018-12-15 07:50:34 +00:00
api Revert "DVR: Inter Tenant Traffic between networks not possible with shared net" 2018-10-19 10:15:35 +02:00
cmd More efficiently clean up OVS ports 2018-01-25 15:29:49 +00:00
common Allow Ipv6 addresses for nova_metadata_host 2018-10-25 14:34:07 +00:00
conf/agent Agent common config 2017-03-15 09:52:18 -06:00
core_extensions Fix default qos policy when creating network 2017-08-24 14:35:38 +00:00
db Merge "DVR: Add IPv6 csnat port address correctly" into stable/pike 2018-10-29 15:46:03 +00:00
debug use neutron_lib's portbindings api-def 2017-03-31 09:16:22 -06:00
extensions Disallow router interface out of subnet IP range 2018-07-20 23:26:01 +02:00
hacking Use flake8-import-order plugin 2017-07-05 03:15:27 +00:00
ipam New enginefacade for networks, subnets. 2017-03-30 01:26:45 -07:00
notifiers use service type constants from neutron_lib plugins 2017-06-27 15:16:05 -06:00
objects Fix Port OVO filtering based on security groups 2018-06-08 13:25:16 +00:00
plugins Force all fdb entries update after ovs-vswitchd restart 2018-12-07 14:45:09 +00:00
privileged Add netlink-lib to manage conntrack entries 2017-07-27 13:56:40 +07:00
quota CountableResource: try count/get functions for all plugins 2017-09-12 16:23:22 +00:00
scheduler Merge "DVR: Centralized FloatingIPs are not cleared after migration." into stable/pike 2018-11-21 02:00:06 +00:00
services Fix meter-label-rule creation 2018-04-20 17:58:09 +00:00
tests Replaced assertTrue(False) with fail() 2017-06-22 19:31:00 +02:00
__init__.py Don't set use_stderr to False for tests 2017-04-15 01:41:29 +00:00
_test_extension_portbindings.py use neutron_lib's portbindings api-def 2017-03-31 09:16:22 -06:00
dummy_plugin.py Consume ServicePluginBase from neutron-lib 2017-03-17 12:06:57 -06:00
extension_stubs.py Consume ServicePluginBase from neutron-lib 2017-03-17 12:06:57 -06:00
test_auth.py Use oslo.context class method to construct context object 2017-03-23 09:02:46 +00:00
test_manager.py use service type constants from neutron_lib plugins 2017-06-27 15:16:05 -06:00
test_opts.py Fix the sriov agent config group name 2016-05-05 16:16:08 +08:00
test_policy.py Remove neutron-fwaas specific policies 2017-07-16 17:56:25 +00:00
test_service.py use neutron-lib.callback.events.AFTER_SPAWN 2017-07-27 05:57:34 +00:00
test_worker.py Move AgentStatusCheckWorker to PeriodicWorker 2016-11-17 15:31:19 -08:00
test_wsgi.py Pass parameters when create eventlet.wsgi server 2017-03-17 14:14:25 +08:00
testlib_api.py API compare-and-swap updates based on revision_number 2017-06-29 22:50:12 +00:00