config/sysinv/sysinv/sysinv/sysinv/objects
Dan Voiculeasa 2b7a745b7f Migrate to database backend for backup and restore
Drop the use of a flag file for restore.
Create the database table for backup and restore.
Use the database to store information.

CREATE TABLE backup_restore (
        created_at TIMESTAMP,
        updated_at TIMESTAMP,
        deleted_at TIMESTAMP,
        id serial PRIMARY KEY,
        uuid VARCHAR ( 36 ) UNIQUE NOT NULL,
        state VARCHAR ( 128 ) NOT NULL,
        capabilities TEXT
);

This is an improvement to allow backup and restore functionality to be
extended in an easier manner. Not required to fix the the bug.

Added unit tests.

Depends-On: I7b7fab99d457056032dbbd612363cd5036736cda
Depends-On: I44fc4aaa528e372a84115714f271b4f5e063f86e
Partial-Bug: 1887648
Change-Id: Ibb96696a35fe7b560aa002c442e2af735d08ec24
Signed-off-by: Dan Voiculeasa <dan.voiculeasa@windriver.com>
2021-02-24 13:48:04 +02:00
..
__init__.py Migrate to database backend for backup and restore 2021-02-24 13:48:04 +02: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 Deprecate sysinv.openstack.common.log 2019-11-05 15:29:20 -06: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 Sysinv extensions for FPGA support 2020-05-13 16:20:37 -04: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 sysinv FPGA agent initial commit 2020-06-07 23:54:01 -06: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 VF rate limiting support 2021-01-26 09:43:46 -05:00
interface_ae.py Fix calls in sysinv to non-existent methods and constants 2019-08-30 14:54:58 -05: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 B&R: Fix restore of stx-openstack 2020-10-27 15:39:51 +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_host_upgrade.py Provide infrastructure for kubernetes upgrades 2019-11-22 15:13:52 -06: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 Fix calls in sysinv to non-existent methods and constants 2019-08-30 14:54:58 -05: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 SR-IOV device plugin support for FPGA FEC devices 2020-06-16 15:37:40 -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
profile.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
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 Fix calls in sysinv to non-existent methods and constants 2019-08-30 14:54:58 -05: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 Fix calls in sysinv to non-existent methods and constants 2019-08-30 14:54:58 -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