Changes between Version 24 and Version 25 of GENIExperimenter/Tutorials/ClickExample/Execute
- Timestamp:
- 07/01/14 16:51:14 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GENIExperimenter/Tutorials/ClickExample/Execute
v24 v25 32 32 33 33 {{{ 34 readyToLogin -a pg-utah <slicename> -o34 readyToLogin <slicename> -o --useSliceAggregates 35 35 }}} 36 36 … … 39 39 mv ./sshconfig.txt ~/.ssh/config 40 40 }}} 41 42 Edit the `~/.ssh/config` file to only include the section for your user. 43 41 44 Let's login to our two hosts, the nicknames are `hostA` and `hostB` 42 45 i. Open two new terminals … … 55 58 i. In your local terminal type : 56 59 {{{ 57 remote-execute .py -a pg-utah<slicename> -m "ls -a"60 remote-execute --useSliceAggregates <slicename> -m "ls -a" 58 61 }}} 59 62 This will list all the files under the home directory of all hosts. To run it in only one host use the `--host` option 60 63 {{{ 61 remote-execute .py -a pg-utah<slicename> -m "ls -a" --host top64 remote-execute --useSliceAggregates <slicename> -m "ls -a" --host top 62 65 }}} 63 66 … … 86 89 scp top:myslice.png ./ 87 90 }}} 88 i. View the diagram by typing : 89 {{{ 90 eog myslice.png & 91 }}} 91 i. Open the diagram in your browser or your favorite image viewing program. 92 92 93 Your slice will look something like the one below. The overall configuration should be the same, with two end hosts, named hostA and hostB, and four routers (top, left, right, bottom) in a diamond configuration. The host names, interface names, and MAC addresses will be different, depending on the actual resources assigned to your slice. 93 94