Merge "[Trivialfix]Fix typos in vmtp"
This commit is contained in:
commit
a1c940ad0d
@ -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
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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
|
||||
|
@ -392,8 +392,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:
|
||||
@ -967,7 +967,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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user