Install and configure python-heatclient.
This uses the new REST API. It installs a client executable called 'heat'. The old heat client in the heat repo has been renamed to heat-cfn. Change-Id: I7bc8662c531e3639cc940a44df96ff426ac3aada
This commit is contained in:
parent
308beccc24
commit
32761a4961
12
lib/heat
12
lib/heat
@ -23,7 +23,7 @@ set +o xtrace
|
|||||||
# Defaults
|
# Defaults
|
||||||
# --------
|
# --------
|
||||||
HEAT_DIR=$DEST/heat
|
HEAT_DIR=$DEST/heat
|
||||||
|
HEATCLIENT_DIR=$DEST/python-heatclient
|
||||||
# set up default directories
|
# set up default directories
|
||||||
|
|
||||||
# cleanup_heat() - Remove residual data files, anything left over from previous
|
# cleanup_heat() - Remove residual data files, anything left over from previous
|
||||||
@ -33,6 +33,11 @@ function cleanup_heat() {
|
|||||||
:
|
:
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# configure_heatclient() - Set config files, create data dirs, etc
|
||||||
|
function configure_heatclient() {
|
||||||
|
setup_develop $HEATCLIENT_DIR
|
||||||
|
}
|
||||||
|
|
||||||
# configure_heat() - Set config files, create data dirs, etc
|
# configure_heat() - Set config files, create data dirs, etc
|
||||||
function configure_heat() {
|
function configure_heat() {
|
||||||
setup_develop $HEAT_DIR
|
setup_develop $HEAT_DIR
|
||||||
@ -193,6 +198,11 @@ function init_heat() {
|
|||||||
$HEAT_DIR/tools/nova_create_flavors.sh
|
$HEAT_DIR/tools/nova_create_flavors.sh
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# install_heatclient() - Collect source and prepare
|
||||||
|
function install_heatclient() {
|
||||||
|
git_clone $HEATCLIENT_REPO $HEATCLIENT_DIR $HEATCLIENT_BRANCH
|
||||||
|
}
|
||||||
|
|
||||||
# install_heat() - Collect source and prepare
|
# install_heat() - Collect source and prepare
|
||||||
function install_heat() {
|
function install_heat() {
|
||||||
git_clone $HEAT_REPO $HEAT_DIR $HEAT_BRANCH
|
git_clone $HEAT_REPO $HEAT_DIR $HEAT_BRANCH
|
||||||
|
2
stack.sh
2
stack.sh
@ -852,6 +852,7 @@ if is_service_enabled quantum; then
|
|||||||
fi
|
fi
|
||||||
if is_service_enabled heat; then
|
if is_service_enabled heat; then
|
||||||
install_heat
|
install_heat
|
||||||
|
install_heatclient
|
||||||
fi
|
fi
|
||||||
if is_service_enabled cinder; then
|
if is_service_enabled cinder; then
|
||||||
install_cinder
|
install_cinder
|
||||||
@ -906,6 +907,7 @@ if is_service_enabled quantum; then
|
|||||||
fi
|
fi
|
||||||
if is_service_enabled heat; then
|
if is_service_enabled heat; then
|
||||||
configure_heat
|
configure_heat
|
||||||
|
configure_heatclient
|
||||||
fi
|
fi
|
||||||
if is_service_enabled cinder; then
|
if is_service_enabled cinder; then
|
||||||
configure_cinder
|
configure_cinder
|
||||||
|
4
stackrc
4
stackrc
@ -101,6 +101,10 @@ TEMPEST_BRANCH=master
|
|||||||
HEAT_REPO=${GIT_BASE}/heat-api/heat.git
|
HEAT_REPO=${GIT_BASE}/heat-api/heat.git
|
||||||
HEAT_BRANCH=master
|
HEAT_BRANCH=master
|
||||||
|
|
||||||
|
# python heat client library
|
||||||
|
HEATCLIENT_REPO=${GIT_BASE}/heat-api/python-heatclient.git
|
||||||
|
HEATCLIENT_BRANCH=master
|
||||||
|
|
||||||
# ryu service
|
# ryu service
|
||||||
RYU_REPO=https://github.com/osrg/ryu.git
|
RYU_REPO=https://github.com/osrg/ryu.git
|
||||||
RYU_BRANCH=master
|
RYU_BRANCH=master
|
||||||
|
Loading…
Reference in New Issue
Block a user