Merge "Add iRMC Driver Support to DevStack Code"
This commit is contained in:
commit
91afc494f2
@ -814,6 +814,11 @@ function is_ibmc_enabled {
|
||||
return 1
|
||||
}
|
||||
|
||||
function is_irmc_enabled {
|
||||
[[ -z "${IRONIC_ENABLED_HARDWARE_TYPES%%*irmc*}" ]] && return 0
|
||||
return 1
|
||||
}
|
||||
|
||||
function is_ansible_deploy_enabled {
|
||||
[[ -z "${IRONIC_ENABLED_DEPLOY_INTERFACES%%*ansible*}" ]] && return 0
|
||||
return 1
|
||||
@ -1137,6 +1142,10 @@ function install_ironic {
|
||||
pip_install python-ibmcclient
|
||||
fi
|
||||
|
||||
if is_irmc_enabled; then
|
||||
pip_install python-scciclient pysnmp
|
||||
fi
|
||||
|
||||
if is_ansible_deploy_enabled; then
|
||||
pip_install "$(grep '^ansible' $IRONIC_DIR/driver-requirements.txt | awk '{print $1}')"
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user