config/sysinv/sysinv/sysinv/sysinv
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
..
agent Re-enable important py3k checks for sysinv 2021-11-10 11:08:12 -03:00
api Preserve states for functional user and bmc image 2021-11-22 14:41:28 -05:00
cert_alarm Refactor code to update entity_id in cert-alarm 2021-11-18 10:36:38 -05:00
cert_mon Add timeout for get_endpoint_certificate 2021-10-13 18:54:52 -04:00
cmd python3: Refactor dict for python2/python3 compat 2021-08-10 12:58:36 -04:00
common Merge "Add a new validation function" 2021-11-17 16:40:12 +00:00
conductor Fix issue on secure_system.yaml not being updated 2021-11-18 12:17:40 -03:00
db Preserve states for functional user and bmc image 2021-11-22 14:41:28 -05:00
fpga_agent Display retimer version of the FPGA device 2021-10-13 16:29:27 -04:00
helm Fix ceph pool creation during stx-openstack apply 2021-11-12 18:07:49 -05:00
objects Preserve states for functional user and bmc image 2021-11-22 14:41:28 -05:00
openstack Re-enable important py3k checks for sysinv 2021-11-10 11:08:12 -03:00
puppet Remove mon_host msgr v1 setting on upgrade activate 2021-11-14 19:09:44 -05:00
tests 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
_i18n.py Eliminate sdist step from sysinv zuul 2021-04-12 09:34:17 -05:00
netconf.py Fix bad syntax in requirements.txt file 2021-09-14 09:15:56 -05:00
sanity_coverage.py Specify the nodeset for zuul jobs 2021-05-19 13:51:15 -05:00
version.py Fix zuul for bandit target 2021-05-20 08:43:15 -05:00