Commit Graph

4 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
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
Henry Gessau 4148a347b3 Use constants from neutron-lib
With this we enable the deprecation warnings by default.

Related-Blueprint: neutron-lib

Change-Id: I5b9e53751dd164010e5bbeb15f534ac0fe2a5105
2016-04-23 21:23:56 -04:00
venkata anil ceebc9f465 use separate device owner for HA router interface
Currently HA router interface port uses DEVICE_OWNER_ROUTER_INTF as
device owner(like normal router interface). So to check if a port is
a HA router interface port, we have to perform a DB operation.

Neutron server at many places may need check if a port is HA router
interface port and perform different set of operations, then it has
to access DB for this. Instead of that, if this information is
available as port's device owner, we can avoid DB access every time.

Closes-bug: #1554519
Change-Id: I322c392529c04aca2448fd957a35f4908b323449
2016-03-22 10:06:14 +00:00