Changes between Version 26 and Version 27 of GENIExperimenter/Tutorials/GENIDesktop/aag
- Timestamp:
- 05/16/16 15:15:58 (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GENIExperimenter/Tutorials/GENIDesktop/aag
v26 v27 40 40 41 41 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)]] 44 44 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. 46 46 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". 48 48 49 [[Image(initial_topology_arrows.png)]]49 [[Image(initial_topology_arrows.png)]] 50 50 51 Click ```Allocate Resources Using This RSPEC```51 Click ```Allocate Resources Using This RSPEC``` 52 52 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)]] 55 55 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)]] 59 59 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)]] 62 62 63 63 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)]] 66 66 67 1. 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. 67 69 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). 68 72 73 In the terminal of h1, ping h2. This should timeout, since there are no rules installed at the switches. 74 {{{ 75 user@h1:~$ ping h2 76 PING h2-link-4 (10.10.5.2) 56(84) bytes of data. 77 From h1-link-0 (10.10.1.1) icmp_seq=1 Destination Host Unreachable 78 From h1-link-0 (10.10.1.1) icmp_seq=2 Destination Host Unreachable 79 From h1-link-0 (10.10.1.1) icmp_seq=3 Destination Host Unreachable 80 }}} 69 81 = PAGE BREAK = 70 82