Changes between Version 58 and Version 59 of GENIExperimenter/Tutorials/OpenFlowOVS-Floodlight/Execute


Ignore:
Timestamp:
10/25/17 13:16:24 (7 years ago)
Author:
Vic Thomas
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GENIExperimenter/Tutorials/OpenFlowOVS-Floodlight/Execute

    v58 v59  
    1616}}}
    1717[[PageOutline]]
    18 == Step 4. Execute Experiment ==
     18== Step 3. Execute Experiment ==
    1919
    2020Now that the switch is up and running we are ready to start working on the controller. For this tutorial we are going to use the [https://floodlight.atlassian.net/wiki/spaces/floodlightcontroller Floodlight Controller].
    2121
    22 === 4a. Login to your hosts ===
     22=== 3a. Login to your hosts ===
    2323
    2424To start our experiment we need to ssh into all of our hosts.
     
    2626Depending on which tool and OS you are using there is a slightly different process for logging in. If you don't know how to SSH to your reserved hosts learn [wiki:HowTo/LoginToNodes how to login.] Once you have logged in follow the rest of the instructions.
    2727
    28 === 4b. Use a Learning Switch Controller ===
     28=== 3b. Use a Learning Switch Controller ===
    2929
    3030In this example we are going to run a very simple learning switch controller to forward traffic between `host1` and `host2`.
     
    8989[[Image(GENIExperimenter/Tutorials/Graphics:4NotesIcon_512x512.png, 5%, nolink)]] If you do not see the individual flow entries in the command output, keep in mind that the flows may have timed out, so simply re-ran the traffic to re-add the flows''
    9090
    91 === 4c. Look around your OVS switch  ===
     91=== 3c. Look around your OVS switch  ===
    9292
    93931. To see messages go between your switch and your controller, open a new ssh window to your controller node and run tcpdump on the `eth1` interface and on the tcp port that your Floodight controller is listening on by default 6653.  (You can also run `tcpdump` on the `OVS` control interface if you desire.)
     
    130130
    131131
    132 === 4d. Debugging your Controller ===
     132=== 3d. Debugging your Controller ===
    133133While you are developing your controller, some useful debugging tools are:
    134134
     
    172172
    173173
    174 === 4e. Web GUI ===
     174==== iv. Web GUI ====
    175175
    176176The Floodlight Controller comes equipped with a [https://floodlight.atlassian.net/wiki/display/floodlightcontroller/Web+GUI web-based GUI]. The GUI can be accessed by pointing your favorite browser to the following URL:
     
    183183
    184184
    185 === 4f. Topology Details ===
     185=== 3e. Topology Details ===
    186186
    187187Before we insert flows into the Open vSwitch, we are going to need all the details regarding the topology such as the Data Path IDentifier (DPID) of the Open vSwitch, the MAC addresses of the hosts, and the port numbers on which the Hosts are connected to the Open vSwitch etc. These details can be found by issuing the following command in a new Controller terminal:
     
    201201
    202202
    203 === 4f. Run a traffic duplication controller ===
     203=== 3f. Run a traffic duplication controller ===
    204204
    205205In the above example we ran a very simple learning switch controller. [[BR]]
     
    245245}}} 
    246246
    247 === 4g. Run a Port Forwarding Controller ===
     247=== 3g. Run a Port Forwarding Controller ===
    248248
    249249Now let's do a slightly more complicated controller. !OpenFlow gives you the power to overwrite fields of your packets at the switch, for example the TCP source or destination port and do port forwarding. You can have clients trying to contact a server at port 5000, and the !OpenFlow switch can redirect your traffic to a service listening on port 6000.
     
    294294
    295295
    296 === 4h. Run a Server Proxy Controller ===
     296=== 3h. Run a Server Proxy Controller ===
    297297
    298298As our last exercise, instead of diverting the traffic to a different server running on the same host, we will divert the traffic to a server running on a different host and on a different port.
     
    3383386. If your controller works correctly, you should see your text appearing on the terminal window of `host3`.
    339339
    340 === 4i. Delete your bridge ===
     340=== 3i. Delete your bridge ===
    341341
    342342Before moving to the next step make sure you delete the bridge you have created, especially if you are using the same reservation for a different exercise: