Adds the subcloud deploy bootstrap command to dcmanager client. It only
performs the bootstrap phase, where all parameters are validated and
the bootstrap playbook is executed.
Usage:
dcmanager subcloud deploy bootstrap
--sysadmin-password <password>
[--bootstrap-address <subcloud-bootstrap-address>]
[--bootstrap-values <bootstrap-values.yaml>]
subcloud-name
Test Plan:
1. PASS - Bootstrap a subcloud using all the parameters and verify that
the correct API call is made;
2. PASS - Bootstrap a subcloud using only the required parameters
(--sysadmin-password and subcloud-name) and verify that the
correct API call is made;
3. PASS - Verify that the CLI asks for the sysadmin-password if it's
not provided through the --sysadmin-password parameter;
4. PASS - Verify that it's not possible to bootstrap a subcloud without
the required parameters (--sysadmin-password and
subcloud-name);
5. PASS - Verify that the dcmanager help subcloud deploy bootstrap
shows the correct help message containing all options.
Story: 2010756
Task: 48104
Change-Id: I7033e8247bdcfae243c6a86c0f632b88ef206ce9
Signed-off-by: Gustavo Herzmann <gustavo.herzmann@windriver.com>