nfv/nfv/nfv-vim/nfv_vim/database/model
Al Bailey b8ff450f58 Add support for SQLAlchemy 1.4 to NFV
An internal variable was dropped in SQLALchemy 1.4.

This update attempts to use the newer syntax from 1.4
and falls back to the older syntax if the newer mechanism
cannot be used.

This will allow StarlingX to migrate to a newer version of
SQLALchemy without breaking the NFV database code.

Test Plan:
  PASS: verify coverage using SQLAlchemy 1.2 that the
 exception code is executed and unit tests pass.
  PASS: verify coverage using SQLAlchemy 1.4 that the
 exception code is not executed and unit tests pass.
  PASS: Build/Install/Bootstrap/Unlock AIO-SX to verify
 existing runtime behaviour is not impacted.

Story: 2010531
Task: 47237

Signed-off-by: Al Bailey <al.bailey@windriver.com>
Change-Id: I4063dac0b3229b4c1fdb6c5121154665ffc32903
2023-01-30 21:08:56 +00:00
..
__init__.py Bring fw update detect and monitor up to the host level 2020-06-02 09:49:51 -04:00
_base.py Add support for SQLAlchemy 1.4 to NFV 2023-01-30 21:08:56 +00:00
_host.py Bring fw update detect and monitor up to the host level 2020-06-02 09:49:51 -04:00
_host_aggregate.py Clean up imports based on flake8 2018-09-20 16:43:28 -05:00
_host_group.py Clean up imports based on flake8 2018-09-20 16:43:28 -05:00
_hypervisor.py Clean up imports based on flake8 2018-09-20 16:43:28 -05:00
_image.py Clean up imports based on flake8 2018-09-20 16:43:28 -05:00
_instance.py Clean up imports based on flake8 2018-09-20 16:43:28 -05:00
_instance_group.py Clean up imports based on flake8 2018-09-20 16:43:28 -05:00
_instance_type.py Remove use of storage extra spec from VIM 2019-01-16 12:55:50 -06:00
_network.py Clean up imports based on flake8 2018-09-20 16:43:28 -05:00
_service_host.py Clean up imports based on flake8 2018-09-20 16:43:28 -05:00
_subnet.py Clean up imports based on flake8 2018-09-20 16:43:28 -05:00
_sw_update.py Clean up imports based on flake8 2018-09-20 16:43:28 -05:00
_system.py Clean up imports based on flake8 2018-09-20 16:43:28 -05:00
_tenant.py Clean up imports based on flake8 2018-09-20 16:43:28 -05:00
_types.py Re-enable important py3k checks for nfv 2021-10-28 14:11:13 -03:00
_volume.py Clean up imports based on flake8 2018-09-20 16:43:28 -05:00
_volume_snapshot.py Clean up imports based on flake8 2018-09-20 16:43:28 -05:00