64acc3bd63
db_plugin.delete_ports() can lead to long transaction if plugin.deleete_port talks with external system. This commit removes a transaction in delete_ports and allows NEC plugin to use more granular db transactions in delete_port. It greatly helps db race conditions and timeouts in delete_port operations. To avoid to impact other plugins/drivers by changing db_plugin.delete_ports directly and to land this patch soon, this commit overrides delete_ports() in NEC plugin. Further disssion on transaction in delete_ports will be discussed under bug 1282925. Closes-Bug: #1282922 Related-Bug: #1282925 Change-Id: I2c00694ad34eb2058bf7a0ff1c920ceded327d43 |
||
---|---|---|
.. | ||
__init__.py | ||
fake_ofc_manager.py | ||
stub_ofc_driver.py | ||
test_agent_scheduler.py | ||
test_config.py | ||
test_db.py | ||
test_nec_agent.py | ||
test_nec_plugin.py | ||
test_ofc_client.py | ||
test_ofc_manager.py | ||
test_packet_filter.py | ||
test_pfc_driver.py | ||
test_portbindings.py | ||
test_router.py | ||
test_security_group.py | ||
test_trema_driver.py | ||
test_utils.py |