]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Add rollback for Cisco plugin update_port failure
authorDane LeBlanc <leblancd@cisco.com>
Fri, 17 May 2013 15:42:59 +0000 (11:42 -0400)
committerDane LeBlanc <leblancd@cisco.com>
Fri, 31 May 2013 20:38:18 +0000 (16:38 -0400)
commit87b2548e8845fa9710a1b89a642d06fd28148572
tree41ad810ff4bf9ca4478457f1b26f26ff66afea7c
parent9c14b49ebf1ba9a07194a117df1494be1767f9e4
Add rollback for Cisco plugin update_port failure

Fixes bug 1174433

This fix adds a rollback of the OVS plugin update_port operation
following a failure to update the port in the Cisco Nexus sub-plugin.

Also, this fix removes an unneccessary call to the Nexus sub-plugin's
update_network method within the Cisco plugin model layer's
update_network method (as well as the associated argument setup).
The Nexus sub-plugin's update_network is a no-op, so there's no
need to call it.

Change-Id: I10cba0d7f1d632c7f77eb6c4a94ea82b958bc6a2
quantum/plugins/cisco/models/virt_phy_sw_v2.py
quantum/tests/unit/cisco/test_network_plugin.py