Gustavo Herzmann fbd78b235c Add management_ip field to dcorch subcloud table
This commit adds a new management_ip field to the dcorch subcloud
table. This field will be used to build the subclouds service endpoints
after the OptimizedOpenStackDriver [1] is integrated into dcorch.

The DB upgrade script and related upgrade tests will be done in a
separate commit.

Test Plan:
1. PASS - Run the dcorch database migration script to update it to
          version 009, verify that the management_ip column is added
          to the subcloud table.
2. PASS - Add a new subcloud and verify in dcorch DB that the a new
          subcloud item was added with the correct management_ip field.
3. PASS - Run a subcloud update with network reconfiguration, changing
          the management_ip, verify that in dcorch DB that the subcloud
          item was updated correctly.

[1]: https://review.opendev.org/c/starlingx/distcloud/+/918311

Story: 2011106
Task: 50105

Change-Id: If1c299700fd769dc8f89172c5088fe7de66d0774
Signed-off-by: Gustavo Herzmann <gustavo.herzmann@windriver.com>
2024-05-17 11:38:11 -03:00
..
2024-01-18 10:48:08 -03:00