Changes between Version 8 and Version 9 of Tutorials/c0WiFi/Tutorial3


Ignore:
Timestamp:
May 24, 2016, 9:02:01 PM (9 years ago)
Author:
jkol
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Tutorials/c0WiFi/Tutorial3

    v8 v9  
    33== Wifi Tutorial: Access point with multiple clients ==
    44
    5 This tutorial shows how an experiment script configures an access point  (AP) and multiple clients for performance testing with iperf. In this experiment script we'll use an OMF feature to define an application header for iperf and run this application on the AP and access points.
     5This tutorial shows how an experiment script configures an access point (AP) and multiple clients for performance testing with iperf. In this experiment script, we'll use an OMF feature to define an application header for iperf and run this application on the AP and access points.
    66
    77=== Experiment Script ===
    88
    9 The experiment script is shown below. Near the top of the script we define an application header for iperf.  After which we define two groups - the first group (AP) consists of a single node to be configured as an access point. The second group (client) can be single or multiple node(s) to be configured as wifi clients. Both groups add the iperf application and configure the wireless interfaces accordingly. At the bottom of the script, the nodes in the all the groups are brought up and the applications are executed.
     9The experiment script is shown below. Near the top of the script we define an application header for iperf.  After which we define two groups - the first group (AP) consists of a single node to be configured as an access point. The second group (client) can be a single or multiple node(s) that will be configured as WiFi clients. Both groups add the iperf application and configure the wireless interfaces accordingly. At the bottom of the script, the nodes in all the defined groups are brought up and the applications are executed.
    1010
    1111{{{
     
    274274=== Executing the Experiment Script ===
    275275An overview on running experiment scripts on the orbit testbed can be found on the [wiki:Documentation/CGettingStarted Getting Started Page].
    276 In order to run this experiment script, load ''baseline.ndz'' image on nodes with wifi cards. Check the ''Status Page' on the [https://www.orbit-lab.org/cPanel/controlPanel/start Control Panel] to select any particular type of wifi card.
    277 {{{
    278 nilanjan@console.grid:~/EXP$ omf load -i baseline.ndz -t node15-1,node16-1,node17-1,node19-1,node20-1
     276
     277In order to run this experiment script, load the ''baseline.ndz'' image onto nodes with WiFi cards. Check the ''Status Page' in the [https://www.orbit-lab.org/cPanel/controlPanel/start Control Panel] to find nodes with a WiFi card.
     278{{{
     279user@console:~$ omf load -i baseline.ndz -t node1-1,node1-2
    279280}}}
    280281
    281282After the nodes have finished imaging, turn the nodes on. The topology used here is ''system:topo:imaged'' which selected the prior set of node that were successfully imaged.
    282283{{{
    283 nilanjan@console.grid:~/EXP$ omf tell -a on -t system:topo:imaged
     284user@console:~$ omf tell -a on -t system:topo:imaged
    284285}}}
    285286
    286287To run this experiment with 2 clients nodes:
    287288{{{
    288 nilanjan@console.grid:~/EXP$ omf exec test:exp:tutorial:wifi-ap-iperf.rb -- --accesspoint node15-1 --client node16-1,node17-1 --duration 60
     289user@console:~$ omf exec test:exp:tutorial:wifi-ap-iperf.rb -- --accesspoint node15-1 --client node16-1,node17-1 --duration 60
    289290}}}
    290291