remove unused _iperfVals parameter (#1170)
This commit is contained in:
+1
-2
@@ -782,11 +782,10 @@ class Mininet( object ):
|
|||||||
return self.pingFull( hosts=hosts )
|
return self.pingFull( hosts=hosts )
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def _iperfVals( iperfcsv, serverip, _l4Type='TCP' ):
|
def _iperfVals( iperfcsv, serverip ):
|
||||||
"""Return iperf CSV as dict
|
"""Return iperf CSV as dict
|
||||||
iperfcsv: iperf -y C output
|
iperfcsv: iperf -y C output
|
||||||
serverip: iperf server IP address
|
serverip: iperf server IP address
|
||||||
l4Type: TCP|UDP
|
|
||||||
"""
|
"""
|
||||||
fields = 'date cip cport sip sport ipver interval sent rate'
|
fields = 'date cip cport sip sport ipver interval sent rate'
|
||||||
lines = iperfcsv.strip().split('\n')
|
lines = iperfcsv.strip().split('\n')
|
||||||
|
|||||||
Reference in New Issue
Block a user