Changes between Initial Version and Version 1 of GENIExperimenter/Tutorials/GENIDesktop/aag/install


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

--

Legend:

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

    v1 v1  
     1
     2
     3'''Execute Experiment:'''
     4  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.
     5
     6   2.1 '''Login to hosts'''
     7    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).
     8
     9    In the terminal of h1, ping h2. This should timeout, since there are no rules installed at the switches.
     10{{{
     11user@h1:~$ ping h2
     12PING h2-link-4 (10.10.5.2) 56(84) bytes of data.
     13From h1-link-0 (10.10.1.1) icmp_seq=1 Destination Host Unreachable
     14From h1-link-0 (10.10.1.1) icmp_seq=2 Destination Host Unreachable
     15From h1-link-0 (10.10.1.1) icmp_seq=3 Destination Host Unreachable
     16}}}
     17  2.2 '''Setup Shortest Path Flows'''
     18    Now we want to make h1 and h2 able to communicate using shortest paths. To do so, you have to load the Flow Install module from the list of modules on the left hand side of your screen.
     19
     20    [[Image(xxx.png)]]
     21
     22    The first section tells you the public IP address where the controller is running, and what controller did you choose when creating the slice.
     23
     24    The second section allows you compute shortest paths between all hosts and automatically install the corresponding flow entries at every switch in the path. We need to handle ARP processing as well in order to be able to communicate between hosts. The controller images loaded in the AAG features include ARP processing modules. Therefore, by checking the ARP processing box we will let the controller handle all ARP requests/responses. Then, click on the Initialize button.
     25
     26    The output message should be:
     27    {{{
     28ARP flow entries successfully installed.
     29Shortest paths successfully installed.
     30    }}}
     31
     32
     33    Now, if we try to ping h2 from h1 we can see that communication is successful.
     34    {{{
     35user@h1:~$ ping h2
     36PING h2-link-4 (10.10.5.2) 56(84) bytes of data.
     3764 bytes from h2-link-4 (10.10.5.2): icmp_seq=1 ttl=64 time=7.40 ms
     3864 bytes from h2-link-4 (10.10.5.2): icmp_seq=2 ttl=64 time=1.74 ms
     3964 bytes from h2-link-4 (10.10.5.2): icmp_seq=3 ttl=64 time=1.69 ms
     40    }}}
     41
     42
     43
     44
     45  2.3 '''Install Alternate Paths'''
     46    2.3.1 List Flows
     47
     48
     49      The Flow Install module allows you to list existing end-to-end flows (Refresh List button) you have added using the GENI Desktop as well as individual flow entries (possibly) installed using other tools that interact with the controller REST API.
     50
     51      Note that end-to-end flows display the path a flow follows from one host to another instead of displaying low-level details. For individual flow entries, information about the match fields is shown (e.g. ARP flows).
     52      [[Image(list_flows.png)]]
     53
     54    2.3.2 Delete a Flow
     55      With the flows listed, it is straightforward to remove an existing path. For this tutorial we will leave the communication from h1 to h2 intact (i.e. shortest path), but you will select and remove the flow that goes from h2 to h1.
     56
     57    2.3.3 Defining an Alternate Path
     58
     59Defining an Alternate Path
     60
     61
     62Using the topology view, you will select all the elements (links and nodes) across an alternate path that communicate h2 with h1. In the flow definition section, select h2 as source node and define the path as a one-way flow. Leave the information about ports blank and install the new flow.
     63
     64
     65altflow.png
     66
     67Tip: Select multiple elements by holding the CTRL key and clicking on the desired element.
     68
     69Output
     70{{{
     71End-to-End flow(s) installed successfully.
     72}}}
     73
     74    2.3.4 Testing New Path
     75
     76      With the new path installed, you should be able to ping again from h1 to h2.
     77      {{{
     78user@h1:~$ ping h2
     79PING h2-link-4 (10.10.5.2) 56(84) bytes of data.
     8064 bytes from h2-link-4 (10.10.5.2): icmp_seq=1 ttl=64 time=2.64 ms
     8164 bytes from h2-link-4 (10.10.5.2): icmp_seq=2 ttl=64 time=2.16 ms
     82      }}}
     83
     84      Notice the extra delay added to the communication because we are using a longer path.