[Trivialfix]Fix typos in vmtp

Fix the typos found in vmtp.

Change-Id: I3cc92076c9c3276723395c98dcabcc20049db1e6
This commit is contained in:
shangxiaobj 2017-08-17 18:37:14 -07:00
parent e88b7f77c8
commit 271d934bc9
4 changed files with 6 additions and 6 deletions

View File

@ -2770,7 +2770,7 @@ main( int argc, char **argv )
}
af = res[stream_idx]->ai_family;
/*
* At the moment PF_ matches AF_ but are maintained seperate and the socket
* At the moment PF_ matches AF_ but are maintained separate and the socket
* call is supposed to be PF_
*
* For now we set domain from the address family we looked up, but if these

View File

@ -202,7 +202,7 @@ os_dataplane_network: 'physnet1'
########################################
# MongoDB pns database.
# use "official_db" for offical runs only.
# use "official_db" for official runs only.
########################################
vmtp_db: "client_db"

View File

@ -90,7 +90,7 @@ def search_documents_in_collection(collection, pattern):
try:
output = collection.find(pattern)
except TypeError:
print "A TypeError occured. Invalid pattern: ", pattern
print "A TypeError occurred. Invalid pattern: ", pattern
return None
return output

View File

@ -386,8 +386,8 @@ class VmtpTest(object):
def measure_vm_flows(self):
# scenarios need to be tested for both inter and intra node
# 1. VM to VM on same data network
# 2. VM to VM on seperate networks fixed-fixed
# 3. VM to VM on seperate networks floating-floating
# 2. VM to VM on separate networks fixed-fixed
# 3. VM to VM on separate networks floating-floating
# we should have 1 or 2 AZ to use (intra and inter-node)
for client_az in self.client_az_list:
@ -954,7 +954,7 @@ def decode_size_list(argname, size_list):
pkt_sizes[i] = int(pkt_sizes[i])
except ValueError:
LOG.error('Invalid %s parameter. A valid input must be '
'integers seperated by comma.' % argname)
'integers separated by comma.' % argname)
sys.exit(1)
return pkt_sizes