summaryrefslogtreecommitdiff
path: root/devstack
diff options
context:
space:
mode:
authorIury Gregory Melo Ferreira <imelofer@redhat.com>2020-03-23 15:08:40 +0100
committerIury Gregory Melo Ferreira <imelofer@redhat.com>2020-07-08 21:55:02 +0200
commitddbc4a6a099da83701aad67386e8f1e1646ee80d (patch)
tree7d62eb5f9f8d8926f7c3ee15811eeb6f4aabf849 /devstack
parentdaca490226d0a0048d3d215b2a184f10108082e5 (diff)
downloadironic-ddbc4a6a099da83701aad67386e8f1e1646ee80d.tar.gz
add tempest boot_mode config
This patches update the devstack to automatically set the new tempest configuration `boot_mode`, it will use the value from IRONIC_BOOT_MODE variable. Increase the number of VM's in ironic-tempest-ipa-partition-pxe_ipmitool and ironic-tempest-ipa-wholedisk-bios-agent_ipmitool-tinyipa to 2 since it runs cleanning and now we run two tempest tests. Depends-On: https://review.opendev.org/735960 Change-Id: Ic6faf73430e56e2b1ff19a72b1b03f8ef34eff5f
Diffstat (limited to 'devstack')
-rw-r--r--devstack/lib/ironic3
1 files changed, 3 insertions, 0 deletions
diff --git a/devstack/lib/ironic b/devstack/lib/ironic
index a4d5fc07c..fd5a15182 100644
--- a/devstack/lib/ironic
+++ b/devstack/lib/ironic
@@ -2958,6 +2958,9 @@ function ironic_configure_tempest {
if [[ -n "$IRONIC_IP_VERSION" ]]; then
iniset $TEMPEST_CONFIG validation ip_version_for_ssh $IRONIC_IP_VERSION
fi
+ if [[ -n "$IRONIC_BOOT_MODE" ]]; then
+ iniset $TEMPEST_CONFIG baremetal boot_mode $IRONIC_BOOT_MODE
+ fi
if [[ "$IRONIC_IP_VERSION" == "6" ]]; then
# No FIPs in V6 and we dynamically create networks...
# network_for_ssh is defaulted to public