neutron/neutron/tests/unit
Nguyen Thanh Cong 489ec55094 [OvS] Handle re_added multi ports
Multiple ports are located in ports_re_added. Assume we have port_one
and port_two. It will loop through the ports. Port_one is iterated
first, events ['re_added'] is assigned port_one, events ['removed']
is assigned port_two. In the second loop, events ['re_added'] is set
to port_two instead of adding port_two to list. So after the loop,
only port_two is left in events ['re_added'].

Conflicts:
    neutron/tests/unit/plugins/ml2/drivers/openvswitch/agent/test_ovs_neutron_agent.py

Change-Id: If8edd29dd741f1688ffcac341fd58173539ba000
Closes-Bug: #1864630
(cherry picked from commit 5600163e9b)
(cherry picked from commit 22df469504)
2020-09-11 11:48:15 +02:00
..
agent Merge "Handle properly existing LLA address during l3 agent restart" into stable/rocky 2020-09-04 11:41:31 +00:00
api [Security] fix allowed-address-pair 0.0.0.0/0 issue 2020-07-31 11:23:18 +00:00
cmd Fix exception in neutron-sanity-check 2018-06-13 18:21:14 +00:00
common Packets getting lost during SNAT with too many connections 2019-06-04 23:23:07 +00:00
conf/agent Agent common config 2017-03-15 09:52:18 -06:00
core_extensions Refactor duplicated implementation of _get_policy_obj 2018-06-20 09:51:02 +08:00
db Merge "Make _ensure_default_security_group method atomic" into stable/rocky 2020-07-18 23:32:01 +00:00
debug Change ip_lib network namespace code to use pyroute2 2017-10-04 21:09:28 +00:00
extensions Merge "Use dict .get() to avoid a KeyError in the segment plugin" into stable/rocky 2020-09-05 12:57:10 +00:00
hacking Adopt hacking 1.1.0 2018-07-05 11:31:40 +09:00
ipam Update the processing of assigned addresses when assigning addresses 2020-06-30 05:33:14 +00:00
notifiers Add config option ``http_retries`` 2020-07-09 12:17:38 +02:00
objects Filter by owner SGs when retrieving the SG rules 2020-04-15 07:34:18 +00:00
pecan_wsgi Removing deprecated module neutron.api.versions 2018-03-28 14:15:50 +07:00
plugins [OvS] Handle re_added multi ports 2020-09-11 11:48:15 +02:00
privileged python3: fix netlink_lib delete_entries 2018-06-29 00:30:19 +02:00
quota use get reader/writer session from neutron-lib 2018-07-06 14:43:31 -06:00
scheduler Trigger router update only when gateway port IP changed 2020-02-20 09:57:48 +00:00
services port_forwarding: validate args before invoking db update 2020-08-06 14:38:29 -04:00
tests Increase timeouts for OVSDB in functional tests 2019-09-13 10:57:24 +00:00
__init__.py Don't set use_stderr to False for tests 2017-04-15 01:41:29 +00:00
_test_extension_portbindings.py Remove the unit test 'test_ports_vnic_type_list' 2018-06-15 15:12:10 +00:00
dummy_plugin.py Add dependency for service plugin 2019-04-12 08:33:27 +00:00
extension_stubs.py Consume ServicePluginBase from neutron-lib 2017-03-17 12:06:57 -06:00
test_auth.py Fix context deprecation warnings 2018-02-13 15:02:49 -05:00
test_manager.py Avoid loading same service plugin more than once 2019-04-12 08:33:38 +00:00
test_neutron_plugin_base_v2.py Add unit test to validate non DB base core plugin can be loaded 2017-11-15 21:21:35 +00:00
test_opts.py Fix the sriov agent config group name 2016-05-05 16:16:08 +08:00
test_policy.py Fix handling of network:shared field in policy module 2019-05-09 09:42:25 +00:00
test_service.py use callback payloads for _SPAWN events 2017-12-21 11:03:36 -07:00
test_worker.py Move AgentStatusCheckWorker to PeriodicWorker 2016-11-17 15:31:19 -08:00
test_wsgi.py Update neutron files for new over-indentation hacking rule (E117) 2019-01-30 20:05:18 +03:00
testlib_api.py Adopt hacking 1.1.0 2018-07-05 11:31:40 +09:00