Changes between Version 26 and Version 27 of GENIExperimenter/Tutorials/ClickExample/Execute
- Timestamp:
- 07/01/14 16:54:14 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GENIExperimenter/Tutorials/ClickExample/Execute
v26 v27 53 53 }}} 54 54 === Test remote execution === 55 You can execute commands in a remote host using `ssh` if you are using a Mac or Linux. There is an omni script, `remote-execute .py` that automates this.56 The rest of the tutorial assumes you have access to the remote-execute .pyscript. If you are on a Windows host you have to SSH to each host and execute the command that is after the '-m' option, manually.55 You can execute commands in a remote host using `ssh` if you are using a Mac or Linux. There is an omni script, `remote-execute` that automates this. 56 The rest of the tutorial assumes you have access to the remote-execute script. If you are on a Windows host you have to SSH to each host and execute the command that is after the '-m' option, manually. 57 57 58 58 i. In your local terminal type : … … 121 121 i. On a local terminal run the following command four times, each time substituting the <router_name> with one of the top, bottom, left, right: 122 122 {{{ 123 remote-execute .py -a pg-utah<slicename> -m "sh ./stopIP.sh" \123 remote-execute --useSliceAggregates <slicename> -m "sh ./stopIP.sh" \ 124 124 --host <router_name> 125 125 }}} … … 150 150 i. On a local terminal run the following command four times, each time substituting the <router_name> with one of the top, bottom, left, right: 151 151 {{{ 152 remote-execute .py -a pg-utah<slicename> -m "sh ./startClick.sh"153 }}} 154 You'll get output like this. (Don't worry about thewarning 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.152 remote-execute --useSliceAggregates <slicename> -m "sh ./startClick.sh" 153 }}} 154 You'll get output like this. (Don't worry if you get 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. 155 155 156 156 {{{