Test redfish with reduced sushy-tools feature set
Two jobs are changed to test a reduced Redfish implementation: one PXE job uses the minimum version (only boot/power management) one vmedia job uses the reduced version (+ NICs, virtual media) Change-Id: Ib3afdb26b9cd36c0e4f3d736b9c69a5bf508fc0e
This commit is contained in:
parent
607b8734e4
commit
4cc167cc6e
@ -435,6 +435,7 @@ IRONIC_VPDU_SYSTEMD_SERVICE=devstack@virtualpdu.service
|
|||||||
IRONIC_REDFISH_EMULATOR_PORT=${IRONIC_REDFISH_EMULATOR_PORT:-9132}
|
IRONIC_REDFISH_EMULATOR_PORT=${IRONIC_REDFISH_EMULATOR_PORT:-9132}
|
||||||
IRONIC_REDFISH_EMULATOR_SYSTEMD_SERVICE="devstack@redfish-emulator.service"
|
IRONIC_REDFISH_EMULATOR_SYSTEMD_SERVICE="devstack@redfish-emulator.service"
|
||||||
IRONIC_REDFISH_EMULATOR_CONFIG=${IRONIC_REDFISH_EMULATOR_CONFIG:-$IRONIC_CONF_DIR/redfish/emulator.conf}
|
IRONIC_REDFISH_EMULATOR_CONFIG=${IRONIC_REDFISH_EMULATOR_CONFIG:-$IRONIC_CONF_DIR/redfish/emulator.conf}
|
||||||
|
IRONIC_REDFISH_EMULATOR_FEATURE_SET=${IRONIC_REDFISH_EMULATOR_FEATURE_SET:-full}
|
||||||
|
|
||||||
# To explicitly enable configuration of Glance with Swift
|
# To explicitly enable configuration of Glance with Swift
|
||||||
# (which is required by some vendor drivers), set this
|
# (which is required by some vendor drivers), set this
|
||||||
@ -1063,7 +1064,8 @@ function install_redfish {
|
|||||||
git_clone_by_name "sushy-tools"
|
git_clone_by_name "sushy-tools"
|
||||||
setup_dev_lib "sushy-tools"
|
setup_dev_lib "sushy-tools"
|
||||||
else
|
else
|
||||||
pip_install "sushy-tools"
|
# 1.1.0 adds support for feature sets
|
||||||
|
pip_install "sushy-tools>=1.1.0"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
local cmd
|
local cmd
|
||||||
@ -1098,6 +1100,7 @@ SUSHY_EMULATOR_BOOT_LOADER_MAP = {
|
|||||||
'x86_64': None
|
'x86_64': None
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
SUSHY_EMULATOR_FEATURE_SET = "$IRONIC_REDFISH_EMULATOR_FEATURE_SET"
|
||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -276,6 +276,8 @@
|
|||||||
# Reset the callback to a normal-ish value.
|
# Reset the callback to a normal-ish value.
|
||||||
IRONIC_CALLBACK_TIMEOUT: 600
|
IRONIC_CALLBACK_TIMEOUT: 600
|
||||||
IRONIC_BOOT_MODE: bios
|
IRONIC_BOOT_MODE: bios
|
||||||
|
# Make sure this feature works even with the minumum implementation
|
||||||
|
IRONIC_REDFISH_EMULATOR_FEATURE_SET: minimum
|
||||||
devstack_services:
|
devstack_services:
|
||||||
# Parent job uses swift, this one does not, thus we can turn it off.
|
# Parent job uses swift, this one does not, thus we can turn it off.
|
||||||
s-account: False
|
s-account: False
|
||||||
@ -304,6 +306,7 @@
|
|||||||
IRONIC_GRUB2_SHIM_FILE: https://mirror.iad3.inmotion.opendev.org/centos-stream/9-stream/BaseOS/x86_64/os/EFI/BOOT/BOOTX64.EFI
|
IRONIC_GRUB2_SHIM_FILE: https://mirror.iad3.inmotion.opendev.org/centos-stream/9-stream/BaseOS/x86_64/os/EFI/BOOT/BOOTX64.EFI
|
||||||
IRONIC_GRUB2_FILE: https://mirror.iad3.inmotion.opendev.org/centos-stream/9-stream/BaseOS/x86_64/os/EFI/BOOT/grubx64.efi
|
IRONIC_GRUB2_FILE: https://mirror.iad3.inmotion.opendev.org/centos-stream/9-stream/BaseOS/x86_64/os/EFI/BOOT/grubx64.efi
|
||||||
IRONIC_GRUB2_CONFIG_PATH: EFI/BOOT/grub.cfg
|
IRONIC_GRUB2_CONFIG_PATH: EFI/BOOT/grub.cfg
|
||||||
|
IRONIC_REDFISH_EMULATOR_FEATURE_SET: vmedia
|
||||||
devstack_services:
|
devstack_services:
|
||||||
s-account: True
|
s-account: True
|
||||||
s-container: True
|
s-container: True
|
||||||
|
Loading…
Reference in New Issue
Block a user