config/sysinv/sysinv/sysinv/sysinv/objects
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
..
__init__.py Remove host hardware sysinv profile 2021-10-18 18:01:40 -03:00
address.py Fixed address interface foreign key inconsistency 2020-03-03 16:50:12 -05:00
address_mode.py Fix calls in sysinv to non-existent methods and constants 2019-08-30 14:54:58 -05:00
address_pool.py Fix calls in sysinv to non-existent methods and constants 2019-08-30 14:54:58 -05:00
base.py Re-enable important py3k checks for sysinv 2021-11-10 11:08:12 -03:00
ceph_mon.py Fix calls in sysinv to non-existent methods and constants 2019-08-30 14:54:58 -05:00
certificate.py Fix calls in sysinv to non-existent methods and constants 2019-08-30 14:54:58 -05:00
cluster.py Eliminate unnecessary import modules in the objects directory 2019-09-24 15:23:30 +08:00
controller_fs.py Fix calls in sysinv to non-existent methods and constants 2019-08-30 14:54:58 -05:00
cpu.py Fix calls in sysinv to non-existent methods and constants 2019-08-30 14:54:58 -05:00
datanetwork.py Fix calls in sysinv to non-existent methods and constants 2019-08-30 14:54:58 -05:00
device_image.py Preserve states for functional user and bmc image 2021-11-22 14:41:28 -05:00
device_image_label.py Sysinv extensions for FPGA support 2020-05-13 16:20:37 -04:00
device_image_state.py Device image update alarm and audit 2020-06-05 12:47:07 -04:00
device_label.py Update device image state in device label API 2020-06-04 06:22:09 -04:00
disk.py Fix calls in sysinv to non-existent methods and constants 2019-08-30 14:54:58 -05:00
dns.py Fix calls in sysinv to non-existent methods and constants 2019-08-30 14:54:58 -05:00
drbdconfig.py Fix calls in sysinv to non-existent methods and constants 2019-08-30 14:54:58 -05:00
fpga_device.py Display retimer version of the FPGA device 2021-10-13 16:29:27 -04:00
helm_overrides.py Fix calls in sysinv to non-existent methods and constants 2019-08-30 14:54:58 -05:00
host.py Sysinv extensions for FPGA support 2020-05-13 16:20:37 -04:00
host_fs.py Fix calls in sysinv to non-existent methods and constants 2019-08-30 14:54:58 -05:00
host_upgrade.py Fix calls in sysinv to non-existent methods and constants 2019-08-30 14:54:58 -05:00
interface.py Add bond option primary_reselect 2021-03-23 12:10:02 -04:00
interface_ae.py Add bond option primary_reselect 2021-03-23 12:10:02 -04:00
interface_base.py Change VLAN interface naming scheme 2019-10-16 15:11:50 -04:00
interface_datanetwork.py Eliminate unnecessary import modules in the objects directory 2019-09-24 15:23:30 +08:00
interface_ethernet.py Fix calls in sysinv to non-existent methods and constants 2019-08-30 14:54:58 -05:00
interface_network.py Multiple networks to interface association 2018-09-13 13:28:24 -04:00
interface_vf.py Introduce VF interface type 2019-12-03 15:19:38 -06:00
interface_virtual.py Fix calls in sysinv to non-existent methods and constants 2019-08-30 14:54:58 -05:00
interface_vlan.py Fix calls in sysinv to non-existent methods and constants 2019-08-30 14:54:58 -05:00
journal.py Fix calls in sysinv to non-existent methods and constants 2019-08-30 14:54:58 -05:00
kube_app.py Rework platform managed apps 2021-03-09 18:24:44 +02:00
kube_app_releases.py Fix calls in sysinv to non-existent methods and constants 2019-08-30 14:54:58 -05:00
kube_cmd_version.py Add new kube_cmd_versions table and API endpoint 2021-08-04 16:31:25 +03:00
kube_host_upgrade.py Provide infrastructure for kubernetes upgrades 2019-11-22 15:13:52 -06:00
kube_rootca_host_update.py kube-rootca-update procedure list/show API's 2021-07-19 11:17:55 -03:00
kube_rootca_update.py Setting DB schemas for kube rootCA update APIs 2021-06-11 16:58:13 -03:00
kube_upgrade.py Provide infrastructure for kubernetes upgrades 2019-11-22 15:13:52 -06:00
kube_version.py Adding support for displaying kubernetes versions 2019-10-23 14:10:10 -05:00
label.py Fix calls in sysinv to non-existent methods and constants 2019-08-30 14:54:58 -05:00
lldp_agent.py Eliminate unnecessary import modules in the objects directory 2019-09-24 15:23:30 +08:00
lldp_neighbour.py Eliminate unnecessary import modules in the objects directory 2019-09-24 15:23:30 +08:00
lldp_tlv.py Fix calls in sysinv to non-existent methods and constants 2019-08-30 14:54:58 -05:00
load.py Fix calls in sysinv to non-existent methods and constants 2019-08-30 14:54:58 -05:00
lvg.py Fix calls in sysinv to non-existent methods and constants 2019-08-30 14:54:58 -05:00
memory.py Hugepage percent allocation. 2019-12-16 15:16:56 -05:00
network.py Fix calls in sysinv to non-existent methods and constants 2019-08-30 14:54:58 -05:00
network_oam.py Add support for AIO-SX to DX migration on subcloud 2021-03-29 14:00:52 -04:00
node.py Fix calls in sysinv to non-existent methods and constants 2019-08-30 14:54:58 -05:00
ntp.py Support for NTP/PTP coexistence 2019-09-17 14:45:18 -04:00
partition.py Fix calls in sysinv to non-existent methods and constants 2019-08-30 14:54:58 -05:00
pci_device.py Display retimer version of the FPGA device 2021-10-13 16:29:27 -04:00
peer.py Eliminate unnecessary import modules in the objects directory 2019-09-24 15:23:30 +08:00
port.py Align with latest SR-IOV CNI and device plugin images 2019-10-10 13:30:29 -05:00
port_ethernet.py Fix calls in sysinv to non-existent methods and constants 2019-08-30 14:54:58 -05:00
ptp.py Support for NTP/PTP coexistence 2019-09-17 14:45:18 -04:00
ptp_instance.py [PTP dual NIC config] PTP parameter: CLI, REST API 2021-11-09 17:17:29 -03:00
ptp_interface.py [PTP dual NIC config] Capabilities in PTP tables 2021-11-04 15:05:36 -03:00
ptp_parameter.py [PTP dual NIC config] PTP parameter: CLI, REST API 2021-11-09 17:17:29 -03:00
pv.py Fix calls in sysinv to non-existent methods and constants 2019-08-30 14:54:58 -05:00
remote_logging.py Eliminate unnecessary import modules in the objects directory 2019-09-24 15:23:30 +08:00
restore.py Migrate to database backend for backup and restore 2021-02-24 13:48:04 +02:00
route.py Fix calls in sysinv to non-existent methods and constants 2019-08-30 14:54:58 -05:00
sdn_controller.py Fix calls in sysinv to non-existent methods and constants 2019-08-30 14:54:58 -05:00
sensor.py Eliminate unnecessary import modules in the objects directory 2019-09-24 15:23:30 +08:00
sensor_analog.py Fix calls in sysinv to non-existent methods and constants 2019-08-30 14:54:58 -05:00
sensor_discrete.py Fix calls in sysinv to non-existent methods and constants 2019-08-30 14:54:58 -05:00
sensorgroup.py Fix calls in sysinv to non-existent methods and constants 2019-08-30 14:54:58 -05:00
sensorgroup_analog.py Fix calls in sysinv to non-existent methods and constants 2019-08-30 14:54:58 -05:00
sensorgroup_discrete.py Fix calls in sysinv to non-existent methods and constants 2019-08-30 14:54:58 -05:00
service.py Eliminate unnecessary import modules in the objects directory 2019-09-24 15:23:30 +08:00
service_parameter.py Fix calls in sysinv to non-existent methods and constants 2019-08-30 14:54:58 -05:00
software_upgrade.py Fix calls in sysinv to non-existent methods and constants 2019-08-30 14:54:58 -05:00
storage.py Eliminate unnecessary import modules in the objects directory 2019-09-24 15:23:30 +08:00
storage_backend.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
storage_ceph.py Allow configurable ceph storage backend network 2021-05-07 14:31:39 +03:00
storage_ceph_external.py Fix calls in sysinv to non-existent methods and constants 2019-08-30 14:54:58 -05:00
storage_ceph_rook.py Introduce rook ceph 2021-01-27 06:46:02 +08:00
storage_external.py Fix calls in sysinv to non-existent methods and constants 2019-08-30 14:54:58 -05:00
storage_file.py Fix calls in sysinv to non-existent methods and constants 2019-08-30 14:54:58 -05:00
storage_lvm.py Fix calls in sysinv to non-existent methods and constants 2019-08-30 14:54:58 -05:00
storage_tier.py Eliminate unnecessary import modules in the objects directory 2019-09-24 15:23:30 +08:00
system.py Introducing GEO location new fields for System 2021-03-12 13:15:40 -05:00
tpmconfig.py Fix calls in sysinv to non-existent methods and constants 2019-08-30 14:54:58 -05:00
tpmdevice.py Fix calls in sysinv to non-existent methods and constants 2019-08-30 14:54:58 -05:00
user.py Fix calls in sysinv to non-existent methods and constants 2019-08-30 14:54:58 -05:00
utils.py Deprecate the sysinv.openstack.common utils files 2019-12-04 10:58:39 -06:00