Changes between Version 3 and Version 4 of GENIEducation/ShufengCheatingSheet


Ignore:
Timestamp:
07/03/13 11:32:19 (11 years ago)
Author:
shuang@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GENIEducation/ShufengCheatingSheet

    v3 v4  
    22= Hints about using GENI Infrastructure as well as other tools in the GENI system =
    33
    4 == GIT Commands ==
     4== git Commands ==
    55{{{
    66git clone [url]
     
    1212git push origin master (upload your local copy to master (global) repository)
    1313}}}
     14
     15== OpenFlow Trema ==
     16To restart Trema controller as well as the attached switch:
     17{{{
     181. kill trema process: kill $(pidof ruby)
     192. delete lock file: rm /opt/trema...../tmp/pid/controller.pid  (controller is the name of your controller, in the case of Load Balancing, its `Load_Balancer`)
     203. unlink the switches from controller: ovs-vsctl del-controller br0
     214. start controller: /opt/trema....../trema run controller.rb (controller is the name of your controller, in the case of Load Balancing, its  load_balancer.rb)
     225. link switches to the controller: ovs-vsctl set-controller br0 tcp:127.0.0.1
     23 (might need to wait for 2 seconds for the switch to connect to the controller, to verify that, print something in the "switch_ready" function so that you can see the output when switch is connected)
     24}}}