Install client from pip if not in LIBS_FROM_GIT

It shouldn't be a requirement to put python-octaviaclient into
LIBS_FROM_GIT in local.conf. This commit makes Octavia's DevStack plugin
install it from pip if it's not present in LIBS_FROM_GIT.

Story: 2001830
Task: 12587
Change-Id: I37014a766e27f6117c96aef976fa1e0b5a9ca031
This commit is contained in:
Michał Dulko 2018-04-12 10:29:59 +02:00
parent 53141880c3
commit f66f08ff9c
1 changed files with 2 additions and 0 deletions

View File

@ -24,6 +24,8 @@ function octaviaclient_install {
if use_library_from_git "python-octaviaclient"; then
git_clone_by_name "python-octaviaclient"
setup_dev_lib "python-octaviaclient"
else
pip_install_gr python-octaviaclient
fi
}