Reviewed: https://review.openstack.org/295406 Committed: https://git.openstack.org/cgit/openstack/networking-bgpvpn/commit/?id=7444ff9a7f35e73009fc40e85ba817a9e418f726 Submitter: Jenkins Branch: master
commit 7444ff9a7f35e73009fc40e85ba817a9e418f726 Author: Mathieu Rohon <email address hidden> Date: Mon Mar 21 16:45:41 2016 +0000
Add precommit to the driver create/update_bgpvpn API
With precommits, bgpvpn drivers will be able to block any change that a REST request wants to apply to the DB with create/update_bgpvpn.
If the driver raises an exception during its precommit method, the REST client will have a HTTP 500 error, and nothing will be commited in the DB.
Change-Id: I1f0e5d4a555fe0802ecc873f7ae0f2ac121fc783 Closes-bug: 1557608
Reviewed: https:/ /review. openstack. org/295406 /git.openstack. org/cgit/ openstack/ networking- bgpvpn/ commit/ ?id=7444ff9a7f3 5e73009fc40e85b a817a9e418f726
Committed: https:/
Submitter: Jenkins
Branch: master
commit 7444ff9a7f35e73 009fc40e85ba817 a9e418f726
Author: Mathieu Rohon <email address hidden>
Date: Mon Mar 21 16:45:41 2016 +0000
Add precommit to the driver create/ update_ bgpvpn API
With precommits, bgpvpn drivers will be able to block any change update_ bgpvpn.
that a REST request wants to apply to the DB with create/
If the driver raises an exception during its precommit method,
the REST client will have a HTTP 500 error, and nothing will be
commited in the DB.
Change-Id: I1f0e5d4a555fe0 802ecc873f7ae0f 2ac121fc783
Closes-bug: 1557608