title: Iperf and Mininet (Floodlight)
body: <p>I am working on a load balance project using Mininet and Floodlight. The topology is fat tree:</p>
  
  <p>4 Core Switches,
  8 Aggregation Switches,
  Edge Switches, and
  16 Hosts</p>
  
  <p>I need to create a text file (#1) that has tens of lines using (iperf UDP)to send packet from source to destination within time limit and packet size. Something like this:</p>
  
  <p>10.0.0.2,10.3.1.3,7m,3Mbps,
  10.0.0.2,10.3.1.2,9m,9Mbps, etc.</p>
  
  <p>The idea is to have a python code in a text file (#2) and run it within the Mininet terminal and it will read the text file (1) and start sending packets. I am not sure how to do this! I am used to open two hosts' terminal and use iperf to make one host as a client and the other as a server. So, in my case how can I do that?</p>
  
  <p>The problem is when we create a topology and I am inside (mininet>) I could not execute any python code since I am limited to certain commands to run. Therefore, I tried to execute some Python code in the Mininet terminal (mininet@mininet-vm:-$) and Icould not get it working knowing that I was able to execute the python code inside this terminal. </p>
  
  <p>I also tried to run iperf script within the same code of the topology (fat tree), but I for some reason did not get it working either!</p>
  
  <p>Thank you..</p>