remove unused _iperfVals parameter (#1170)

This commit is contained in:
lantz
2023-04-22 09:22:08 -07:00
committed by GitHub
parent 30a5fd0df4
commit 4840bc20c5
+1 -2
View File
@@ -782,11 +782,10 @@ class Mininet( object ):
return self.pingFull( hosts=hosts )
@staticmethod
def _iperfVals( iperfcsv, serverip, _l4Type='TCP' ):
def _iperfVals( iperfcsv, serverip ):
"""Return iperf CSV as dict
iperfcsv: iperf -y C output
serverip: iperf server IP address
l4Type: TCP|UDP
"""
fields = 'date cip cport sip sport ipver interval sent rate'
lines = iperfcsv.strip().split('\n')