Changes between Version 26 and Version 27 of GENIExperimenter/Tutorials/GENIDesktop/aag


Ignore:
Timestamp:
05/16/16 15:15:58 (5 years ago)
Author:
carpenter@vis.uky.edu
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GENIExperimenter/Tutorials/GENIDesktop/aag

    v26 v27  
    4040
    4141
    42 In this tutorial we will be using [http://www.openvswitch.org/ Open vSwitch (OVS)] nodes to represent OpenFlow Software Switches [[Image(ovs_node.png, 24px)]] and XEN VMs nodes to represent hosts [[Image(xen_node.png, 24px)]].  The general topology contains two hosts, h1 and h2 with 3 switches, s1, s2 and s3:
    43  [[Image(allocate_topo.png)]]
     42  In this tutorial we will be using [http://www.openvswitch.org/ Open vSwitch (OVS)] nodes to represent OpenFlow Software Switches [[Image(ovs_node.png, 24px)]] and XEN VMs nodes to represent hosts [[Image(xen_node.png, 24px)]].  The general topology contains two hosts, h1 and h2 with 3 switches, s1, s2 and s3:
     43  [[Image(allocate_topo.png)]]
    4444
    45 Draw this topology. Rename your nodes to match the given topology. Click node name, then type in the new name in the ```Name``` box in the left side dialog box.
     45  Draw this topology. Rename your nodes to match the given topology. Click node name, then type in the new name in the ```Name``` box in the left side dialog box.
    4646
    47 Before allocating the resources, click the ```Extra Features``` checkbox. This will show the drop down for ```Select AAG (Adopt-a-GENI) Controller```. You may choose between a "Floodlight Controller for AAG" or an "RYU Controller for AAG". For this tutorial we will be using the default option of "Floodlight Controller for AAG".
     47  Before allocating the resources, click the ```Extra Features``` checkbox. This will show the drop down for ```Select AAG (Adopt-a-GENI) Controller```. You may choose between a "Floodlight Controller for AAG" or an "RYU Controller for AAG". For this tutorial we will be using the default option of "Floodlight Controller for AAG".
    4848
    49 [[Image(initial_topology_arrows.png)]]
     49  [[Image(initial_topology_arrows.png)]]
    5050
    51 Click ```Allocate Resources Using This RSPEC```
     51  Click ```Allocate Resources Using This RSPEC```
    5252
    53 You can watch the allocation progress as the slice is allocated.
    54 [[Image(progress.png)]]
     53  You can watch the allocation progress as the slice is allocated.
     54  [[Image(progress.png)]]
    5555
    56 Once the allocation is complete the GENIDesktop will automatically load the Slice View page.
    57 Here the allocated topology will be shown. Note that two extra nodes have been automatically added to your topology. One is the AAG Contoller, ```AAGCTRL0``` and the other is the Global Node ```GDGN0```. These nodes provide the OpenFlow controller and the measuring controller respectively.
    58  [[Image(final_topo.png)]]
     56  Once the allocation is complete the GENIDesktop will automatically load the Slice View page.
     57  Here the allocated topology will be shown. Note that two extra nodes have been automatically added to your topology. One is the AAG Contoller, ```AAGCTRL0``` and the other is the Global Node ```GDGN0```. These nodes provide the OpenFlow controller and the measuring controller respectively.
     58  [[Image(final_topo.png)]]
    5959
    60 Once the resources have been allocated we must wait for the nodes to be created/booted. We can track the progress. As the nodes come up they will turn green. Any failed nodes will be red. Once all the nodes have been booted, the nodes will all return to gray.
    61 [[Image(booting.png)]]
     60  Once the resources have been allocated we must wait for the nodes to be created/booted. We can track the progress. As the nodes come up they will turn green. Any failed nodes will be red. Once all the nodes have been booted, the nodes will all return to gray.
     61  [[Image(booting.png)]]
    6262
    6363
    64 After all the resources have been allocated and booted the GENIDesktop will run an Initialization and Instrumentation process that will configure, start up and attach all the OVS nodes to the controller. It will also start the monitoring of the slice.
    65 [[Image(welcome.png)]]
     64  After all the resources have been allocated and booted the GENIDesktop will run an Initialization and Instrumentation process that will configure, start up and attach all the OVS nodes to the controller. It will also start the monitoring of the slice.
     65  [[Image(welcome.png)]]
    6666
     671. Execute Experiment
     68  After your slice is ready, you will be able to interact with your nodes. Even though your OVS nodes are now visible to the controller, their tables are empty and therefore they will not forward any packet.
    6769
     70  1.1 Login to hosts
     71    To start our experiment we need to ssh our hosts (h1 and h2), you may use any SSH client or the GENI Dekstop's SSH module to access the hosts from the browser (it will load a shell prompt per host on a separate tab).
    6872
     73    In the terminal of h1, ping h2. This should timeout, since there are no rules installed at the switches.
     74{{{
     75user@h1:~$ ping h2
     76PING h2-link-4 (10.10.5.2) 56(84) bytes of data.
     77From h1-link-0 (10.10.1.1) icmp_seq=1 Destination Host Unreachable
     78From h1-link-0 (10.10.1.1) icmp_seq=2 Destination Host Unreachable
     79From h1-link-0 (10.10.1.1) icmp_seq=3 Destination Host Unreachable
     80}}}
    6981= PAGE BREAK =
    7082