From 88e5a440a5613241475fed969e769b0ea59ae2fa Mon Sep 17 00:00:00 2001 From: Pengfei Zhang Date: Fri, 19 Jan 2018 09:59:28 +0800 Subject: [PATCH] Fixed misspelling in Kolla-ansible Fixed misspelling in both comments and code function names Change-Id: Iaed5f246a9b02fd64433671fd0c0ee41b40bd222 --- ansible/roles/ovs-dpdk/defaults/main.yml | 4 ++-- tools/ovs-dpdkctl.sh | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ansible/roles/ovs-dpdk/defaults/main.yml b/ansible/roles/ovs-dpdk/defaults/main.yml index 9413a01a2f..66feb52bc0 100644 --- a/ansible/roles/ovs-dpdk/defaults/main.yml +++ b/ansible/roles/ovs-dpdk/defaults/main.yml @@ -60,8 +60,8 @@ ovs_socket_mem: 1024 ovs_hugepage_mountpoint: /dev/hugepages # ovs <2.7 required dpdk phyical port names to be index -# in pci adress order as dpdkX where X is the index -# ovs>=2.7 allows arbitray names but the pci adress +# in pci address order as dpdkX where X is the index +# ovs>=2.7 allows arbitray names but the pci address # must be set in a new dpdkdev-opt field # valid values are indexed or named. ovs_physical_port_policy: named diff --git a/tools/ovs-dpdkctl.sh b/tools/ovs-dpdkctl.sh index fc5cf2f781..6b6e3bfd5b 100755 --- a/tools/ovs-dpdkctl.sh +++ b/tools/ovs-dpdkctl.sh @@ -384,7 +384,7 @@ function uninstall { } -function useage { +function usage { cat << "EOF" ovs-dpdkctl.sh: A tool to configure ovs with dpdk. @@ -417,7 +417,7 @@ commands: ovs-dpdkctl config. - creates dpdk ports as defined by ovs port_mappings in ovs-dpdkctl config. - - useage: + - usage: - prints this message options: @@ -495,7 +495,7 @@ if [ $# -ge 1 ]; then func=$1 shift else - func="useage" + func="usage" fi #replace with switch later