Changes between Version 24 and Version 25 of GENIExperimenter/Tutorials/GENIDesktop/GEC23/GENIDesktop_CLI


Ignore:
Timestamp:
06/10/15 13:45:52 (9 years ago)
Author:
Hussamuddin Nasir
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GENIExperimenter/Tutorials/GENIDesktop/GEC23/GENIDesktop_CLI

    v24 v25  
    5858 == STEP 4. Using GENIDesktop CLI ==
    5959
     60 In this exercise we will use the existing slice that we had created for this tutorial. We assume here that you have "iperf" installed on your nodes in the previous sections of this tutorial. Please note down your slicename and projectname your slice belongs to. This will be needed as the command line parameters for this exercise. There are numerous operation that can be performed using the CLI, but this example will focus on three things
     61
     62 * List your nodes
     63 * Start iperf server on node-0
     64 * Start iperf client on node-1
     65 * View the traffic on the link graph after downloading the PNG
     66
     67 A user may want to automate these steps using custom scripts which is what we would like to emphasize in this section. We have created
     68
     69 * [wiki:http://groups.geni.net/geni/attachment/wiki/GEMINI/Tutorial/Images/gdcli_gec23.sh bash script (For MAC and Linux Users)]
     70 * [wiki:http://groups.geni.net/geni/attachment/wiki/GEMINI/Tutorial/Images/gdcli_gec23.bat Batch processing script (.bat for Windows Users)]
     71
     72Click on the "Download in Original format" link at the bottom of the relevant script page mentioned above to download the script on your laptops.
     73
     74Go to the download folder and  run the relevant custom script
     75{{{
     76 ./gdcli_gec23.sh <Projectname> <slicename>
     77
     78OR
     79
     80gdcli_gec23.bat <Projectname> <slicename>
     81}}}
     82
     83If the script finishes sucesffully , windows users should see a folder window pop up with the relevant graphs in them.. Linux/MAC users should see a folder called "mygraphs" appear on the Desktop which should contain the graph files. Double-clicking on them to view.
     84
     85 Some of the sample GENIDesktop CLI operations are show below. These could be combined in a custom script like the one you just ran.
     86
    6087  === Sample GENIDesktop CLI operations ===
    6188