Skip to content

Commit 547c393

Browse files
Jenkinsopenstack-gerrit
authored andcommitted
Merge "Allow install os-vif library used by Nova"
2 parents 2231459 + 1258da6 commit 547c393

3 files changed

Lines changed: 13 additions & 1 deletion

File tree

lib/nova

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ set +o xtrace
3434

3535
# Set up default directories
3636
GITDIR["python-novaclient"]=$DEST/python-novaclient
37+
GITDIR["os-vif"]=$DEST/os-vif
3738
NOVA_DIR=$DEST/nova
3839

3940
# Nova virtual environment
@@ -728,6 +729,13 @@ function install_novaclient {
728729

729730
# install_nova() - Collect source and prepare
730731
function install_nova {
732+
733+
# Install os-vif
734+
if use_library_from_git "os-vif"; then
735+
git_clone_by_name "os-vif"
736+
setup_dev_lib "os-vif"
737+
fi
738+
731739
if is_service_enabled n-cpu && [[ -r $NOVA_PLUGINS/hypervisor-$VIRT_DRIVER ]]; then
732740
install_nova_hypervisor
733741
fi

stackrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -484,6 +484,10 @@ GITDIR["ceilometermiddleware"]=$DEST/ceilometermiddleware
484484
GITREPO["os-brick"]=${OS_BRICK_REPO:-${GIT_BASE}/openstack/os-brick.git}
485485
GITBRANCH["os-brick"]=${OS_BRICK_BRANCH:-master}
486486

487+
# os-vif library to communicate between Neutron to Nova
488+
GITREPO["os-vif"]=${OS_VIF_REPO:-${GIT_BASE}/openstack/os-vif.git}
489+
GITBRANCH["os-vif"]=${OS_VIF_BRANCH:-master}
490+
487491
# ironic common lib
488492
GITREPO["ironic-lib"]=${IRONIC_LIB_REPO:-${GIT_BASE}/openstack/ironic-lib.git}
489493
GITBRANCH["ironic-lib"]=${IRONIC_LIB_BRANCH:-master}

tests/test_libs_from_pypi.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ ALL_LIBS+=" python-neutronclient tooz ceilometermiddleware oslo.policy"
4242
ALL_LIBS+=" debtcollector os-brick automaton futurist oslo.service"
4343
ALL_LIBS+=" oslo.cache oslo.reports osprofiler"
4444
ALL_LIBS+=" keystoneauth ironic-lib neutron-lib oslo.privsep"
45-
ALL_LIBS+=" diskimage-builder"
45+
ALL_LIBS+=" diskimage-builder os-vif"
4646

4747
# Generate the above list with
4848
# echo ${!GITREPO[@]}

0 commit comments

Comments
 (0)