neutron/neutron/tests/unit
Oleg Bondarev b7c303ee0a Notify nova with network-vif-plugged in case of live migration
- during live migration on pre migration step nova plugs instance
   vif device on the destination compute node;
 - L2 agent on destination host detects new device and requests device
   info from server;
 - server does not change port status since port is bound to another
   host (source host);
 - L2 agent processes device and sends update_device_up to server;
 - again server does not update status as port is bound to another host;

Nova notifications are sent only in case port status change so in this case
no notifications are sent.

The fix is to explicitly notify nova if agent reports device up from a host
other than port's current host.

This is the fix on neutron side, the actual fix of the bug is on nova side:
change-id Ib1cb9c2f6eb2f5ce6280c685ae44a691665b4e98

Closes-Bug: #1414559
Change-Id: Ifa919a9076a3cc2696688af3feadf8d7fa9e6fc2
2016-07-06 10:47:27 +00:00
..
agent Fix order of arguments in assertEqual 2016-07-05 01:18:00 +00:00
api ml2: postpone exception logs to when retry mechanism fails to recover 2016-07-01 09:38:38 +00:00
callbacks Separate exception class for retriables in callbacks 2016-06-22 23:03:09 +00:00
cmd enable OVSDB native interface by default 2016-06-25 10:43:12 +03:00
common Merge "ml2: postpone exception logs to when retry mechanism fails to recover" 2016-07-02 23:40:34 +00:00
core_extensions Respond negatively to tenant detachment of enforced QoS policies 2016-05-16 21:54:15 +00:00
db Merge "Allow min_l3_agents_per_router to equal one" 2016-07-05 22:18:29 +00:00
debug tests: stop validating neutronclient in neutron-debug tests 2016-01-14 06:46:45 +00:00
extensions Merge "create_router: Report the original exception" 2016-07-05 18:36:19 +00:00
hacking pep8: Register checks with their code 2016-06-29 10:12:24 +00:00
ipam Make pep8 job great again 2016-06-21 16:23:51 +00:00
notifiers Notify nova with network-vif-plugged in case of live migration 2016-07-06 10:47:27 +00:00
objects Merge "Enable CRUD for trunk ports" 2016-07-06 02:15:24 +00:00
plugins Notify nova with network-vif-plugged in case of live migration 2016-07-06 10:47:27 +00:00
quota Fix module's import order 2016-01-22 06:38:42 -08:00
scheduler DHCP Agent scheduling with segments 2016-06-23 17:34:25 -05:00
services Enable CRUD for trunk ports 2016-07-02 16:09:45 -07:00
tests Use neutron-lib constants 2016-06-13 14:02:35 +00:00
__init__.py Avoid eventlet monkey patching for the tempest plugin 2016-04-29 22:47:24 -05:00
_test_extension_portbindings.py Fix module's import order 2016-01-22 06:38:42 -08:00
dummy_plugin.py Make service plugins' get_plugin_type classmethods 2016-06-07 15:33:07 -05:00
extension_stubs.py Add a description field to all standard resources 2016-03-05 02:29:35 +00:00
test_auth.py Fix params order in assertEqual 2016-01-13 18:24:04 +05:30
test_context.py Support Unicode request_id on Python 3 2015-11-27 16:21:16 +01:00
test_manager.py Add the ability to load a set of service plugins on startup 2016-02-10 10:04:15 -06:00
test_opts.py Fix the sriov agent config group name 2016-05-05 16:16:08 +08:00
test_policy.py Use constants from neutron-lib 2016-04-23 21:23:56 -04:00
test_service.py Refactor TestRpcWorker and TestWorkerService 2015-06-16 15:49:48 +03:00
test_wsgi.py Use exceptions from neutron-lib 2016-04-21 21:29:44 -04:00
testlib_api.py Restore MySQL and Postgresql functional testing 2016-06-29 13:20:17 -04:00