distcloud/distributedcloud/dcmanager/rpc
Tee Ngo af14a6f65c DCManager update for Redfish subcloud restore
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>
2021-02-26 14:09:40 -05:00
..
__init__.py Move content to subdir to support relocated packaging 2019-11-04 13:57:02 -05:00
client.py DCManager update for Redfish subcloud restore 2021-02-26 14:09:40 -05:00