]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
BigSwitch: Create router ports synchronously
authorKevin Benton <blak111@gmail.com>
Tue, 8 Apr 2014 16:04:08 +0000 (09:04 -0700)
committerKevin Benton <blak111@gmail.com>
Tue, 8 Apr 2014 16:36:20 +0000 (09:36 -0700)
commit2527d3d30d6b91e5df74ce1b85cb0d079aff4216
tree41e369cb88096bbd6062a1fe80c0a9dfcc1010ad
parentce7e53e5b50fb14c3b0afab78f89f2a1518ea795
BigSwitch: Create router ports synchronously

Since router ports are created as part of a
long transaction with multiple REST calls, they
need to be created sychronously. This is to prevent
the async thread from deleting them from the backend
if it can't find them in cases where they haven't been
committed to the DB yet.

Closes-Bug: #1305331
Change-Id: I2ab3c862dc6b1760199654bbd0969ac5efdbe704
neutron/plugins/bigswitch/plugin.py
neutron/tests/unit/bigswitch/test_restproxy_plugin.py