neutron/neutron/tests/unit/ml2
rossella 78059968e2 Update DVR Binding when router_id changes
In this patch I modified update_dvr_port_binding to update the
binding if router_id changes.
When a new router namespace is created on a host, sync_router
will call _ensure_host_set_on_port that will update the DVR binding.
With the current code update_dvr_port_binding won't update the
binding if there's an existing binding unless the binding
vif_type is VIF_TYPE_BINDING_FAILED . There's a race when
the router namespace is destroyed and then recreated on the same
host.
The DVR binding is deleted only when the message
update_device_down is processed. If this message is processed
after the update_dvr_port_binding triggered by the namespace creation,
update_dvr_port_binding won't update the binding. When the router
interface will be detected as UP, no DVR binding will be found.

Closes-bug: #1358554
Change-Id: I37fd4ed67dc2019b57e36d082b584c517d8f67a8
2014-08-17 13:46:15 +00:00
..
db Remove auto-generation of db schema from models at startup 2014-08-15 17:21:17 -04:00
drivers Merge "BSN: Bind external ports in ML2 driver" 2014-09-07 12:59:38 +00:00
extensions Support for extensions in ML2 2014-08-31 05:43:01 -07:00
__init__.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
_test_mech_agent.py ML2 Type Driver refactor part 2 2014-08-31 13:30:54 -07:00
test_agent_scheduler.py Adds support for L3 routing/NAT as a service plugin 2013-09-11 12:12:10 +02:00
test_driver_context.py Fix to enable L2pop to serve DVR 2014-08-06 23:04:00 +00:00
test_extension_driver_api.py Support for extensions in ML2 2014-08-31 05:43:01 -07:00
test_helpers.py Remove auto-generation of db schema from models at startup 2014-08-15 17:21:17 -04:00
test_mech_hyperv.py Implement ML2 port binding 2013-09-03 18:05:20 -04:00
test_mech_linuxbridge.py Vxlan / L2population support to Linuxbridge Agent 2013-09-12 02:51:37 +02:00
test_mech_openvswitch.py Implement ML2 port binding 2013-09-03 18:05:20 -04:00
test_mechanism_fslsdn.py Freescale SDN Mechanism Driver for ML2 Plugin 2014-06-07 08:06:29 +05:30
test_mechanism_ncs.py Remove individual cfg.CONF.resets from tests 2014-03-17 12:34:56 -04:00
test_mechanism_odl.py Remove auto-generation of db schema from models at startup 2014-08-15 17:21:17 -04:00
test_ml2_plugin.py Update DVR Binding when router_id changes 2014-08-17 13:46:15 +00:00
test_port_binding.py ML2: Make get_device_details report mac address as well 2014-08-14 08:35:31 +09:00
test_rpcapi.py Make SecurityGroupsRpcCallback a separate callback class 2014-08-30 10:19:42 +08:00
test_security_group.py Make SecurityGroupsRpcCallback a separate callback class 2014-08-30 10:19:42 +08:00
test_type_flat.py Remove auto-generation of db schema from models at startup 2014-08-15 17:21:17 -04:00
test_type_gre.py Refactor test_type_gre/vxlan to reduce duplicate code 2014-08-26 12:15:19 +02:00
test_type_local.py Add partial specs support in ML2 for multiprovider extension 2014-07-21 20:02:14 +00:00
test_type_vlan.py Remove auto-generation of db schema from models at startup 2014-08-15 17:21:17 -04:00
test_type_vxlan.py Refactor test_type_gre/vxlan to reduce duplicate code 2014-08-26 12:15:19 +02:00