code: def setup_iperf_server(self, protocol='TCP', port=5001, window=None):
          
          iperf = iperf_driver.IPerfDriver()
          try:
              data = iperf.start_server(protocol='TCP', port=5001, window=None)
              return agent_utils.make_response(code=0, data=data)
          except:
              message = 'Start iperf server failed!'
              return agent_utils.make_response(code=1, message=message)
docs: iperf -s