Cleanup code of DevStack plugin
Change-Id: I798e56d5779705ce0a5ec7889af688fac8016d5e
This commit is contained in:
parent
b5eac43161
commit
ce64d7d9ba
@ -1,5 +1,5 @@
|
|||||||
# lib/rally
|
# lib/osprofiler
|
||||||
# Functions to control the configuration and operation of the **Rally**
|
# Functions to control the configuration and operation of the **osprofiler**
|
||||||
|
|
||||||
# Dependencies:
|
# Dependencies:
|
||||||
#
|
#
|
||||||
@ -62,12 +62,6 @@ function configure_osprofiler() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
# init_rally() - Initialize databases, etc.
|
|
||||||
function init_osprofiler() {
|
|
||||||
|
|
||||||
echo "Do nothing here for now"
|
|
||||||
}
|
|
||||||
|
|
||||||
# Restore xtrace
|
# Restore xtrace
|
||||||
$XTRACE
|
$XTRACE
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# DevStack extras script to install Rally
|
# DevStack extras script to install osprofiler
|
||||||
|
|
||||||
# Save trace setting
|
# Save trace setting
|
||||||
XTRACE=$(set +o | grep xtrace)
|
XTRACE=$(set +o | grep xtrace)
|
||||||
@ -6,18 +6,9 @@ set -o xtrace
|
|||||||
|
|
||||||
source $DEST/osprofiler/devstack/lib/osprofiler
|
source $DEST/osprofiler/devstack/lib/osprofiler
|
||||||
|
|
||||||
if [[ "$1" == "source" ]]; then
|
if [[ "$1" == "stack" && "$2" == "post-config" ]]; then
|
||||||
# Initial source
|
|
||||||
source $TOP_DIR/lib/rally
|
|
||||||
# elif [[ "$1" == "stack" && "$2" == "install" ]]; then
|
|
||||||
# echo_summary "Installing OSprofiler"
|
|
||||||
# install_rally
|
|
||||||
elif [[ "$1" == "stack" && "$2" == "post-config" ]]; then
|
|
||||||
echo_summary "Configuring OSprofiler"
|
echo_summary "Configuring OSprofiler"
|
||||||
configure_osprofiler
|
configure_osprofiler
|
||||||
elif [[ "$1" == "stack" && "$2" == "extra" ]]; then
|
|
||||||
echo_summary "Initializing OSprofiler"
|
|
||||||
init_osprofiler
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Restore xtrace
|
# Restore xtrace
|
||||||
|
Loading…
Reference in New Issue
Block a user