Fix some typo

Co-Authored-By: caoyuan <cao.yuan@99cloud.net>
TrivialFix

Change-Id: Ie576114a3f6f4579a4df3175232a5f6c63c7a795
This commit is contained in:
pangliye 2016-12-07 14:51:05 +08:00 committed by caoyuan
parent 9a3192f570
commit b4e3ab5e63
2 changed files with 2 additions and 2 deletions

View File

@ -92,7 +92,7 @@ def validate_config(config):
def validate_source(data):
source = data.get('source')
# Only check existance if no wildcard found
# Only check existence if no wildcard found
if '*' not in source:
if not os.path.exists(source):
if data.get('optional'):

View File

@ -22,7 +22,7 @@ if [ ! -e $ovs_bridge ] && [ ! -e $ovs_ext_intf ]; then
/usr/sbin/ovsdb-server /etc/openvswitch/conf.db --remote=punix:/var/run/openvswitch/db.sock --run="ovs-vsctl --no-wait --db=unix:/var/run/openvswitch/db.sock add-br $ovs_bridge"
# Plug the external interface into the external bridge.
/usr/sbin/ovsdb-server /etc/openvswitch/conf.db --remote=punix:/var/run/openvswitch/db.sock --run="ovs-vsctl --no-wait --db=unix:/var/run/openvswitch/db.sock add-port $ovs_bridge $ovs_ext_intf"
# Run ovsdb server proces
# Run ovsdb server process
/usr/sbin/ovsdb-server /etc/openvswitch/conf.db -vconsole:emer -vsyslog:err -vfile:info --remote=punix:/var/run/openvswitch/db.sock --remote=ptcp:6640 --log-file=/var/log/kolla/openvswitch/ovsdb-server.log
else
# NOTE: (sbezverk) This part is executed only by kolla-ansible deployment.