Changes between Version 16 and Version 17 of GENIExperimenter/Tutorials/ClickExample/Execute


Ignore:
Timestamp:
03/18/13 07:57:09 (11 years ago)
Author:
nriga@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GENIExperimenter/Tutorials/ClickExample/Execute

    v16 v17  
    5656  remote-execute.py -a pg-utah <slicename> -m "ls -a"
    5757  }}}
    58   This will list all the files under the home directory of all hosts.
    59 
    60 If you get something similar you are all set for controlling your nodes from your computer.
     58  This will list all the files under the home directory of all hosts. To run it in only one host use the `--host` option
     59  {{{
     60  remote-execute.py -a pg-utah <slicename> -m "ls -a"  --host top
     61  }}}
    6162
    6263== 1b. Configure your routers ==
    63 We are going to use remote execution to configure our routers.
     64We are going to use remote execution to configure our routers. For this specific command we will use ssh directly.
    6465  i. On a local terminal run the following command four times, each time substituting the <router_nickname> with one of the top, bottom, left, right:
    6566  {{{
     
    117118  i. On a local terminal run the following command four times, each time substituting the <router_nickname> with one of the top, bottom, left, right:
    118119  {{{
    119   ssh -A <router_nickname> "sh ./stopIP.sh"
     120  remote-execute.py -a pg-utah <slicename> -m "sh ./stopIP.sh"
    120121}}}
    121122
     
    145146  i. On a local terminal run the following command four times, each time substituting the <router_nickname> with one of the top, bottom, left, right:
    146147  {{{
    147   ssh -A <router_nickname> "sh ./startClick.sh"
     148  remote-execute.py -a pg-utah <slicename> -m "sh ./startClick.sh"
    148149}}}
    149150  You'll get output like this. (Don't worry about the warning messages, Click is just reminding you that you have no IP addresses in your core network.) The output of the click router is redirected to `/tmp/click.out` on each host.