commit f1a7991e3dd9a5c49b75b4b5575f19993981253c
Author: Hugo Brito <email address hidden>
Date: Fri Oct 7 13:59:33 2022 -0300
Parse backup_values YAML file
Instead of sending the path of the backup_values file
to the dcmanager, this commit parses the file and only
sends the content.
Test Plan:
1. Add a subcloud using dcmanager subcloud add command.
2. Create backup_values.yaml
- platform_backup_filename_prefix: abc
3. Create a backup using dcmanager subcloud-backup
without --backup_values <file>.
- backup file created with default name.
4. Create a backup using dcmanager subcloud-backup
--backup_values backup_values.yaml.
- backup file created with 'abc' prefix.
Reviewed: https:/ /review. opendev. org/c/starlingx /distcloud- client/ +/860725 /opendev. org/starlingx/ distcloud- client/ commit/ f1a7991e3dd9a5c 49b75b4b5575f19 993981253c
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit f1a7991e3dd9a5c 49b75b4b5575f19 993981253c
Author: Hugo Brito <email address hidden>
Date: Fri Oct 7 13:59:33 2022 -0300
Parse backup_values YAML file
Instead of sending the path of the backup_values file
to the dcmanager, this commit parses the file and only
sends the content.
Test Plan: backup_ filename_ prefix: abc
1. Add a subcloud using dcmanager subcloud add command.
2. Create backup_values.yaml
- platform_
3. Create a backup using dcmanager subcloud-backup
without --backup_values <file>.
- backup file created with default name.
4. Create a backup using dcmanager subcloud-backup
--backup_values backup_values.yaml.
- backup file created with 'abc' prefix.
Depends-On: https:/ /review. opendev. org/c/starlingx /distcloud/ +/860727
Closes-Bug: 1992103
Signed-off-by: Hugo Brito <email address hidden> 8ab67ab549db823 dc71322fdcd
Change-Id: I2146136403bc92