Commit Graph

6 Commits

Author SHA1 Message Date
Rodolfo Alonso Hernandez d4a85833a7 [sqlalchemy-20] The Session.begin.subtransactions flag is deprecated
Closes-Bug: #2008276
Change-Id: I5472db98c6ae24b8b1e6add2c0d73aeb1ed016ca
2023-03-03 08:04:14 +00:00
Boden R 9bbe9911c4 remove neutron.common.constants
All of the externally consumed variables from neutron.common.constants
now live in neutron-lib. This patch removes neutron.common.constants
and switches all uses over to lib.

NeutronLibImpact

Depends-On: https://review.openstack.org/#/c/647836/
Change-Id: I3c2f28ecd18996a1cee1ae3af399166defe9da87
2019-04-04 14:10:26 -06:00
Doug Wiegley 8914f8247f Update neutron files for new over-indentation hacking rule (E117)
Change-Id: I594e2d1238f6ffa3c1039624e3b3ed6569485837
2019-01-29 15:36:20 -05:00
Brian Haley de243a3513 Fix E402 pep8 errors
Fix E402 (module level import not at top of file) pep8 errors
and no longer ignore new failures.

Trivialfix

Change-Id: If9a202f1f322b5b03966c692e33e94b7c872079b
2018-04-20 18:13:07 +00:00
Gary Kotton 9f09f27c5d Fix deprecation warnings
Remove deprecation warnings for various constants
and exceptions that have moved to neutron_lib.

Fix miscellaneous other deprecations.

Uses constants instead of l3_constants when importing
neutron-lib constants.

Co-Authored By: Henry Gessau <gessau@gmail.com>
Co-Authored By: Gary Kotton <gkotton@vmware.com>

Change-Id: Ib0e8ff5c3e23677c1009241a1818cbc8a3430c38
2016-08-26 22:16:06 -04:00
Kevin Benton 91614d33c1 Add RouterPort bindings for all HA ports
Adding these bindings allows us to remove the special-cased HA
interface deletion in l3_hamode_db that had the potential for
leaving orphaned ports on failures. With the bindings present,
the interface deletion is handled before the router delete so
a failure to delete the interface will prevent router deletion.

Related-Bug: #1540271
Change-Id: I2de8503742661c18a2ec2c5ade7ec58ea380e749
2016-08-05 05:48:39 -07:00