Address miscellaneous issues with Markdown formatting in comments which
are consumed by shocco when generating the online documentation.
Change-Id: I953075cdbddbf1f119c6c7e35f039e2e54b79078
| ... | ... |
@@ -3,12 +3,13 @@ |
| 3 | 3 |
# **aggregates.sh** |
| 4 | 4 |
|
| 5 | 5 |
# This script demonstrates how to use host aggregates: |
| 6 |
-# * Create an Aggregate |
|
| 7 |
-# * Updating Aggregate details |
|
| 8 |
-# * Testing Aggregate metadata |
|
| 9 |
-# * Testing Aggregate delete |
|
| 10 |
-# * Testing General Aggregates (https://blueprints.launchpad.net/nova/+spec/general-host-aggregates) |
|
| 11 |
-# * Testing add/remove hosts (with one host) |
|
| 6 |
+# |
|
| 7 |
+# * Create an Aggregate |
|
| 8 |
+# * Updating Aggregate details |
|
| 9 |
+# * Testing Aggregate metadata |
|
| 10 |
+# * Testing Aggregate delete |
|
| 11 |
+# * Testing General Aggregates (https://blueprints.launchpad.net/nova/+spec/general-host-aggregates) |
|
| 12 |
+# * Testing add/remove hosts (with one host) |
|
| 12 | 13 |
|
| 13 | 14 |
echo "**************************************************" |
| 14 | 15 |
echo "Begin DevStack Exercise: $0" |
| ... | ... |
@@ -3,8 +3,9 @@ |
| 3 | 3 |
# **boot_from_volume.sh** |
| 4 | 4 |
|
| 5 | 5 |
# This script demonstrates how to boot from a volume. It does the following: |
| 6 |
-# * Create a bootable volume |
|
| 7 |
-# * Boot a volume-backed instance |
|
| 6 |
+# |
|
| 7 |
+# * Create a bootable volume |
|
| 8 |
+# * Boot a volume-backed instance |
|
| 8 | 9 |
|
| 9 | 10 |
echo "*********************************************************************" |
| 10 | 11 |
echo "Begin DevStack Exercise: $0" |
| ... | ... |
@@ -1,16 +1,17 @@ |
| 1 | 1 |
# functions - Common functions used by DevStack components |
| 2 | 2 |
# |
| 3 | 3 |
# The following variables are assumed to be defined by certain functions: |
| 4 |
-# ``ENABLED_SERVICES`` |
|
| 5 |
-# ``ERROR_ON_CLONE`` |
|
| 6 |
-# ``FILES`` |
|
| 7 |
-# ``GLANCE_HOSTPORT`` |
|
| 8 |
-# ``OFFLINE`` |
|
| 9 |
-# ``PIP_DOWNLOAD_CACHE`` |
|
| 10 |
-# ``PIP_USE_MIRRORS`` |
|
| 11 |
-# ``RECLONE`` |
|
| 12 |
-# ``TRACK_DEPENDS`` |
|
| 13 |
-# ``http_proxy``, ``https_proxy``, ``no_proxy`` |
|
| 4 |
+# |
|
| 5 |
+# - ``ENABLED_SERVICES`` |
|
| 6 |
+# - ``ERROR_ON_CLONE`` |
|
| 7 |
+# - ``FILES`` |
|
| 8 |
+# - ``GLANCE_HOSTPORT`` |
|
| 9 |
+# - ``OFFLINE`` |
|
| 10 |
+# - ``PIP_DOWNLOAD_CACHE`` |
|
| 11 |
+# - ``PIP_USE_MIRRORS`` |
|
| 12 |
+# - ``RECLONE`` |
|
| 13 |
+# - ``TRACK_DEPENDS`` |
|
| 14 |
+# - ``http_proxy``, ``https_proxy``, ``no_proxy`` |
|
| 14 | 15 |
|
| 15 | 16 |
|
| 16 | 17 |
# Save trace setting |
| ... | ... |
@@ -2,15 +2,16 @@ |
| 2 | 2 |
# Functions to control configuration and operation of apache web server |
| 3 | 3 |
|
| 4 | 4 |
# Dependencies: |
| 5 |
-# ``functions`` file |
|
| 6 |
-# is_apache_enabled_service |
|
| 7 |
-# install_apache_wsgi |
|
| 8 |
-# config_apache_wsgi |
|
| 9 |
-# enable_apache_site |
|
| 10 |
-# disable_apache_site |
|
| 11 |
-# start_apache_server |
|
| 12 |
-# stop_apache_server |
|
| 13 |
-# restart_apache_server |
|
| 5 |
+# |
|
| 6 |
+# - ``functions`` file |
|
| 7 |
+# - is_apache_enabled_service |
|
| 8 |
+# - install_apache_wsgi |
|
| 9 |
+# - config_apache_wsgi |
|
| 10 |
+# - enable_apache_site |
|
| 11 |
+# - disable_apache_site |
|
| 12 |
+# - start_apache_server |
|
| 13 |
+# - stop_apache_server |
|
| 14 |
+# - restart_apache_server |
|
| 14 | 15 |
|
| 15 | 16 |
# Save trace setting |
| 16 | 17 |
XTRACE=$(set +o | grep xtrace) |
| ... | ... |
@@ -116,6 +117,7 @@ function restart_apache_server() {
|
| 116 | 116 |
# Restore xtrace |
| 117 | 117 |
$XTRACE |
| 118 | 118 |
|
| 119 |
-# Local variables: |
|
| 120 |
-# mode: shell-script |
|
| 121 |
-# End: |
|
| 119 |
+# Tell emacs to use shell-script-mode |
|
| 120 |
+## Local variables: |
|
| 121 |
+## mode: shell-script |
|
| 122 |
+## End: |
| ... | ... |
@@ -1,19 +1,19 @@ |
| 1 |
-# vim: tabstop=4 shiftwidth=4 softtabstop=4 |
|
| 2 |
- |
|
| 3 |
-# Copyright (c) 2012 Hewlett-Packard Development Company, L.P. |
|
| 4 |
-# All Rights Reserved. |
|
| 5 |
-# |
|
| 6 |
-# Licensed under the Apache License, Version 2.0 (the "License"); you may |
|
| 7 |
-# not use this file except in compliance with the License. You may obtain |
|
| 8 |
-# a copy of the License at |
|
| 9 |
-# |
|
| 10 |
-# http://www.apache.org/licenses/LICENSE-2.0 |
|
| 11 |
-# |
|
| 12 |
-# Unless required by applicable law or agreed to in writing, software |
|
| 13 |
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT |
|
| 14 |
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the |
|
| 15 |
-# License for the specific language governing permissions and limitations |
|
| 16 |
-# under the License. |
|
| 1 |
+## vim: tabstop=4 shiftwidth=4 softtabstop=4 |
|
| 2 |
+ |
|
| 3 |
+## Copyright (c) 2012 Hewlett-Packard Development Company, L.P. |
|
| 4 |
+## All Rights Reserved. |
|
| 5 |
+## |
|
| 6 |
+## Licensed under the Apache License, Version 2.0 (the "License"); you may |
|
| 7 |
+## not use this file except in compliance with the License. You may obtain |
|
| 8 |
+## a copy of the License at |
|
| 9 |
+## |
|
| 10 |
+## http://www.apache.org/licenses/LICENSE-2.0 |
|
| 11 |
+## |
|
| 12 |
+## Unless required by applicable law or agreed to in writing, software |
|
| 13 |
+## distributed under the License is distributed on an "AS IS" BASIS, WITHOUT |
|
| 14 |
+## WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the |
|
| 15 |
+## License for the specific language governing permissions and limitations |
|
| 16 |
+## under the License. |
|
| 17 | 17 |
|
| 18 | 18 |
|
| 19 | 19 |
# This file provides devstack with the environment and utilities to |
| ... | ... |
@@ -24,7 +24,8 @@ |
| 24 | 24 |
# control physical hardware resources on the same network, if you know |
| 25 | 25 |
# the MAC address(es) and IPMI credentials. |
| 26 | 26 |
# |
| 27 |
-# At a minimum, to enable the baremetal driver, you must set these in loclarc: |
|
| 27 |
+# At a minimum, to enable the baremetal driver, you must set these in localrc: |
|
| 28 |
+# |
|
| 28 | 29 |
# VIRT_DRIVER=baremetal |
| 29 | 30 |
# ENABLED_SERVICES="$ENABLED_SERVICES,baremetal" |
| 30 | 31 |
# |
| ... | ... |
@@ -38,11 +39,13 @@ |
| 38 | 38 |
# Below that, various functions are defined, which are called by devstack |
| 39 | 39 |
# in the following order: |
| 40 | 40 |
# |
| 41 |
-# before nova-cpu starts: |
|
| 41 |
+# before nova-cpu starts: |
|
| 42 |
+# |
|
| 42 | 43 |
# - prepare_baremetal_toolchain |
| 43 | 44 |
# - configure_baremetal_nova_dirs |
| 44 | 45 |
# |
| 45 |
-# after nova and glance have started: |
|
| 46 |
+# after nova and glance have started: |
|
| 47 |
+# |
|
| 46 | 48 |
# - build_and_upload_baremetal_deploy_k_and_r $token |
| 47 | 49 |
# - create_baremetal_flavor $BM_DEPLOY_KERNEL_ID $BM_DEPLOY_RAMDISK_ID |
| 48 | 50 |
# - upload_baremetal_image $url $token |
| ... | ... |
@@ -58,11 +61,13 @@ set +o xtrace |
| 58 | 58 |
# ------------------- |
| 59 | 59 |
|
| 60 | 60 |
# sub-driver to use for kernel deployment |
| 61 |
-# - nova.virt.baremetal.pxe.PXE |
|
| 62 |
-# - nova.virt.baremetal.tilera.TILERA |
|
| 61 |
+# |
|
| 62 |
+# - nova.virt.baremetal.pxe.PXE |
|
| 63 |
+# - nova.virt.baremetal.tilera.TILERA |
|
| 63 | 64 |
BM_DRIVER=${BM_DRIVER:-nova.virt.baremetal.pxe.PXE}
|
| 64 | 65 |
|
| 65 | 66 |
# sub-driver to use for remote power management |
| 67 |
+# |
|
| 66 | 68 |
# - nova.virt.baremetal.fake.FakePowerManager, for manual power control |
| 67 | 69 |
# - nova.virt.baremetal.ipmi.IPMI, for remote IPMI |
| 68 | 70 |
# - nova.virt.baremetal.tilera_pdu.Pdu, for TilePro hardware |
| ... | ... |
@@ -84,11 +89,11 @@ BM_POSEUR_EXTRA_OPTS=${BM_POSEUR_EXTRA_OPTS:-}
|
| 84 | 84 |
# dedicated to baremetal. When enable this, make sure these conditions are |
| 85 | 85 |
# fulfilled: |
| 86 | 86 |
# |
| 87 |
-# 1) nova-compute and nova-network runs on the same host |
|
| 88 |
-# 2) nova-network uses FlatDHCPManager |
|
| 87 |
+# 1) nova-compute and nova-network runs on the same host |
|
| 88 |
+# 2) nova-network uses FlatDHCPManager |
|
| 89 | 89 |
# |
| 90 | 90 |
# NOTE: the other BM_DNSMASQ_* have no effect on the behavior if this option |
| 91 |
-# is enabled. |
|
| 91 |
+# is enabled. |
|
| 92 | 92 |
BM_DNSMASQ_FROM_NOVA_NETWORK=`trueorfalse False $BM_DNSMASQ_FROM_NOVA_NETWORK` |
| 93 | 93 |
|
| 94 | 94 |
# BM_DNSMASQ_IFACE should match FLAT_NETWORK_BRIDGE |
| ... | ... |
@@ -105,9 +110,9 @@ fi |
| 105 | 105 |
# BM_DNSMASQ_DNS provide dns server to bootstrap clients |
| 106 | 106 |
BM_DNSMASQ_DNS=${BM_DNSMASQ_DNS:-}
|
| 107 | 107 |
|
| 108 |
-# BM_FIRST_MAC *must* be set to the MAC address of the node you will boot. |
|
| 109 |
-# This is passed to dnsmasq along with the kernel/ramdisk to |
|
| 110 |
-# deploy via PXE. |
|
| 108 |
+# BM_FIRST_MAC *must* be set to the MAC address of the node you will |
|
| 109 |
+# boot. This is passed to dnsmasq along with the kernel/ramdisk to |
|
| 110 |
+# deploy via PXE. |
|
| 111 | 111 |
BM_FIRST_MAC=${BM_FIRST_MAC:-}
|
| 112 | 112 |
|
| 113 | 113 |
# BM_SECOND_MAC is only important if the host has >1 NIC. |
| ... | ... |
@@ -121,9 +126,9 @@ BM_PM_ADDR=${BM_PM_ADDR:-0.0.0.0}
|
| 121 | 121 |
BM_PM_USER=${BM_PM_USER:-user}
|
| 122 | 122 |
BM_PM_PASS=${BM_PM_PASS:-pass}
|
| 123 | 123 |
|
| 124 |
-# BM_FLAVOR_* options are arbitrary and not necessarily related to physical |
|
| 125 |
-# hardware capacity. These can be changed if you are testing |
|
| 126 |
-# BaremetalHostManager with multiple nodes and different flavors. |
|
| 124 |
+# BM_FLAVOR_* options are arbitrary and not necessarily related to |
|
| 125 |
+# physical hardware capacity. These can be changed if you are testing |
|
| 126 |
+# BaremetalHostManager with multiple nodes and different flavors. |
|
| 127 | 127 |
BM_CPU_ARCH=${BM_CPU_ARCH:-x86_64}
|
| 128 | 128 |
BM_FLAVOR_CPU=${BM_FLAVOR_CPU:-1}
|
| 129 | 129 |
BM_FLAVOR_RAM=${BM_FLAVOR_RAM:-1024}
|
| ... | ... |
@@ -288,8 +293,8 @@ function create_baremetal_flavor() {
|
| 288 | 288 |
|
| 289 | 289 |
} |
| 290 | 290 |
|
| 291 |
-# pull run-time kernel/ramdisk out of disk image and load into glance |
|
| 292 |
-# note that $file is currently expected to be in qcow2 format |
|
| 291 |
+# Pull run-time kernel/ramdisk out of disk image and load into glance. |
|
| 292 |
+# Note that $file is currently expected to be in qcow2 format. |
|
| 293 | 293 |
# Sets KERNEL_ID and RAMDISK_ID |
| 294 | 294 |
# |
| 295 | 295 |
# Usage: extract_and_upload_k_and_r_from_image $token $file |
| ... | ... |
@@ -432,7 +437,7 @@ function clear_baremetal_of_all_nodes() {
|
| 432 | 432 |
done |
| 433 | 433 |
} |
| 434 | 434 |
|
| 435 |
-# inform nova-baremetal about nodes, MACs, etc |
|
| 435 |
+# Inform nova-baremetal about nodes, MACs, etc. |
|
| 436 | 436 |
# Defaults to using BM_FIRST_MAC and BM_SECOND_MAC if parameters not specified |
| 437 | 437 |
# |
| 438 | 438 |
# Usage: add_baremetal_node <first_mac> <second_mac> |
| ... | ... |
@@ -461,6 +466,7 @@ function add_baremetal_node() {
|
| 461 | 461 |
# Restore xtrace |
| 462 | 462 |
$XTRACE |
| 463 | 463 |
|
| 464 |
-# Local variables: |
|
| 465 |
-# mode: shell-script |
|
| 466 |
-# End: |
|
| 464 |
+# Tell emacs to use shell-script-mode |
|
| 465 |
+## Local variables: |
|
| 466 |
+## mode: shell-script |
|
| 467 |
+## End: |
| ... | ... |
@@ -10,6 +10,7 @@ |
| 10 | 10 |
# enable_service ceilometer-alarm-notifier ceilometer-alarm-evaluator |
| 11 | 11 |
|
| 12 | 12 |
# Dependencies: |
| 13 |
+# |
|
| 13 | 14 |
# - functions |
| 14 | 15 |
# - OS_AUTH_URL for auth in api |
| 15 | 16 |
# - DEST set to the destination directory |
| ... | ... |
@@ -18,12 +19,12 @@ |
| 18 | 18 |
|
| 19 | 19 |
# stack.sh |
| 20 | 20 |
# --------- |
| 21 |
-# install_ceilometer |
|
| 22 |
-# configure_ceilometer |
|
| 23 |
-# init_ceilometer |
|
| 24 |
-# start_ceilometer |
|
| 25 |
-# stop_ceilometer |
|
| 26 |
-# cleanup_ceilometer |
|
| 21 |
+# - install_ceilometer |
|
| 22 |
+# - configure_ceilometer |
|
| 23 |
+# - init_ceilometer |
|
| 24 |
+# - start_ceilometer |
|
| 25 |
+# - stop_ceilometer |
|
| 26 |
+# - cleanup_ceilometer |
|
| 27 | 27 |
|
| 28 | 28 |
# Save trace setting |
| 29 | 29 |
XTRACE=$(set +o | grep xtrace) |
| ... | ... |
@@ -156,6 +157,7 @@ function stop_ceilometer() {
|
| 156 | 156 |
# Restore xtrace |
| 157 | 157 |
$XTRACE |
| 158 | 158 |
|
| 159 |
-# Local variables: |
|
| 160 |
-# mode: shell-script |
|
| 161 |
-# End: |
|
| 159 |
+# Tell emacs to use shell-script-mode |
|
| 160 |
+## Local variables: |
|
| 161 |
+## mode: shell-script |
|
| 162 |
+## End: |
| ... | ... |
@@ -2,19 +2,20 @@ |
| 2 | 2 |
# Install and start **Cinder** volume service |
| 3 | 3 |
|
| 4 | 4 |
# Dependencies: |
| 5 |
+# |
|
| 5 | 6 |
# - functions |
| 6 | 7 |
# - DEST, DATA_DIR, STACK_USER must be defined |
| 7 |
-# SERVICE_{TENANT_NAME|PASSWORD} must be defined
|
|
| 8 |
-# ``KEYSTONE_TOKEN_FORMAT`` must be defined |
|
| 8 |
+# - SERVICE_{TENANT_NAME|PASSWORD} must be defined
|
|
| 9 |
+# - ``KEYSTONE_TOKEN_FORMAT`` must be defined |
|
| 9 | 10 |
|
| 10 | 11 |
# stack.sh |
| 11 | 12 |
# --------- |
| 12 |
-# install_cinder |
|
| 13 |
-# configure_cinder |
|
| 14 |
-# init_cinder |
|
| 15 |
-# start_cinder |
|
| 16 |
-# stop_cinder |
|
| 17 |
-# cleanup_cinder |
|
| 13 |
+# - install_cinder |
|
| 14 |
+# - configure_cinder |
|
| 15 |
+# - init_cinder |
|
| 16 |
+# - start_cinder |
|
| 17 |
+# - stop_cinder |
|
| 18 |
+# - cleanup_cinder |
|
| 18 | 19 |
|
| 19 | 20 |
# Save trace setting |
| 20 | 21 |
XTRACE=$(set +o | grep xtrace) |
| ... | ... |
@@ -82,7 +83,8 @@ VOLUME_NAME_PREFIX=${VOLUME_NAME_PREFIX:-volume-}
|
| 82 | 82 |
# Functions |
| 83 | 83 |
# --------- |
| 84 | 84 |
# _clean_lvm_lv removes all cinder LVM volumes |
| 85 |
-# _clean_lvm_lv $VOLUME_GROUP $VOLUME_NAME_PREFIX |
|
| 85 |
+# |
|
| 86 |
+# Usage: _clean_lvm_lv $VOLUME_GROUP $VOLUME_NAME_PREFIX |
|
| 86 | 87 |
function _clean_lvm_lv() {
|
| 87 | 88 |
local vg=$1 |
| 88 | 89 |
local lv_prefix=$2 |
| ... | ... |
@@ -98,7 +100,8 @@ function _clean_lvm_lv() {
|
| 98 | 98 |
|
| 99 | 99 |
# _clean_lvm_backing_file() removes the backing file of the |
| 100 | 100 |
# volume group used by cinder |
| 101 |
-# _clean_lvm_backing_file() $VOLUME_GROUP |
|
| 101 |
+# |
|
| 102 |
+# Usage: _clean_lvm_backing_file() $VOLUME_GROUP |
|
| 102 | 103 |
function _clean_lvm_backing_file() {
|
| 103 | 104 |
local vg=$1 |
| 104 | 105 |
|
| ... | ... |
@@ -546,6 +549,7 @@ function stop_cinder() {
|
| 546 | 546 |
# Restore xtrace |
| 547 | 547 |
$XTRACE |
| 548 | 548 |
|
| 549 |
-# Local variables: |
|
| 550 |
-# mode: shell-script |
|
| 551 |
-# End: |
|
| 549 |
+# Tell emacs to use shell-script-mode |
|
| 550 |
+## Local variables: |
|
| 551 |
+## mode: shell-script |
|
| 552 |
+## End: |
| ... | ... |
@@ -2,7 +2,8 @@ |
| 2 | 2 |
# Functions to control the configuration and operation of the **MySQL** database backend |
| 3 | 3 |
|
| 4 | 4 |
# Dependencies: |
| 5 |
-# DATABASE_{HOST,USER,PASSWORD} must be defined
|
|
| 5 |
+# |
|
| 6 |
+# - DATABASE_{HOST,USER,PASSWORD} must be defined
|
|
| 6 | 7 |
|
| 7 | 8 |
# Save trace setting |
| 8 | 9 |
MY_XTRACE=$(set +o | grep xtrace) |
| ... | ... |
@@ -2,7 +2,8 @@ |
| 2 | 2 |
# Functions to control the configuration and operation of the **PostgreSQL** database backend |
| 3 | 3 |
|
| 4 | 4 |
# Dependencies: |
| 5 |
-# DATABASE_{HOST,USER,PASSWORD} must be defined
|
|
| 5 |
+# |
|
| 6 |
+# - DATABASE_{HOST,USER,PASSWORD} must be defined
|
|
| 6 | 7 |
|
| 7 | 8 |
# Save trace setting |
| 8 | 9 |
PG_XTRACE=$(set +o | grep xtrace) |
| ... | ... |
@@ -2,20 +2,21 @@ |
| 2 | 2 |
# Functions to control the configuration and operation of the **Glance** service |
| 3 | 3 |
|
| 4 | 4 |
# Dependencies: |
| 5 |
-# ``functions`` file |
|
| 6 |
-# ``DEST``, ``DATA_DIR``, ``STACK_USER`` must be defined |
|
| 7 |
-# ``SERVICE_{TENANT_NAME|PASSWORD}`` must be defined
|
|
| 8 |
-# ``SERVICE_HOST`` |
|
| 9 |
-# ``KEYSTONE_TOKEN_FORMAT`` must be defined |
|
| 5 |
+# |
|
| 6 |
+# - ``functions`` file |
|
| 7 |
+# - ``DEST``, ``DATA_DIR``, ``STACK_USER`` must be defined |
|
| 8 |
+# - ``SERVICE_{TENANT_NAME|PASSWORD}`` must be defined
|
|
| 9 |
+# - ``SERVICE_HOST`` |
|
| 10 |
+# - ``KEYSTONE_TOKEN_FORMAT`` must be defined |
|
| 10 | 11 |
|
| 11 | 12 |
# ``stack.sh`` calls the entry points in this order: |
| 12 | 13 |
# |
| 13 |
-# install_glance |
|
| 14 |
-# configure_glance |
|
| 15 |
-# init_glance |
|
| 16 |
-# start_glance |
|
| 17 |
-# stop_glance |
|
| 18 |
-# cleanup_glance |
|
| 14 |
+# - install_glance |
|
| 15 |
+# - configure_glance |
|
| 16 |
+# - init_glance |
|
| 17 |
+# - start_glance |
|
| 18 |
+# - stop_glance |
|
| 19 |
+# - cleanup_glance |
|
| 19 | 20 |
|
| 20 | 21 |
# Save trace setting |
| 21 | 22 |
XTRACE=$(set +o | grep xtrace) |
| ... | ... |
@@ -209,6 +210,7 @@ function stop_glance() {
|
| 209 | 209 |
# Restore xtrace |
| 210 | 210 |
$XTRACE |
| 211 | 211 |
|
| 212 |
-# Local variables: |
|
| 213 |
-# mode: shell-script |
|
| 214 |
-# End: |
|
| 212 |
+# Tell emacs to use shell-script-mode |
|
| 213 |
+## Local variables: |
|
| 214 |
+## mode: shell-script |
|
| 215 |
+## End: |
| ... | ... |
@@ -2,21 +2,23 @@ |
| 2 | 2 |
# Install and start **Heat** service |
| 3 | 3 |
|
| 4 | 4 |
# To enable, add the following to localrc |
| 5 |
-# ENABLED_SERVICES+=,heat,h-api,h-api-cfn,h-api-cw,h-eng |
|
| 5 |
+# |
|
| 6 |
+# ENABLED_SERVICES+=,heat,h-api,h-api-cfn,h-api-cw,h-eng |
|
| 6 | 7 |
|
| 7 | 8 |
# Dependencies: |
| 9 |
+# |
|
| 8 | 10 |
# - functions |
| 9 | 11 |
|
| 10 | 12 |
# stack.sh |
| 11 | 13 |
# --------- |
| 12 |
-# install_heatclient |
|
| 13 |
-# install_heat |
|
| 14 |
-# configure_heatclient |
|
| 15 |
-# configure_heat |
|
| 16 |
-# init_heat |
|
| 17 |
-# start_heat |
|
| 18 |
-# stop_heat |
|
| 19 |
-# cleanup_heat |
|
| 14 |
+# - install_heatclient |
|
| 15 |
+# - install_heat |
|
| 16 |
+# - configure_heatclient |
|
| 17 |
+# - configure_heat |
|
| 18 |
+# - init_heat |
|
| 19 |
+# - start_heat |
|
| 20 |
+# - stop_heat |
|
| 21 |
+# - cleanup_heat |
|
| 20 | 22 |
|
| 21 | 23 |
# Save trace setting |
| 22 | 24 |
XTRACE=$(set +o | grep xtrace) |
| ... | ... |
@@ -198,6 +200,7 @@ function disk_image_create {
|
| 198 | 198 |
# Restore xtrace |
| 199 | 199 |
$XTRACE |
| 200 | 200 |
|
| 201 |
-# Local variables: |
|
| 202 |
-# mode: shell-script |
|
| 203 |
-# End: |
|
| 201 |
+# Tell emacs to use shell-script-mode |
|
| 202 |
+## Local variables: |
|
| 203 |
+## mode: shell-script |
|
| 204 |
+## End: |
| ... | ... |
@@ -1,21 +1,20 @@ |
| 1 | 1 |
# lib/horizon |
| 2 | 2 |
# Functions to control the configuration and operation of the horizon service |
| 3 |
-# <do not include this template file in ``stack.sh``!> |
|
| 4 | 3 |
|
| 5 | 4 |
# Dependencies: |
| 6 |
-# ``functions`` file |
|
| 7 |
-# ``apache`` file |
|
| 8 |
-# ``SERVICE_{TENANT_NAME|PASSWORD}`` must be defined
|
|
| 9 |
-# <list other global vars that are assumed to be defined> |
|
| 5 |
+# |
|
| 6 |
+# - ``functions`` file |
|
| 7 |
+# - ``apache`` file |
|
| 8 |
+# - ``SERVICE_{TENANT_NAME|PASSWORD}`` must be defined
|
|
| 10 | 9 |
|
| 11 | 10 |
# ``stack.sh`` calls the entry points in this order: |
| 12 | 11 |
# |
| 13 |
-# install_horizon |
|
| 14 |
-# configure_horizon |
|
| 15 |
-# init_horizon |
|
| 16 |
-# start_horizon |
|
| 17 |
-# stop_horizon |
|
| 18 |
-# cleanup_horizon |
|
| 12 |
+# - install_horizon |
|
| 13 |
+# - configure_horizon |
|
| 14 |
+# - init_horizon |
|
| 15 |
+# - start_horizon |
|
| 16 |
+# - stop_horizon |
|
| 17 |
+# - cleanup_horizon |
|
| 19 | 18 |
|
| 20 | 19 |
# Save trace setting |
| 21 | 20 |
XTRACE=$(set +o | grep xtrace) |
| ... | ... |
@@ -25,8 +24,6 @@ set +o xtrace |
| 25 | 25 |
# Defaults |
| 26 | 26 |
# -------- |
| 27 | 27 |
|
| 28 |
-# <define global variables here that belong to this project> |
|
| 29 |
- |
|
| 30 | 28 |
# Set up default directories |
| 31 | 29 |
HORIZON_DIR=$DEST/horizon |
| 32 | 30 |
|
| ... | ... |
@@ -183,6 +180,7 @@ function stop_horizon() {
|
| 183 | 183 |
# Restore xtrace |
| 184 | 184 |
$XTRACE |
| 185 | 185 |
|
| 186 |
-# Local variables: |
|
| 187 |
-# mode: shell-script |
|
| 188 |
-# End: |
|
| 186 |
+# Tell emacs to use shell-script-mode |
|
| 187 |
+## Local variables: |
|
| 188 |
+## mode: shell-script |
|
| 189 |
+## End: |
| ... | ... |
@@ -5,12 +5,13 @@ |
| 5 | 5 |
# requirements as a global list |
| 6 | 6 |
|
| 7 | 7 |
# Dependencies: |
| 8 |
-# ``functions`` file |
|
| 8 |
+# |
|
| 9 |
+# - ``functions`` file |
|
| 9 | 10 |
|
| 10 | 11 |
# ``stack.sh`` calls the entry points in this order: |
| 11 | 12 |
# |
| 12 |
-# unfubar_setuptools |
|
| 13 |
-# install_infra |
|
| 13 |
+# - unfubar_setuptools |
|
| 14 |
+# - install_infra |
|
| 14 | 15 |
|
| 15 | 16 |
# Save trace setting |
| 16 | 17 |
XTRACE=$(set +o | grep xtrace) |
| ... | ... |
@@ -51,6 +52,7 @@ function install_infra() {
|
| 51 | 51 |
# Restore xtrace |
| 52 | 52 |
$XTRACE |
| 53 | 53 |
|
| 54 |
-# Local variables: |
|
| 55 |
-# mode: shell-script |
|
| 56 |
-# End: |
|
| 54 |
+# Tell emacs to use shell-script-mode |
|
| 55 |
+## Local variables: |
|
| 56 |
+## mode: shell-script |
|
| 57 |
+## End: |
| ... | ... |
@@ -2,21 +2,21 @@ |
| 2 | 2 |
# Functions to control the configuration and operation of the **Ironic** service |
| 3 | 3 |
|
| 4 | 4 |
# Dependencies: |
| 5 |
-# ``functions`` file |
|
| 6 |
-# ``DEST``, ``DATA_DIR``, ``STACK_USER`` must be defined |
|
| 7 |
-# ``SERVICE_{TENANT_NAME|PASSWORD}`` must be defined
|
|
| 8 |
-# ``SERVICE_HOST`` |
|
| 9 |
-# ``KEYSTONE_TOKEN_FORMAT`` must be defined |
|
| 5 |
+# |
|
| 6 |
+# - ``functions`` file |
|
| 7 |
+# - ``DEST``, ``DATA_DIR``, ``STACK_USER`` must be defined |
|
| 8 |
+# - ``SERVICE_{TENANT_NAME|PASSWORD}`` must be defined
|
|
| 9 |
+# - ``SERVICE_HOST`` |
|
| 10 |
+# - ``KEYSTONE_TOKEN_FORMAT`` must be defined |
|
| 10 | 11 |
|
| 11 | 12 |
# ``stack.sh`` calls the entry points in this order: |
| 12 | 13 |
# |
| 13 |
-# install_ironic |
|
| 14 |
-# install_ironicclient |
|
| 15 |
-# configure_ironic |
|
| 16 |
-# init_ironic |
|
| 17 |
-# start_ironic |
|
| 18 |
-# stop_ironic |
|
| 19 |
-# cleanup_ironic |
|
| 14 |
+# - install_ironic |
|
| 15 |
+# - install_ironicclient |
|
| 16 |
+# - init_ironic |
|
| 17 |
+# - start_ironic |
|
| 18 |
+# - stop_ironic |
|
| 19 |
+# - cleanup_ironic |
|
| 20 | 20 |
|
| 21 | 21 |
# Save trace setting |
| 22 | 22 |
XTRACE=$(set +o | grep xtrace) |
| ... | ... |
@@ -225,6 +225,7 @@ function stop_ironic() {
|
| 225 | 225 |
# Restore xtrace |
| 226 | 226 |
$XTRACE |
| 227 | 227 |
|
| 228 |
-# Local variables: |
|
| 229 |
-# mode: shell-script |
|
| 230 |
-# End: |
|
| 228 |
+# Tell emacs to use shell-script-mode |
|
| 229 |
+## Local variables: |
|
| 230 |
+## mode: shell-script |
|
| 231 |
+## End: |
| ... | ... |
@@ -2,25 +2,26 @@ |
| 2 | 2 |
# Functions to control the configuration and operation of **Keystone** |
| 3 | 3 |
|
| 4 | 4 |
# Dependencies: |
| 5 |
-# ``functions`` file |
|
| 6 |
-# ``DEST``, ``STACK_USER`` |
|
| 7 |
-# ``IDENTITY_API_VERSION`` |
|
| 8 |
-# ``BASE_SQL_CONN`` |
|
| 9 |
-# ``SERVICE_HOST``, ``SERVICE_PROTOCOL`` |
|
| 10 |
-# ``SERVICE_TOKEN`` |
|
| 11 |
-# ``S3_SERVICE_PORT`` (template backend only) |
|
| 5 |
+# |
|
| 6 |
+# - ``functions`` file |
|
| 7 |
+# - ``DEST``, ``STACK_USER`` |
|
| 8 |
+# - ``IDENTITY_API_VERSION`` |
|
| 9 |
+# - ``BASE_SQL_CONN`` |
|
| 10 |
+# - ``SERVICE_HOST``, ``SERVICE_PROTOCOL`` |
|
| 11 |
+# - ``SERVICE_TOKEN`` |
|
| 12 |
+# - ``S3_SERVICE_PORT`` (template backend only) |
|
| 12 | 13 |
|
| 13 | 14 |
# ``stack.sh`` calls the entry points in this order: |
| 14 | 15 |
# |
| 15 |
-# install_keystone |
|
| 16 |
-# configure_keystone |
|
| 17 |
-# _config_keystone_apache_wsgi |
|
| 18 |
-# init_keystone |
|
| 19 |
-# start_keystone |
|
| 20 |
-# create_keystone_accounts |
|
| 21 |
-# stop_keystone |
|
| 22 |
-# cleanup_keystone |
|
| 23 |
-# _cleanup_keystone_apache_wsgi |
|
| 16 |
+# - install_keystone |
|
| 17 |
+# - configure_keystone |
|
| 18 |
+# - _config_keystone_apache_wsgi |
|
| 19 |
+# - init_keystone |
|
| 20 |
+# - start_keystone |
|
| 21 |
+# - create_keystone_accounts |
|
| 22 |
+# - stop_keystone |
|
| 23 |
+# - cleanup_keystone |
|
| 24 |
+# - _cleanup_keystone_apache_wsgi |
|
| 24 | 25 |
|
| 25 | 26 |
# Save trace setting |
| 26 | 27 |
XTRACE=$(set +o | grep xtrace) |
| ... | ... |
@@ -393,6 +394,7 @@ function stop_keystone() {
|
| 393 | 393 |
# Restore xtrace |
| 394 | 394 |
$XTRACE |
| 395 | 395 |
|
| 396 |
-# Local variables: |
|
| 397 |
-# mode: shell-script |
|
| 398 |
-# End: |
|
| 396 |
+# Tell emacs to use shell-script-mode |
|
| 397 |
+## Local variables: |
|
| 398 |
+## mode: shell-script |
|
| 399 |
+## End: |
| ... | ... |
@@ -2,7 +2,8 @@ |
| 2 | 2 |
# Functions to control the installation and configuration of **ldap** |
| 3 | 3 |
|
| 4 | 4 |
# ``lib/keystone`` calls the entry points in this order: |
| 5 |
-# install_ldap() |
|
| 5 |
+# |
|
| 6 |
+# - install_ldap() |
|
| 6 | 7 |
|
| 7 | 8 |
# Save trace setting |
| 8 | 9 |
XTRACE=$(set +o | grep xtrace) |
| ... | ... |
@@ -91,6 +92,7 @@ function clear_ldap_state() {
|
| 91 | 91 |
# Restore xtrace |
| 92 | 92 |
$XTRACE |
| 93 | 93 |
|
| 94 |
-# Local variables: |
|
| 95 |
-# mode: shell-script |
|
| 96 |
-# End: |
|
| 94 |
+# Tell emacs to use shell-script-mode |
|
| 95 |
+## Local variables: |
|
| 96 |
+## mode: shell-script |
|
| 97 |
+## End: |
| ... | ... |
@@ -7,24 +7,24 @@ |
| 7 | 7 |
|
| 8 | 8 |
# ``stack.sh`` calls the entry points in this order: |
| 9 | 9 |
# |
| 10 |
-# install_neutron |
|
| 11 |
-# install_neutronclient |
|
| 12 |
-# install_neutron_agent_packages |
|
| 13 |
-# install_neutron_third_party |
|
| 14 |
-# configure_neutron |
|
| 15 |
-# init_neutron |
|
| 16 |
-# configure_neutron_third_party |
|
| 17 |
-# init_neutron_third_party |
|
| 18 |
-# start_neutron_third_party |
|
| 19 |
-# create_nova_conf_neutron |
|
| 20 |
-# start_neutron_service_and_check |
|
| 21 |
-# create_neutron_initial_network |
|
| 22 |
-# setup_neutron_debug |
|
| 23 |
-# start_neutron_agents |
|
| 10 |
+# - install_neutron |
|
| 11 |
+# - install_neutronclient |
|
| 12 |
+# - install_neutron_agent_packages |
|
| 13 |
+# - install_neutron_third_party |
|
| 14 |
+# - configure_neutron |
|
| 15 |
+# - init_neutron |
|
| 16 |
+# - configure_neutron_third_party |
|
| 17 |
+# - init_neutron_third_party |
|
| 18 |
+# - start_neutron_third_party |
|
| 19 |
+# - create_nova_conf_neutron |
|
| 20 |
+# - start_neutron_service_and_check |
|
| 21 |
+# - create_neutron_initial_network |
|
| 22 |
+# - setup_neutron_debug |
|
| 23 |
+# - start_neutron_agents |
|
| 24 | 24 |
# |
| 25 | 25 |
# ``unstack.sh`` calls the entry points in this order: |
| 26 | 26 |
# |
| 27 |
-# stop_neutron |
|
| 27 |
+# - stop_neutron |
|
| 28 | 28 |
|
| 29 | 29 |
# Functions in lib/neutron are classified into the following categories: |
| 30 | 30 |
# |
| ... | ... |
@@ -891,6 +891,7 @@ function stop_neutron_third_party() {
|
| 891 | 891 |
# Restore xtrace |
| 892 | 892 |
$XTRACE |
| 893 | 893 |
|
| 894 |
-# Local variables: |
|
| 895 |
-# mode: shell-script |
|
| 896 |
-# End: |
|
| 894 |
+# Tell emacs to use shell-script-mode |
|
| 895 |
+## Local variables: |
|
| 896 |
+## mode: shell-script |
|
| 897 |
+## End: |
| ... | ... |
@@ -2,22 +2,23 @@ |
| 2 | 2 |
# Functions to control the configuration and operation of the **Nova** service |
| 3 | 3 |
|
| 4 | 4 |
# Dependencies: |
| 5 |
-# ``functions`` file |
|
| 6 |
-# ``DEST``, ``DATA_DIR``, ``STACK_USER`` must be defined |
|
| 7 |
-# ``SERVICE_{TENANT_NAME|PASSWORD}`` must be defined
|
|
| 8 |
-# ``LIBVIRT_TYPE`` must be defined |
|
| 9 |
-# ``INSTANCE_NAME_PREFIX``, ``VOLUME_NAME_PREFIX`` must be defined |
|
| 10 |
-# ``KEYSTONE_TOKEN_FORMAT`` must be defined |
|
| 5 |
+# |
|
| 6 |
+# - ``functions`` file |
|
| 7 |
+# - ``DEST``, ``DATA_DIR``, ``STACK_USER`` must be defined |
|
| 8 |
+# - ``SERVICE_{TENANT_NAME|PASSWORD}`` must be defined
|
|
| 9 |
+# - ``LIBVIRT_TYPE`` must be defined |
|
| 10 |
+# - ``INSTANCE_NAME_PREFIX``, ``VOLUME_NAME_PREFIX`` must be defined |
|
| 11 |
+# - ``KEYSTONE_TOKEN_FORMAT`` must be defined |
|
| 11 | 12 |
|
| 12 | 13 |
# ``stack.sh`` calls the entry points in this order: |
| 13 | 14 |
# |
| 14 |
-# install_nova |
|
| 15 |
-# configure_nova |
|
| 16 |
-# create_nova_conf |
|
| 17 |
-# init_nova |
|
| 18 |
-# start_nova |
|
| 19 |
-# stop_nova |
|
| 20 |
-# cleanup_nova |
|
| 15 |
+# - install_nova |
|
| 16 |
+# - configure_nova |
|
| 17 |
+# - create_nova_conf |
|
| 18 |
+# - init_nova |
|
| 19 |
+# - start_nova |
|
| 20 |
+# - stop_nova |
|
| 21 |
+# - cleanup_nova |
|
| 21 | 22 |
|
| 22 | 23 |
# Save trace setting |
| 23 | 24 |
XTRACE=$(set +o | grep xtrace) |
| ... | ... |
@@ -683,6 +684,7 @@ function stop_nova() {
|
| 683 | 683 |
# Restore xtrace |
| 684 | 684 |
$XTRACE |
| 685 | 685 |
|
| 686 |
-# Local variables: |
|
| 687 |
-# mode: shell-script |
|
| 688 |
-# End: |
|
| 686 |
+# Tell emacs to use shell-script-mode |
|
| 687 |
+## Local variables: |
|
| 688 |
+## mode: shell-script |
|
| 689 |
+## End: |
| ... | ... |
@@ -2,11 +2,13 @@ |
| 2 | 2 |
# Configure the Docker hypervisor |
| 3 | 3 |
|
| 4 | 4 |
# Enable with: |
| 5 |
-# VIRT_DRIVER=docker |
|
| 5 |
+# |
|
| 6 |
+# VIRT_DRIVER=docker |
|
| 6 | 7 |
|
| 7 | 8 |
# Dependencies: |
| 8 |
-# ``functions`` file |
|
| 9 |
-# ``nova`` and ``glance`` configurations |
|
| 9 |
+# |
|
| 10 |
+# - ``functions`` file |
|
| 11 |
+# - ``nova`` and ``glance`` configurations |
|
| 10 | 12 |
|
| 11 | 13 |
# install_nova_hypervisor - install any external requirements |
| 12 | 14 |
# configure_nova_hypervisor - make configuration changes, including those to other services |
| ... | ... |
@@ -6,11 +6,12 @@ |
| 6 | 6 |
# pre-released versions of oslo libraries. |
| 7 | 7 |
|
| 8 | 8 |
# Dependencies: |
| 9 |
-# ``functions`` file |
|
| 9 |
+# |
|
| 10 |
+# - ``functions`` file |
|
| 10 | 11 |
|
| 11 | 12 |
# ``stack.sh`` calls the entry points in this order: |
| 12 | 13 |
# |
| 13 |
-# install_oslo |
|
| 14 |
+# - install_oslo |
|
| 14 | 15 |
|
| 15 | 16 |
# Save trace setting |
| 16 | 17 |
XTRACE=$(set +o | grep xtrace) |
| ... | ... |
@@ -52,6 +53,7 @@ function cleanup_oslo() {
|
| 52 | 52 |
# Restore xtrace |
| 53 | 53 |
$XTRACE |
| 54 | 54 |
|
| 55 |
-# Local variables: |
|
| 56 |
-# mode: shell-script |
|
| 57 |
-# End: |
|
| 55 |
+# Tell emacs to use shell-script-mode |
|
| 56 |
+## Local variables: |
|
| 57 |
+## mode: shell-script |
|
| 58 |
+## End: |
| ... | ... |
@@ -3,15 +3,16 @@ |
| 3 | 3 |
# rpc backend settings |
| 4 | 4 |
|
| 5 | 5 |
# Dependencies: |
| 6 |
-# ``functions`` file |
|
| 7 |
-# ``RABBIT_{HOST|PASSWORD}`` must be defined when RabbitMQ is used
|
|
| 6 |
+# |
|
| 7 |
+# - ``functions`` file |
|
| 8 |
+# - ``RABBIT_{HOST|PASSWORD}`` must be defined when RabbitMQ is used
|
|
| 8 | 9 |
|
| 9 | 10 |
# ``stack.sh`` calls the entry points in this order: |
| 10 | 11 |
# |
| 11 |
-# check_rpc_backend |
|
| 12 |
-# install_rpc_backend |
|
| 13 |
-# restart_rpc_backend |
|
| 14 |
-# iniset_rpc_backend |
|
| 12 |
+# - check_rpc_backend |
|
| 13 |
+# - install_rpc_backend |
|
| 14 |
+# - restart_rpc_backend |
|
| 15 |
+# - iniset_rpc_backend |
|
| 15 | 16 |
|
| 16 | 17 |
# Save trace setting |
| 17 | 18 |
XTRACE=$(set +o | grep xtrace) |
| ... | ... |
@@ -200,6 +201,7 @@ function qpid_is_supported() {
|
| 200 | 200 |
# Restore xtrace |
| 201 | 201 |
$XTRACE |
| 202 | 202 |
|
| 203 |
-# Local variables: |
|
| 204 |
-# mode: shell-script |
|
| 205 |
-# End: |
|
| 203 |
+# Tell emacs to use shell-script-mode |
|
| 204 |
+## Local variables: |
|
| 205 |
+## mode: shell-script |
|
| 206 |
+## End: |
| ... | ... |
@@ -1,15 +1,16 @@ |
| 1 | 1 |
# lib/savanna-dashboard |
| 2 | 2 |
|
| 3 | 3 |
# Dependencies: |
| 4 |
-# ``functions`` file |
|
| 5 |
-# ``DEST``, ``DATA_DIR``, ``STACK_USER`` must be defined |
|
| 6 |
-# ``SERVICE_HOST |
|
| 4 |
+# |
|
| 5 |
+# - ``functions`` file |
|
| 6 |
+# - ``DEST``, ``DATA_DIR``, ``STACK_USER`` must be defined |
|
| 7 |
+# - ``SERVICE_HOST`` |
|
| 7 | 8 |
|
| 8 | 9 |
# ``stack.sh`` calls the entry points in this order: |
| 9 | 10 |
# |
| 10 |
-# install_savanna_dashboard |
|
| 11 |
-# configure_savanna_dashboard |
|
| 12 |
-# cleanup_savanna_dashboard |
|
| 11 |
+# - install_savanna_dashboard |
|
| 12 |
+# - configure_savanna_dashboard |
|
| 13 |
+# - cleanup_savanna_dashboard |
|
| 13 | 14 |
|
| 14 | 15 |
# Save trace setting |
| 15 | 16 |
XTRACE=$(set +o | grep xtrace) |
| ... | ... |
@@ -2,22 +2,24 @@ |
| 2 | 2 |
# Functions to control the configuration and operation of the **Swift** service |
| 3 | 3 |
|
| 4 | 4 |
# Dependencies: |
| 5 |
-# ``functions`` file |
|
| 6 |
-# ``apache`` file |
|
| 7 |
-# ``DEST``, ``SCREEN_NAME``, `SWIFT_HASH` must be defined |
|
| 8 |
-# ``STACK_USER`` must be defined |
|
| 9 |
-# ``SWIFT_DATA_DIR`` or ``DATA_DIR`` must be defined |
|
| 10 |
-# ``lib/keystone`` file |
|
| 5 |
+# |
|
| 6 |
+# - ``functions`` file |
|
| 7 |
+# - ``apache`` file |
|
| 8 |
+# - ``DEST``, ``SCREEN_NAME``, `SWIFT_HASH` must be defined |
|
| 9 |
+# - ``STACK_USER`` must be defined |
|
| 10 |
+# - ``SWIFT_DATA_DIR`` or ``DATA_DIR`` must be defined |
|
| 11 |
+# - ``lib/keystone`` file |
|
| 12 |
+# |
|
| 11 | 13 |
# ``stack.sh`` calls the entry points in this order: |
| 12 | 14 |
# |
| 13 |
-# install_swift |
|
| 14 |
-# _config_swift_apache_wsgi |
|
| 15 |
-# configure_swift |
|
| 16 |
-# init_swift |
|
| 17 |
-# start_swift |
|
| 18 |
-# stop_swift |
|
| 19 |
-# cleanup_swift |
|
| 20 |
-# _cleanup_swift_apache_wsgi |
|
| 15 |
+# - install_swift |
|
| 16 |
+# - _config_swift_apache_wsgi |
|
| 17 |
+# - configure_swift |
|
| 18 |
+# - init_swift |
|
| 19 |
+# - start_swift |
|
| 20 |
+# - stop_swift |
|
| 21 |
+# - cleanup_swift |
|
| 22 |
+# - _cleanup_swift_apache_wsgi |
|
| 21 | 23 |
|
| 22 | 24 |
# Save trace setting |
| 23 | 25 |
XTRACE=$(set +o | grep xtrace) |
| ... | ... |
@@ -617,6 +619,7 @@ function stop_swift() {
|
| 617 | 617 |
# Restore xtrace |
| 618 | 618 |
$XTRACE |
| 619 | 619 |
|
| 620 |
-# Local variables: |
|
| 621 |
-# mode: shell-script |
|
| 622 |
-# End: |
|
| 620 |
+# Tell emacs to use shell-script-mode |
|
| 621 |
+## Local variables: |
|
| 622 |
+## mode: shell-script |
|
| 623 |
+## End: |
| ... | ... |
@@ -2,34 +2,38 @@ |
| 2 | 2 |
# Install and configure Tempest |
| 3 | 3 |
|
| 4 | 4 |
# Dependencies: |
| 5 |
-# ``functions`` file |
|
| 6 |
-# ``lib/nova`` service is running |
|
| 7 |
-# <list other global vars that are assumed to be defined> |
|
| 8 |
-# - ``DEST``, ``FILES`` |
|
| 9 |
-# - ``ADMIN_PASSWORD`` |
|
| 10 |
-# - ``DEFAULT_IMAGE_NAME`` |
|
| 11 |
-# - ``S3_SERVICE_PORT`` |
|
| 12 |
-# - ``SERVICE_HOST`` |
|
| 13 |
-# - ``BASE_SQL_CONN`` ``lib/database`` declares |
|
| 14 |
-# - ``PUBLIC_NETWORK_NAME`` |
|
| 15 |
-# - ``Q_USE_NAMESPACE`` |
|
| 16 |
-# - ``Q_ROUTER_NAME`` |
|
| 17 |
-# - ``VIRT_DRIVER`` |
|
| 18 |
-# - ``LIBVIRT_TYPE`` |
|
| 19 |
-# - ``KEYSTONE_SERVICE_PROTOCOL``, ``KEYSTONE_SERVICE_HOST`` from lib/keystone |
|
| 5 |
+# |
|
| 6 |
+# - ``functions`` file |
|
| 7 |
+# - ``lib/nova`` service is running |
|
| 8 |
+# - Global vars that are assumed to be defined: |
|
| 9 |
+# - ``DEST``, ``FILES`` |
|
| 10 |
+# - ``ADMIN_PASSWORD`` |
|
| 11 |
+# - ``DEFAULT_IMAGE_NAME`` |
|
| 12 |
+# - ``S3_SERVICE_PORT`` |
|
| 13 |
+# - ``SERVICE_HOST`` |
|
| 14 |
+# - ``BASE_SQL_CONN`` ``lib/database`` declares |
|
| 15 |
+# - ``PUBLIC_NETWORK_NAME`` |
|
| 16 |
+# - ``Q_USE_NAMESPACE`` |
|
| 17 |
+# - ``Q_ROUTER_NAME`` |
|
| 18 |
+# - ``VIRT_DRIVER`` |
|
| 19 |
+# - ``LIBVIRT_TYPE`` |
|
| 20 |
+# - ``KEYSTONE_SERVICE_PROTOCOL``, ``KEYSTONE_SERVICE_HOST`` from lib/keystone |
|
| 21 |
+# |
|
| 20 | 22 |
# Optional Dependencies: |
| 21 |
-# ALT_* (similar vars exists in keystone_data.sh) |
|
| 22 |
-# ``LIVE_MIGRATION_AVAILABLE`` |
|
| 23 |
-# ``USE_BLOCK_MIGRATION_FOR_LIVE_MIGRATION`` |
|
| 24 |
-# ``DEFAULT_INSTANCE_TYPE`` |
|
| 25 |
-# ``DEFAULT_INSTANCE_USER`` |
|
| 26 |
-# ``CINDER_MULTI_LVM_BACKEND`` |
|
| 27 |
-# ``HEAT_CREATE_TEST_IMAGE`` |
|
| 23 |
+# |
|
| 24 |
+# - ``ALT_*`` (similar vars exists in keystone_data.sh) |
|
| 25 |
+# - ``LIVE_MIGRATION_AVAILABLE`` |
|
| 26 |
+# - ``USE_BLOCK_MIGRATION_FOR_LIVE_MIGRATION`` |
|
| 27 |
+# - ``DEFAULT_INSTANCE_TYPE`` |
|
| 28 |
+# - ``DEFAULT_INSTANCE_USER`` |
|
| 29 |
+# - ``CINDER_MULTI_LVM_BACKEND`` |
|
| 30 |
+# - ``HEAT_CREATE_TEST_IMAGE`` |
|
| 31 |
+# |
|
| 28 | 32 |
# ``stack.sh`` calls the entry points in this order: |
| 29 | 33 |
# |
| 30 |
-# install_tempest |
|
| 31 |
-# configure_tempest |
|
| 32 |
-# init_tempest |
|
| 34 |
+# - install_tempest |
|
| 35 |
+# - configure_tempest |
|
| 36 |
+# - init_tempest |
|
| 33 | 37 |
|
| 34 | 38 |
# Save trace setting |
| 35 | 39 |
XTRACE=$(set +o | grep xtrace) |
| ... | ... |
@@ -345,6 +349,7 @@ function init_tempest() {
|
| 345 | 345 |
# Restore xtrace |
| 346 | 346 |
$XTRACE |
| 347 | 347 |
|
| 348 |
-# Local variables: |
|
| 349 |
-# mode: shell-script |
|
| 350 |
-# End: |
|
| 348 |
+# Tell emacs to use shell-script-mode |
|
| 349 |
+## Local variables: |
|
| 350 |
+## mode: shell-script |
|
| 351 |
+## End: |
| ... | ... |
@@ -3,18 +3,19 @@ |
| 3 | 3 |
# <do not include this template file in ``stack.sh``!> |
| 4 | 4 |
|
| 5 | 5 |
# Dependencies: |
| 6 |
-# ``functions`` file |
|
| 7 |
-# ``SERVICE_{TENANT_NAME|PASSWORD}`` must be defined
|
|
| 8 |
-# <list other global vars that are assumed to be defined> |
|
| 6 |
+# |
|
| 7 |
+# - ``functions`` file |
|
| 8 |
+# - ``SERVICE_{TENANT_NAME|PASSWORD}`` must be defined
|
|
| 9 |
+# - <list other global vars that are assumed to be defined> |
|
| 9 | 10 |
|
| 10 | 11 |
# ``stack.sh`` calls the entry points in this order: |
| 11 | 12 |
# |
| 12 |
-# install_XXXX |
|
| 13 |
-# configure_XXXX |
|
| 14 |
-# init_XXXX |
|
| 15 |
-# start_XXXX |
|
| 16 |
-# stop_XXXX |
|
| 17 |
-# cleanup_XXXX |
|
| 13 |
+# - install_XXXX |
|
| 14 |
+# - configure_XXXX |
|
| 15 |
+# - init_XXXX |
|
| 16 |
+# - start_XXXX |
|
| 17 |
+# - stop_XXXX |
|
| 18 |
+# - cleanup_XXXX |
|
| 18 | 19 |
|
| 19 | 20 |
# Save trace setting |
| 20 | 21 |
XTRACE=$(set +o | grep xtrace) |
| ... | ... |
@@ -79,6 +80,7 @@ function stop_XXXX() {
|
| 79 | 79 |
# Restore xtrace |
| 80 | 80 |
$XTRACE |
| 81 | 81 |
|
| 82 |
-# Local variables: |
|
| 83 |
-# mode: shell-script |
|
| 84 |
-# End: |
|
| 82 |
+# Tell emacs to use shell-script-mode |
|
| 83 |
+## Local variables: |
|
| 84 |
+## mode: shell-script |
|
| 85 |
+## End: |
| ... | ... |
@@ -1,24 +1,27 @@ |
| 1 | 1 |
# lib/tls |
| 2 | 2 |
# Functions to control the configuration and operation of the TLS proxy service |
| 3 | 3 |
|
| 4 |
-# Dependencies: |
|
| 5 | 4 |
# !! source _before_ any services that use ``SERVICE_HOST`` |
| 6 |
-# ``functions`` file |
|
| 7 |
-# ``DEST``, ``DATA_DIR`` must be defined |
|
| 8 |
-# ``HOST_IP``, ``SERVICE_HOST`` |
|
| 9 |
-# ``KEYSTONE_TOKEN_FORMAT`` must be defined |
|
| 5 |
+# |
|
| 6 |
+# Dependencies: |
|
| 7 |
+# |
|
| 8 |
+# - ``functions`` file |
|
| 9 |
+# - ``DEST``, ``DATA_DIR`` must be defined |
|
| 10 |
+# - ``HOST_IP``, ``SERVICE_HOST`` |
|
| 11 |
+# - ``KEYSTONE_TOKEN_FORMAT`` must be defined |
|
| 10 | 12 |
|
| 11 | 13 |
# Entry points: |
| 12 |
-# configure_CA |
|
| 13 |
-# init_CA |
|
| 14 |
+# |
|
| 15 |
+# - configure_CA |
|
| 16 |
+# - init_CA |
|
| 14 | 17 |
|
| 15 |
-# configure_proxy |
|
| 16 |
-# start_tls_proxy |
|
| 18 |
+# - configure_proxy |
|
| 19 |
+# - start_tls_proxy |
|
| 17 | 20 |
|
| 18 |
-# make_root_ca |
|
| 19 |
-# make_int_ca |
|
| 20 |
-# new_cert $INT_CA_DIR int-server "abc" |
|
| 21 |
-# start_tls_proxy HOST_IP 5000 localhost 5000 |
|
| 21 |
+# - make_root_ca |
|
| 22 |
+# - make_int_ca |
|
| 23 |
+# - new_cert $INT_CA_DIR int-server "abc" |
|
| 24 |
+# - start_tls_proxy HOST_IP 5000 localhost 5000 |
|
| 22 | 25 |
|
| 23 | 26 |
|
| 24 | 27 |
# Defaults |
| ... | ... |
@@ -321,6 +324,7 @@ function start_tls_proxy() {
|
| 321 | 321 |
} |
| 322 | 322 |
|
| 323 | 323 |
|
| 324 |
-# Local variables: |
|
| 325 |
-# mode: shell-script |
|
| 326 |
-# End: |
|
| 324 |
+# Tell emacs to use shell-script-mode |
|
| 325 |
+## Local variables: |
|
| 326 |
+## mode: shell-script |
|
| 327 |
+## End: |