Browse code

Fix typos for stack.sh and lib of comments and message

Fix 10 comments and 1 message

stack.sh
Certicate => Certificate (comment)
lib/stack
Sentinal => Sentinel (comment)
lib/neutron-legacy
overriden => overridden (comment)
necesssary => necessary (comment)
notifiy => notify (message)
notifations => notifications (comment)
lib/rpc_backend
orginal => original (comment)
cofiguration => configuration (comment)
lib/stack
confgured => configured (comment)
lib/swift
additinal => additional (comment)
calclution => calculation (comment)
maximun => maximum (comment)

Change-Id: I3637388b67decb007cd49af9addecc654009559b

Atsushi SAKAI authored on 2015/11/13 17:06:16
Showing 5 changed files
... ...
@@ -256,7 +256,7 @@ ENABLE_TENANT_TUNNELS=${ENABLE_TENANT_TUNNELS:-True}
256 256
 
257 257
 # If using GRE tunnels for tenant networks, specify the range of
258 258
 # tunnel IDs from which tenant networks are allocated. Can be
259
-# overriden in ``localrc`` in necesssary.
259
+# overridden in ``localrc`` in necessary.
260 260
 TENANT_TUNNEL_RANGES=${TENANT_TUNNEL_RANGES:-1:1000}
261 261
 
262 262
 # To use VLANs for tenant networks, set to True in localrc. VLANs
... ...
@@ -537,7 +537,7 @@ function create_neutron_initial_network {
537 537
 
538 538
     if is_provider_network; then
539 539
         die_if_not_set $LINENO PHYSICAL_NETWORK "You must specify the PHYSICAL_NETWORK"
540
-        die_if_not_set $LINENO PROVIDER_NETWORK_TYPE "You must specifiy the PROVIDER_NETWORK_TYPE"
540
+        die_if_not_set $LINENO PROVIDER_NETWORK_TYPE "You must specify the PROVIDER_NETWORK_TYPE"
541 541
         NET_ID=$(neutron net-create $PHYSICAL_NETWORK --tenant_id $TENANT_ID --provider:network_type $PROVIDER_NETWORK_TYPE --provider:physical_network "$PHYSICAL_NETWORK" ${SEGMENTATION_ID:+--provider:segmentation_id $SEGMENTATION_ID} --shared | grep ' id ' | get_field 2)
542 542
         die_if_not_set $LINENO NET_ID "Failure creating NET_ID for $PHYSICAL_NETWORK $TENANT_ID"
543 543
 
... ...
@@ -1123,7 +1123,7 @@ function _configure_neutron_service {
1123 1123
     iniset $NEUTRON_CONF DEFAULT auth_strategy $Q_AUTH_STRATEGY
1124 1124
     _neutron_setup_keystone $NEUTRON_CONF keystone_authtoken
1125 1125
 
1126
-    # Configuration for neutron notifations to nova.
1126
+    # Configuration for neutron notifications to nova.
1127 1127
     iniset $NEUTRON_CONF DEFAULT notify_nova_on_port_status_changes $Q_NOTIFY_NOVA_PORT_STATUS_CHANGES
1128 1128
     iniset $NEUTRON_CONF DEFAULT notify_nova_on_port_data_changes $Q_NOTIFY_NOVA_PORT_DATA_CHANGES
1129 1129
 
... ...
@@ -58,7 +58,7 @@ function restart_rpc_backend {
58 58
         # NOTE(bnemec): Retry initial rabbitmq configuration to deal with
59 59
         # the fact that sometimes it fails to start properly.
60 60
         # Reference: https://bugzilla.redhat.com/show_bug.cgi?id=1144100
61
-        # NOTE(tonyb): Extend the orginal retry logic to only restart rabbitmq
61
+        # NOTE(tonyb): Extend the original retry logic to only restart rabbitmq
62 62
         # every second time around the loop.
63 63
         # See: https://bugs.launchpad.net/devstack/+bug/1449056 for details on
64 64
         # why this is needed.  This can bee seen on vivid and Debian unstable
... ...
@@ -106,7 +106,7 @@ function get_transport_url {
106 106
     fi
107 107
 }
108 108
 
109
-# iniset cofiguration
109
+# iniset configuration
110 110
 function iniset_rpc_backend {
111 111
     local package=$1
112 112
     local file=$2
... ...
@@ -14,7 +14,7 @@
14 14
 # Functions
15 15
 # ---------
16 16
 
17
-# Generic service install handles venv creation if confgured for service
17
+# Generic service install handles venv creation if configured for service
18 18
 # stack_install_service service
19 19
 function stack_install_service {
20 20
     local service=$1
... ...
@@ -123,13 +123,13 @@ SWIFT_REPLICAS_SEQ=$(seq ${SWIFT_REPLICAS})
123 123
 # trace through the logs when looking for its use.
124 124
 SWIFT_LOG_TOKEN_LENGTH=${SWIFT_LOG_TOKEN_LENGTH:-12}
125 125
 
126
-# Set ``SWIFT_MAX_HEADER_SIZE`` to configure the maximun length of headers in
126
+# Set ``SWIFT_MAX_HEADER_SIZE`` to configure the maximum length of headers in
127 127
 # Swift API
128 128
 SWIFT_MAX_HEADER_SIZE=${SWIFT_MAX_HEADER_SIZE:-16384}
129 129
 
130 130
 # Set ``OBJECT_PORT_BASE``, ``CONTAINER_PORT_BASE``, ``ACCOUNT_PORT_BASE``
131
-# Port bases used in port number calclution for the service "nodes"
132
-# The specified port number will be used, the additinal ports calculated by
131
+# Port bases used in port number calculation for the service "nodes"
132
+# The specified port number will be used, the additional ports calculated by
133 133
 # base_port + node_num * 10
134 134
 OBJECT_PORT_BASE=${OBJECT_PORT_BASE:-6613}
135 135
 CONTAINER_PORT_BASE=${CONTAINER_PORT_BASE:-6611}
... ...
@@ -926,8 +926,8 @@ fi
926 926
 restart_rpc_backend
927 927
 
928 928
 
929
-# Export Certicate Authority Bundle
930
-# ---------------------------------
929
+# Export Certificate Authority Bundle
930
+# -----------------------------------
931 931
 
932 932
 # If certificates were used and written to the SSL bundle file then these
933 933
 # should be exported so clients can validate their connections.