config/sysinv/sysinv/sysinv/sysinv/db/sqlalchemy/migrate_repo/versions
Teresa Ho 2b23452a1c Preserve states for functional user and bmc image
Currently, there are two kinds of functional images: user and bmc.
However there is no attribute to distinguish between the two kinds.
If an user image is already applied, applying bmc image would delete
the state of the applied user image.

A new parameter is added to specify a functional BMC image.
The state of last updated user image and BMC image are to be kept.
The order in which the two kinds of BMC images is applied determine
which one is to be kept.
If a BMC image with retimer is applied before a BMC image without
retimer, the states of both images must be kept.
If a BMC image without retimer is applied before a BMC image with
retimer, the state of the BMC image without retimer can be deleted.

Tox unit tests are added for the various scenarios.

Closes-Bug: 1951602

Change-Id: Ifdcbc09d9f14270a57ecc307fbea7517b048351b
Signed-off-by: Teresa Ho <teresa.ho@windriver.com>
2021-11-22 14:41:28 -05:00
..
001_init.py Change compute node to worker node personality 2018-12-13 14:15:55 -05:00
002_consolidated_rel15ga.py Fixing Pep8 errors of type F841 2018-07-20 13:33:47 -04:00
003_placeholder.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
004_placeholder.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
005_placeholder.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
006_placeholder.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
007_placeholder.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
008_placeholder.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
009_placeholder.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
010_placeholder.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
011_placeholder.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
012_placeholder.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
013_placeholder.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
014_placeholder.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
015_placeholder.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
016_placeholder.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
017_placeholder.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
018_placeholder.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
019_placeholder.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
020_placeholder.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
021_placeholder.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
022_placeholder.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
023_placeholder.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
024_placeholder.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
025_placeholder.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
026_placeholder.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
027_placeholder.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
028_placeholder.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
029_placeholder.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
030_placeholder.py Decouple Fault Management from stx-config 2018-08-16 17:24:19 -04:00
031_ceph_storage_pools.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
032_system_capabilities.py Sysinv. Cleanup import statements for pep8 2018-06-29 13:43:53 -04:00
033_iuser_wrsrootpw_aging.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
034_cluster.py Fixing Pep8 errors of type F841 2018-07-20 13:33:47 -04:00
035_system_type.py Change compute node to worker node personality 2018-12-13 14:15:55 -05:00
036_lldp.py Fixing Pep8 errors of type F841 2018-07-20 13:33:47 -04:00
037_multi_storage_backend.py Resolving no-value-for-parameters pylint error 2020-12-15 11:14:35 -05:00
038_ceph_journal_ssd.py Deprecate sysinv.openstack.common.log 2019-11-05 15:29:20 -06:00
039_rpm_to_idisk.py Eliminate unnecessary imported modules 2019-09-19 09:10:56 +08:00
040_remotelogging.py Sysinv. Cleanup import statements for pep8 2018-06-29 13:43:53 -04:00
041_horizon_lockout_params.py Fixing Pep8 errors of type E121 2018-07-20 13:34:03 -04:00
042_ceph_cache_tiering.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
043_sdn_controller.py Resolving no-value-for-parameters pylint error 2020-12-15 11:14:35 -05:00
044_istorconfig_restructure.py Resolving no-value-for-parameters pylint error 2020-12-15 11:14:35 -05:00
045_action_state.py Eliminate unnecessary imported modules 2019-09-19 09:10:56 +08:00
046_placeholder.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
047_placeholder.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
048_placeholder.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
049_placeholder.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
050_consolidated_r4.py Address python3 string issues with subprocess 2021-08-11 10:59:49 -04:00
051_https_security.py Resolving no-value-for-parameters pylint error 2020-12-15 11:14:35 -05:00
052_controllerfs_restructure.py Resolving no-value-for-parameters pylint error 2020-12-15 11:14:35 -05:00
053_partitions_for_pvs.py Deprecate sysinv.openstack.common.log 2019-11-05 15:29:20 -06:00
054_system_security_profile.py Sysinv. Cleanup import statements for pep8 2018-06-29 13:43:53 -04:00
055_partition_device_node.py Eliminate unnecessary imported modules 2019-09-19 09:10:56 +08:00
056_region_config_data.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
057_update_region_config_flag.py Resolving no-value-for-parameters pylint error 2020-12-15 11:14:35 -05:00
058_cinder_optional_service.py Resolving no-value-for-parameters pylint error 2020-12-15 11:14:35 -05:00
059_system_distributed_cloud_role.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
060_storage_external.py Eliminate unnecessary imported modules 2019-09-19 09:10:56 +08:00
061_ipm.py Resolving no-value-for-parameters pylint error 2020-12-15 11:14:35 -05:00
062_service_parameter_extensions.py Sysinv. Cleanup import statements for pep8 2018-06-29 13:43:53 -04:00
063_address_pool.py Eliminate unnecessary imported modules 2019-09-19 09:10:56 +08:00
064_certificate.py Eliminate unnecessary imported modules 2019-09-19 09:10:56 +08:00
065_storage_tiers.py Eliminate unnecessary imported modules 2019-09-19 09:10:56 +08:00
066_tpmdevice_add_tpm_data.py Sysinv. Cleanup import statements for pep8 2018-06-29 13:43:53 -04:00
067_tboot.py Sysinv. Cleanup import statements for pep8 2018-06-29 13:43:53 -04:00
068_memory_column_rename.py Open vSwitch integration with host and configuration framework 2018-06-14 16:03:52 -05:00
069_security_feature.py Spectre/meltdown kernel options controllable by customer 2018-06-29 13:44:42 -04:00
070_placeholder.py Decouple Fault Management from stx-config 2018-08-16 17:24:19 -04:00
071_storage_ceph_external.py Eliminate unnecessary imported modules 2019-09-19 09:10:56 +08:00
072_remove_ceilometer_service_parameter.py Resolving no-value-for-parameters pylint error 2020-12-15 11:14:35 -05:00
073_kube_application.py Eliminate unnecessary imported modules 2019-09-19 09:10:56 +08:00
074_ntp_enabled.py Extend sysinv to assign kubernetes labels to nodes 2018-08-24 15:40:48 -04:00
075_ptp.py Fix flake8 errors in sysinv 2018-09-12 13:03:33 -04:00
076_host_label.py Eliminate unnecessary imported modules 2019-09-19 09:10:56 +08:00
077_interface_network.py Multiple networks to interface association 2018-09-13 13:28:24 -04:00
078_interface_class.py Change standard license header 2019-09-24 15:23:01 +03:00
079_network_column_remove.py Change standard license header 2019-09-24 15:23:01 +03:00
080_kube_ceph_pool.py CEPH persistent storage backend for Kubernetes 2018-10-23 11:33:38 -06:00
081_helm_overrides.py Eliminate unnecessary imported modules 2019-09-19 09:10:56 +08:00
082_helm_system_overrides.py Application dirs and overrides updates 2019-05-23 12:02:42 -04:00
083_ceph_mon_tasks.py Ceph for standard: System Inventory CLI, API, DB 2019-01-16 18:12:15 +02:00
084_data_networks.py Create DataNetworks modelling in System Configuration 2019-01-22 17:43:45 -05:00
085_sriov_vf_driver.py Integration with latest SR-IOV CNI images 2019-05-29 13:36:28 -05:00
086_kube_app_application_unique_constraint.py Application update support 2019-06-07 12:29:14 -04:00
087_kube_application_releases.py Application update support 2019-06-07 12:29:14 -04:00
088_networktype_remove.py Change standard license header 2019-09-24 15:23:01 +03:00
089_host_fs.py Eliminate unnecessary imported modules 2019-09-19 09:10:56 +08:00
090_inv_state.py Create host state for determining initial inventory complete 2019-07-30 11:13:56 -04:00
091_kube_app_add_recovery_attempts.py Retry application of managed apps after failure 2019-08-20 12:10:31 +00:00
092_clock_synchronization.py Support for NTP/PTP coexistence 2019-09-17 14:45:18 -04:00
093_kube_upgrade_tables.py Provide infrastructure for kubernetes upgrades 2019-11-22 15:13:52 -06:00
094_sriov_vf_device.py Align with latest SR-IOV CNI and device plugin images 2019-10-10 13:30:29 -05:00
095_sriov_vf_interfaces.py Introduce VF interface type 2019-12-03 15:19:38 -06:00
096_ptp_interface.py Allow configuration of PTP master/slave interfaces 2019-12-09 15:05:16 -05:00
097_memory_column_add.py Hugepage percent allocation. 2019-12-16 15:16:56 -05:00
098_service_parameter_extensions.py Increase size of service-parameter field value 2019-12-17 12:53:21 -05:00
099_placeholder.py Sysinv extensions for FPGA support 2020-05-13 16:20:37 -04:00
100_placeholder.py Sysinv extensions for FPGA support 2020-05-13 16:20:37 -04:00
101_placeholder.py Sysinv extensions for FPGA support 2020-05-13 16:20:37 -04:00
102_placeholder.py Sysinv extensions for FPGA support 2020-05-13 16:20:37 -04:00
103_placeholder.py Sysinv extensions for FPGA support 2020-05-13 16:20:37 -04:00
104_fpga_devices.py Sysinv extensions for FPGA support 2020-05-13 16:20:37 -04:00
105_device_images.py Sysinv extensions for FPGA support 2020-05-13 16:20:37 -04:00
106_fpga_remove_columns.py Update device image state in device label API 2020-06-04 06:22:09 -04:00
107_device_vf_attrs.py SR-IOV device plugin support for FPGA FEC devices 2020-06-16 15:37:40 -04:00
108_kube_app_mode.py B&R: Fix restore of stx-openstack 2020-10-27 15:39:51 +02:00
109_edgeworker_personality.py Add edgeworker personality 2020-11-27 06:51:01 +00:00
110_remove_snmp.py Remove REST API for host-based snmp 2021-01-06 12:09:44 +00:00
111_storage_ceph_rook.py Introduce rook ceph 2021-01-27 06:46:02 +08:00
112_add_backup_restore_table.py Migrate to database backend for backup and restore 2021-02-24 13:48:04 +02:00
113_kube_app_metadata.py Rework platform managed apps 2021-03-09 18:24:44 +02:00
114_system_geolocation.py Introducing GEO location new fields for System 2021-03-12 13:15:40 -05:00
115_interface_primary_reselect.py Add bond option primary_reselect 2021-03-23 12:10:02 -04:00
116_storage_ceph_network.py Allow configurable ceph storage backend network 2021-05-07 14:31:39 +03:00
117_kube_update_rootca_tables.py Setting DB schemas for kube rootCA update APIs 2021-06-11 16:58:13 -03:00
118_kube_cmd_versions_table.py sysinv: update constant name to be more accurate 2021-10-01 09:14:05 -06:00
119_device_image_retimer.py N3000 BMC and retimer firmware update 2021-08-11 14:49:28 -04:00
120_ptp_instances.py [PTP dual NIC config] PTP parameter: CLI, REST API 2021-11-09 17:17:29 -03:00
121_retimer_version.py Display retimer version of the FPGA device 2021-10-13 16:29:27 -04:00
122_remove_profiles.py Remove host hardware sysinv profile 2021-10-18 18:01:40 -03:00
123_device_image_bmc.py Preserve states for functional user and bmc image 2021-11-22 14:41:28 -05:00
__init__.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00