Merge "[Trivialfix]Fix typos in vmtp"

This commit is contained in:
Jenkins 2017-08-18 22:47:35 +00:00 committed by Gerrit Code Review
commit a1c940ad0d
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; 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_ * call is supposed to be PF_
* *
* For now we set domain from the address family we looked up, but if these * 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. # MongoDB pns database.
# use "official_db" for offical runs only. # use "official_db" for official runs only.
######################################## ########################################
vmtp_db: "client_db" vmtp_db: "client_db"

View File

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

View File

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