@@ -79,8 +79,8 @@ NEUTRON_AUTH_CACHE_DIR=${NEUTRON_AUTH_CACHE_DIR:-/var/cache/neutron}
7979# Support entry points installation of console scripts
8080if [[ -d $NEUTRON_DIR/bin/neutron-server ]]; then
8181 NEUTRON_BIN_DIR=$NEUTRON_DIR/bin
82- else
83- NEUTRON_BIN_DIR=$(get_python_exec_prefix)
82+ else
83+ NEUTRON_BIN_DIR=$(get_python_exec_prefix)
8484fi
8585
8686NEUTRON_CONF_DIR=/etc/neutron
@@ -373,7 +373,7 @@ function create_neutron_initial_network() {
373373 iniset $Q_L3_CONF_FILE DEFAULT router_id $ROUTER_ID
374374 fi
375375 fi
376- fi
376+ fi
377377}
378378
379379# init_neutron() - Initialize databases, etc.
@@ -404,7 +404,7 @@ function install_neutron_agent_packages() {
404404 fi
405405
406406 if is_service_enabled q-lbaas; then
407- neutron_agent_lbaas_install_agent_packages
407+ neutron_agent_lbaas_install_agent_packages
408408 fi
409409}
410410
@@ -414,13 +414,13 @@ function start_neutron_service_and_check() {
414414 local cfg_file
415415 local CFG_FILE_OPTIONS="--config-file $NEUTRON_CONF --config-file /$Q_PLUGIN_CONF_FILE"
416416 for cfg_file in ${Q_PLUGIN_EXTRA_CONF_FILES[@]}; do
417- CFG_FILE_OPTIONS+=" --config-file /$cfg_file"
417+ CFG_FILE_OPTIONS+=" --config-file /$cfg_file"
418418 done
419419 # Start the Neutron service
420420 screen_it q-svc "cd $NEUTRON_DIR && python $NEUTRON_BIN_DIR/neutron-server $CFG_FILE_OPTIONS"
421421 echo "Waiting for Neutron to start..."
422422 if ! timeout $SERVICE_TIMEOUT sh -c "while ! wget --no-proxy -q -O- http://$Q_HOST:$Q_PORT; do sleep 1; done"; then
423- die $LINENO "Neutron did not start"
423+ die $LINENO "Neutron did not start"
424424 fi
425425}
426426
@@ -712,9 +712,9 @@ function _neutron_setup_rootwrap() {
712712 # Set up ``rootwrap.conf``, pointing to ``$NEUTRON_CONF_DIR/rootwrap.d``
713713 # location moved in newer versions, prefer new location
714714 if test -r $NEUTRON_DIR/etc/neutron/rootwrap.conf; then
715- sudo cp -p $NEUTRON_DIR/etc/neutron/rootwrap.conf $Q_RR_CONF_FILE
715+ sudo cp -p $NEUTRON_DIR/etc/neutron/rootwrap.conf $Q_RR_CONF_FILE
716716 else
717- sudo cp -p $NEUTRON_DIR/etc/rootwrap.conf $Q_RR_CONF_FILE
717+ sudo cp -p $NEUTRON_DIR/etc/rootwrap.conf $Q_RR_CONF_FILE
718718 fi
719719 sudo sed -e "s:^filters_path=.*$:filters_path=$Q_CONF_ROOTWRAP_D:" -i $Q_RR_CONF_FILE
720720 sudo chown root:root $Q_RR_CONF_FILE
@@ -848,11 +848,11 @@ function _ssh_check_neutron() {
848848# please refer to ``lib/neutron_thirdparty/README.md`` for details
849849NEUTRON_THIRD_PARTIES=""
850850for f in $TOP_DIR/lib/neutron_thirdparty/*; do
851- third_party=$(basename $f)
852- if is_service_enabled $third_party; then
853- source $TOP_DIR/lib/neutron_thirdparty/$third_party
854- NEUTRON_THIRD_PARTIES="$NEUTRON_THIRD_PARTIES,$third_party"
855- fi
851+ third_party=$(basename $f)
852+ if is_service_enabled $third_party; then
853+ source $TOP_DIR/lib/neutron_thirdparty/$third_party
854+ NEUTRON_THIRD_PARTIES="$NEUTRON_THIRD_PARTIES,$third_party"
855+ fi
856856done
857857
858858function _neutron_third_party_do() {
0 commit comments