Changes between Version 13 and Version 14 of JBSsandbox/PlasticSlices
- Timestamp:
- 04/21/14 14:27:10 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
JBSsandbox/PlasticSlices
v13 v14 20 20 * Your default project in your Omni config file should be 'gpo-infra'. 21 21 * Your 'users' list in your Omni config file should include the gpo-infra users. 22 * You should identify a system where you can run !OpenFlow controllers, and an !OpenFlow controller that you can run there (eight times, once per slice). 22 23 * The system where you plan to process logs should have the 'gpo' group, and you should be a member of it. 23 24 * You should run the various commands all in one shell, because some of the later steps assume that you've run the commands in some of the previous steps. You can run some things in other windows if you know what you're doing, but if you're wrong, things won't work as you expect. … … 264 265 }}} 265 266 266 Copy ingin connectivity test files:267 Copy in connectivity test files: 267 268 268 269 {{{ 269 270 for slicename in $slices ; do loginfile=~/tmp/logins-$slicename.txt ; for login in $(cat $loginfile) ; do rsync -a ~/slices/*/reachability/addrs-$slicename.conf $login:pingtest.conf && echo $login ; done & done 270 271 }}} 272 273 If your !OpenFlow controllers aren't already running, start them up before continuing. http://groups.geni.net/syseng/wiki/POX has more information about how to do this, if you want to use POX. Here are the essentials: 274 275 {{{ 276 mkdir -p ~/pox 277 278 port=33101 ; ~/bin/python ~/src/pox/pox.py py openflow.of_01 --port=${port} misc.full_payload geni_l2_learning samples.pretty_log log.level --WARNING log --*TimedRotatingFile=filename=$HOME/pox/pox-${port}.log,when=D,backupCount=2 --no-default geni_requests 279 280 from geni_requests import GENIOFRequestHandler 281 req = GENIOFRequestHandler() 282 283 req.print_dpids() 284 }}} 285 286 That will start up on listening on port 33101; you'll need to repeat that for each port, in a different window. One way that works well is to do this under 'screen' on your OF controller host. 271 287 272 288 Log in to one host in each slice, and test connectivity: