Fix host-inventory cleanup

The host-inventory entrypoint of the virtual-network-cloud site is using
the old cleanup method, which has been removed. This change updates it
to use the new cleanup function. This change also re-enables voting for
the virtual-network-cloud deployment job.

Signed-off-by: Drew Walters <andrew.walters@att.com>
Change-Id: Ib09125a9c5e7c61f314f1962f89efef51c5ead58
This commit is contained in:
Drew Walters 2021-05-27 14:53:26 +00:00
parent bb8962f3fc
commit 28a693ccc5
2 changed files with 16 additions and 4 deletions

View File

@ -7,5 +7,4 @@ resources:
transformers:
- ../../../../../../airshipctl/manifests/function/hostgenerator-m3/replacements
- ../../../../../../airshipctl/manifests/function/hostgenerator-m3/cleanup
- ../../target/catalogues/cleanup
- ../../../../function/treasuremap-cleanup

View File

@ -26,7 +26,7 @@ hosts:
node02:
bootMode: UEFI
macAddress: 52:54:00:b6:ed:02
bmcAddress: redfish+http://10.23.25.2:8000/redfish/v1/Systems/air-target-2
bmcAddress: redfish+https://10.23.25.1:8443/redfish/v1/Systems/air-ephemeral
bmcUsername: username
bmcPassword: password
disableCertificateVerification: false
@ -36,7 +36,7 @@ hosts:
macAddresses:
oam: 52:54:00:9b:27:02
pxe: 52:54:00:b6:ed:02
hardwareProfile: default # defined in the hardwareprofile-example function
hardwareProfile: default
node03:
bootMode: UEFI
macAddress: 52:54:00:b6:ed:23
@ -51,3 +51,16 @@ hosts:
oam: 52:54:00:9b:27:07
pxe: 52:54:00:b6:ed:23
hardwareProfile: default # defined in the hardwareprofile-example function
node04:
bootMode: UEFI
macAddress: 52:54:00:36:5e:e3
bmcAddress: redfish+http://10.23.25.2:8000/redfish/v1/Systems/air-target-2
bmcUsername: username
bmcPassword: password
ipAddresses:
oam-ipv4: 10.23.25.104
pxe-ipv4: 10.23.24.104
macAddresses:
oam: 52:54:00:dc:ab:04
pxe: 52:54:00:51:0b:e4
hardwareProfile: default # defined in the hardwareprofile-example function