In this commit, dcmanager api and manager are updated to
support the restore of a Redfish capable subcloud from
backup data.
Unit tests will be added in a separate commit.
Tests:
- Restore request without install (not yet supported)
- Restore request for a subcloud that is currently in 'managed'
state
- Load is not in dc-vault
- Mandatory restore value (backup_filename) is not present
- Specified backup file cannot be found
- Subcloud restore with backup data on the target (i.e.
backup tarball is under /opt/platform-backup)
- Subcloud restore with backup data on the system controller
(i.e. on_box_data = false)
- Simulate install failure
- Simulate check target failure
- Batch subcloud restore
- Subcloud restore retry
- Subcloud restore with patches
Task: 41725
Story: 2008573
Depends-On: https://review.opendev.org/c/starlingx/ansible-playbooks/+/777046
Change-Id: I8134c535e39231837727811475b0f01b2ccddb63
Signed-off-by: Tee Ngo <tee.ngo@windriver.com>