When creating a new interface, it can be selected a collection of
'used' interfaces by the new one.
This functionality makes use of the sysinv API in which the parameter
of such interfaces is required to be specified by the names of the
interfaces and not by the UUID.
This change looks for the names and replace the UUID for every
selected interface.
Test plan
PASS: * Log in to Starlingx dashboard, navigate to a Host Detail.
* Go to to the interface tab and click the 'Create Interface'
button.
* Select a compatible configuration and make sure to check an interface from the 'Interfaces' list.
* The interface is created successfully.
Reviewed: https:/ /review. opendev. org/c/starlingx /gui/+/ 884769 /opendev. org/starlingx/ gui/commit/ da087c7f041985e 5d270712adf1d6b c1eda7be32
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit da087c7f041985e 5d270712adf1d6b c1eda7be32
Author: Agustin Carranza <email address hidden>
Date: Tue May 30 15:19:48 2023 -0300
Change 'uses' parameter from UUID to iface name
When creating a new interface, it can be selected a collection of
'used' interfaces by the new one.
This functionality makes use of the sysinv API in which the parameter
of such interfaces is required to be specified by the names of the
interfaces and not by the UUID.
This change looks for the names and replace the UUID for every
selected interface.
Test plan
interface from the 'Interfaces' list.
PASS: * Log in to Starlingx dashboard, navigate to a Host Detail.
* Go to to the interface tab and click the 'Create Interface'
button.
* Select a compatible configuration and make sure to check an
* The interface is created successfully.
Closes-bug: 2021893
Signed-off-by: Agustin Carranza <email address hidden> d69f28cc6ff0ea6 5fe53ffc4b5
Change-Id: I1242f05a936ff3