Exemplo n.º 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}")
Exemplo n.º 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}")
Exemplo n.º 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}")
Exemplo n.º 4
0
 def __init__(self, options):
     Broadcast.__init__(self)
     TesterTest.__init__(self, options)
     self.parseOptions()
Exemplo n.º 5
0
 def __init__(self, options):
     Ping.__init__(self)
     TesterTest.__init__(self, options)
     self.parseOptions()
     self.errors = {}
Exemplo n.º 6
0
 def __init__(self, options):
     Unicast.__init__(self)
     TesterTest.__init__(self, options)
     self.parseOptions()