Merge "Add possibility to not compile ovs and ovn if that's disabled"
This commit is contained in:
commit
680298e7c6
@ -28,6 +28,8 @@ source $NEUTRON_DIR/devstack/lib/ovs
|
||||
# Defaults
|
||||
# --------
|
||||
|
||||
Q_BUILD_OVS_FROM_GIT=$(trueorfalse True Q_BUILD_OVS_FROM_GIT)
|
||||
|
||||
# Set variables for building OVN from source
|
||||
OVN_REPO=${OVN_REPO:-https://github.com/ovn-org/ovn.git}
|
||||
OVN_REPO_NAME=$(basename ${OVN_REPO} | cut -f1 -d'.')
|
||||
@ -322,6 +324,11 @@ function ovn_sanity_check {
|
||||
|
||||
# install_ovn() - Collect source and prepare
|
||||
function install_ovn {
|
||||
if [[ "$Q_BUILD_OVS_FROM_GIT" == "False" ]]; then
|
||||
echo "Installation of OVS from source disabled."
|
||||
return 0
|
||||
fi
|
||||
|
||||
echo "Installing OVN and dependent packages"
|
||||
|
||||
# Check the OVN configuration
|
||||
|
Loading…
Reference in New Issue
Block a user