Changes between Version 13 and Version 14 of JBSsandbox/PlasticSlices


Ignore:
Timestamp:
04/21/14 14:27:10 (8 years ago)
Author:
Josh Smift
Comment:

Added information about controllers.

Legend:

Unmodified
Added
Removed
Modified
  • JBSsandbox/PlasticSlices

    v13 v14  
    2020 * Your default project in your Omni config file should be 'gpo-infra'.
    2121 * 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).
    2223 * The system where you plan to process logs should have the 'gpo' group, and you should be a member of it.
    2324 * 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.
     
    264265}}}
    265266
    266 Copying in connectivity test files:
     267Copy in connectivity test files:
    267268
    268269{{{
    269270for 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
    270271}}}
     272
     273If 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{{{
     276mkdir -p ~/pox
     277
     278port=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
     280from geni_requests import GENIOFRequestHandler
     281req = GENIOFRequestHandler()
     282
     283req.print_dpids()
     284}}}
     285
     286That 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.
    271287
    272288Log in to one host in each slice, and test connectivity: