configure_for_func_testing.sh: Source lib/neutron as well

Also, set ENABLED_SERIVICES before sourcing devstack files
because they uses it.  This is a preparation for an upcoming
change in devstack. [1]

[1] I3ff136fc8330c92007cdfe91b77d7f9865eabd8d

Change-Id: Ida1f83b6b3ef9b76be13c063c7e35a8703214078
This commit is contained in:
YAMAMOTO Takashi 2016-12-01 20:28:50 +09:00
parent bf84180411
commit c15c4e4ede

View File

@ -171,9 +171,11 @@ EOF
function _install_agent_deps {
echo_summary "Installing agent dependencies"
ENABLED_SERVICES=q-agt,q-dhcp,q-l3
source $DEVSTACK_PATH/lib/neutron
source $DEVSTACK_PATH/lib/neutron-legacy
ENABLED_SERVICES=q-agt,q-dhcp,q-l3
install_neutron_agent_packages
}