neutron/neutron/plugins
Robert Kukura a57dc2c30a ML2: Remove validate_port_binding() and unbind_port()
The API implemented by ML2 mechanism drivers included three methods
related to port binding that were called within DB transactions, but
that could potentially involve communication with controllers or
devices that should not be done within transactions. A subsequent
patch will move the calls to bind_port() outside of tranactions. This
patch eliminates the other two methods from the MechanismDriver API.

The validate_port_binding() method was previously called on the bound
mechanism driver to check whether an existing binding was still valid,
so that the port could be rebound if something changed. But since nova
has no way to handle changes to binding:vif_type or
binding:vif_details after a port is initially plugged, this turned out
not to be useful, so the method has been removed from the
MechanismDriver API. Now, once a port is successfully bound, the
binding remains until the port is deleted or any of it's
binding:host_id, binding:vnic_type, or binding:profile attribute
values are changed.

The unbind_port() method was previously called on the bound mechanism
driver as an existing binding was removed. This method was not used by
any existing mechanism drivers, and was redundant with the
update_port_precommit() and update_port_postcommit() methods that are
called on all mechanism drivers when an existing binding is removed,
so this method has also been removed from the driver API.

Eliminating the unbind_port() call allows the binding details to be
made available via the PortContext in delete_port_postcommit() calls,
completing the resolution of bug 1276395.

Closes-bug: 1276395
Partial-bug: 1276391
Change-Id: I70fb65b478373c4f07f5273baa097fc50e5ba2ef
2014-03-20 10:03:46 -04:00
..
bigswitch BigSwitch: Watchdog thread start after servers 2014-03-17 13:41:03 -07:00
brocade Replace binding:capabilities with binding:vif_details 2014-02-23 22:56:45 -05:00
cisco Cisco plugin fails with ParseError no elem found 2014-03-19 00:21:46 +00:00
common replace rest of q_exc to n_exc in code base 2014-03-03 17:42:20 -08:00
embrane Embrane LBaaS Driver 2014-03-12 16:02:11 -07:00
hyperv Merge "Minor refactoring for Hyper-V utils and tests" 2014-03-05 08:27:55 +00:00
ibm Adds state reporting to SDN-VE agent 2014-03-07 07:11:23 -05:00
linuxbridge Check vxlan enablement via modinfo 2014-03-05 07:21:59 +00:00
metaplugin Call target plugin out of DB transaction in the Metaplugin 2014-03-11 13:04:15 +09:00
midonet Replaces network:* strings by constants 2014-03-05 18:00:56 +09:00
ml2 ML2: Remove validate_port_binding() and unbind_port() 2014-03-20 10:03:46 -04:00
mlnx Merge "Implement Mellanox ML2 MechanismDriver" 2014-03-04 16:22:50 +00:00
nec NEC plugin: Honor Retry-After response from OFC 2014-03-19 17:10:43 +09:00
nicira Fix NVP/Nicira nits 2014-03-03 14:48:59 -08:00
nuage replace rest of q_exc to n_exc in code base 2014-03-03 17:42:20 -08:00
ofagent Fix NVP/Nicira nits 2014-03-03 14:48:59 -08:00
oneconvergence One Convergence Neutron Plugin l3 ext support 2014-03-06 21:50:55 +00:00
openvswitch Fixing lost vlan ids on interfaces 2014-03-11 11:32:46 +01:00
plumgrid Added missing l3_update call in update_network 2014-03-16 20:52:21 -07:00
ryu replace rest of q_exc to n_exc in code base 2014-03-03 17:42:20 -08:00
vmware Merge "NSX: Fix router-interface-delete returns 404 when router not in nsx" 2014-03-20 10:22:43 +00:00
__init__.py Finish off rebranding of the Nicira NVP plugin 2014-03-01 18:14:52 -08:00