Beispiel #1
0
 def __init__(self, options):
     Igi.__init__(self)
     TesterTest.__init__(self, options)
     self.parseOptions()
     self.outputs = {}
     self.bws = {}
     self.cmd = self.cliCmd.format(exec = self._EXEC,
                                   nprobes = self.options.nProbes,
                                   ntrains = self.options.nTrains,
                                   packetSize = self.options.packetSize,
                                   serverIp = "{ip}")
Beispiel #2
0
 def __init__(self, options):
     Iperf.__init__(self)
     TesterTest.__init__(self, options)
     self.parseOptions()
     self.outputs = {}
     self.bws = {}
     self.cmd = self.iperfCmd.format(exec = self._EXEC,
                                     proto = self.P_UDP if self.options.protocol == self.PROTO_UDP else self.P_TCP,
                                     port = self.options.port,
                                     transmit = '-n %s' % self.options.num if self.options.num is not None else '-t %s' % self.options.time,
                                     mode = self._CLIENT_MODE,
                                     udpBw = ' -b %s' % self.options.udpbw if self.options.protocol == self.PROTO_UDP else '',
                                     ip = "{ip}")
Beispiel #3
0
 def __init__(self, options):
     Iperf.__init__(self)
     TesterTest.__init__(self, options)
     self.parseOptions()
     self.outputs = {}
     self.bws = {}
     self.cmd = self.iperfCmd.format(
         exec=self._EXEC,
         proto=self.P_UDP
         if self.options.protocol == self.PROTO_UDP else self.P_TCP,
         port=self.options.port,
         transmit='-n %s' %
         self.options.num if self.options.num is not None else '-t %s' %
         self.options.time,
         mode=self._CLIENT_MODE,
         udpBw=' -b %s' % self.options.udpbw
         if self.options.protocol == self.PROTO_UDP else '',
         ip="{ip}")
Beispiel #4
0
 def __init__(self, options):
     Broadcast.__init__(self)
     TesterTest.__init__(self, options)
     self.parseOptions()
Beispiel #5
0
 def __init__(self, options):
     Ping.__init__(self)
     TesterTest.__init__(self, options)
     self.parseOptions()
     self.errors = {}
Beispiel #6
0
 def __init__(self, options):
     Unicast.__init__(self)
     TesterTest.__init__(self, options)
     self.parseOptions()