| ... | ... |
@@ -23,7 +23,7 @@ set +o xtrace |
| 23 | 23 |
# Defaults |
| 24 | 24 |
# -------- |
| 25 | 25 |
HEAT_DIR=$DEST/heat |
| 26 |
- |
|
| 26 |
+HEATCLIENT_DIR=$DEST/python-heatclient |
|
| 27 | 27 |
# set up default directories |
| 28 | 28 |
|
| 29 | 29 |
# cleanup_heat() - Remove residual data files, anything left over from previous |
| ... | ... |
@@ -33,6 +33,11 @@ function cleanup_heat() {
|
| 33 | 33 |
: |
| 34 | 34 |
} |
| 35 | 35 |
|
| 36 |
+# configure_heatclient() - Set config files, create data dirs, etc |
|
| 37 |
+function configure_heatclient() {
|
|
| 38 |
+ setup_develop $HEATCLIENT_DIR |
|
| 39 |
+} |
|
| 40 |
+ |
|
| 36 | 41 |
# configure_heat() - Set config files, create data dirs, etc |
| 37 | 42 |
function configure_heat() {
|
| 38 | 43 |
setup_develop $HEAT_DIR |
| ... | ... |
@@ -193,6 +198,11 @@ function init_heat() {
|
| 193 | 193 |
$HEAT_DIR/tools/nova_create_flavors.sh |
| 194 | 194 |
} |
| 195 | 195 |
|
| 196 |
+# install_heatclient() - Collect source and prepare |
|
| 197 |
+function install_heatclient() {
|
|
| 198 |
+ git_clone $HEATCLIENT_REPO $HEATCLIENT_DIR $HEATCLIENT_BRANCH |
|
| 199 |
+} |
|
| 200 |
+ |
|
| 196 | 201 |
# install_heat() - Collect source and prepare |
| 197 | 202 |
function install_heat() {
|
| 198 | 203 |
git_clone $HEAT_REPO $HEAT_DIR $HEAT_BRANCH |
| ... | ... |
@@ -860,6 +860,7 @@ if is_service_enabled quantum; then |
| 860 | 860 |
fi |
| 861 | 861 |
if is_service_enabled heat; then |
| 862 | 862 |
install_heat |
| 863 |
+ install_heatclient |
|
| 863 | 864 |
fi |
| 864 | 865 |
if is_service_enabled cinder; then |
| 865 | 866 |
install_cinder |
| ... | ... |
@@ -915,6 +916,7 @@ if is_service_enabled quantum; then |
| 915 | 915 |
fi |
| 916 | 916 |
if is_service_enabled heat; then |
| 917 | 917 |
configure_heat |
| 918 |
+ configure_heatclient |
|
| 918 | 919 |
fi |
| 919 | 920 |
if is_service_enabled cinder; then |
| 920 | 921 |
configure_cinder |
| ... | ... |
@@ -101,6 +101,10 @@ TEMPEST_BRANCH=master |
| 101 | 101 |
HEAT_REPO=${GIT_BASE}/heat-api/heat.git
|
| 102 | 102 |
HEAT_BRANCH=master |
| 103 | 103 |
|
| 104 |
+# python heat client library |
|
| 105 |
+HEATCLIENT_REPO=${GIT_BASE}/heat-api/python-heatclient.git
|
|
| 106 |
+HEATCLIENT_BRANCH=master |
|
| 107 |
+ |
|
| 104 | 108 |
# ryu service |
| 105 | 109 |
RYU_REPO=https://github.com/osrg/ryu.git |
| 106 | 110 |
RYU_BRANCH=master |