Changes between Version 2 and Version 3 of Tutorials/m0SDN/aHelloOF


Ignore:
Timestamp:
Dec 23, 2014, 11:26:52 PM (10 years ago)
Author:
ssugrim
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Tutorials/m0SDN/aHelloOF

    v2 v3  
    11=== Hello World Open Flow ===
    22
    3 In this tutorial we'll preform a simple test of OF concepts.
     3In this tutorial we'll preform a simple test of OF concepts. We will be leveraging some existing software tools, specifically:
     4 * [http://mininet.org/ Mininet]
     5 * [http://www.projectfloodlight.org/floodlight/ floodlight]
    46
    5 ==== 1. Running the network ====
     7In this experiment Mininet will serve as the source of [https://www.opennetworking.org/about/onf-overview open flow traffic], floodlight will be the controller.
     8
     9Rather than build these tools from scratch, we will instead use two pre-made images with these tools already installed.
     10
     11----
     12''' 0. Setup '''
     13Preform the usual startup procedure:
     14 1. [[CollapsibleStart(Create resource reservation")]][[Include(Documentation/Short/CreateRes)]][[CollapsibleEnd]]
     15The user needs a set of nodes/resources from a domain to run the experiment on.For the rest of this tutorial we will assume that the the reserveation was made for sb1 domain.
     16 2.  [[CollapsibleStart(Login into reserved domain: "ssh username@sb1.orbit-lab.org")]][[Include(Documentation/Short/Login)]][[CollapsibleEnd]]
     17After you receive the confirmation email, you can access the reserved domain by ssh to the corresponding domain console.
     18 3. Load the controller on '''node1-1'''. The image name is ''OF-Tutorial-Floodlight-12-7-2014.ndz''
     19    {{{
     20omf load -t node1-1 -i OF-Tutorial-Floodlight-12-7-2014.ndz
     21    }}}
     22    '''NOTE:''' All subsequent instructions assume the controller is running on '''node1-1'''
     23 4. Load the Mininet instance on '''node1-2'''. The image name is ''OF-Tutorial-Mininet-12-7-2014.ndz''
     24    {{{
     25omf load -t node1-2 -i OF-Tutorial-Mininet-12-7-2014.ndz
     26    }}}
     27  5.Once loaded turn on both nodes:
     28    {{{
     29omf tell -a on -t all
     30    }}}
     31
     32----
     33''' 1. Running the Experiment '''
    634
    735As a two-node example, we image the nodes on Sandbox8, as explained in [#imaging Section 1.1]. One is used for the controller, and the other, the Mininet network.
     
    2351 }}}
    2452
    25  2. ''Start the controller on one node''. We arbitrarily pick node1-1. From a shell on node1-1, launch Floodlight:
     53 2. Start the controller on '''node1-1'''. From a shell on node1-1, launch Floodlight:
    2654 {{{
    2755# cd floodlight
     
    6997...
    7098 }}}
     99
     100----
     101''' 2. Next Steps '''
     102 * Use a different controller image - e.g. Open Day Light
     103 * Use a real bare metal switch and real nodes - see NEXT TUTORIAL