Changes between Version 5 and Version 6 of GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup


Ignore:
Timestamp:
08/13/14 10:17:38 (10 years ago)
Author:
xliu@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup

    v5 v6  
    3939=== i. Create VMs and Virtual Links ===
    4040
    41 Create four VMs from the same InstaGENI aggregate and add the links. Modify each VM's name and load the custom image by following [GENIExperimenter/Tutorials/SystematicExprCaseStudy/InstallSoftware#a4.LoadInstaGENICustomImage Load Custom Image].
     41Create four VMs from the same InstaGENI aggregate and add the links. Modify each VM's name and load the custom image by following [wiki:GENIExperimenter/Tutorials/SystematicExprCaseStudy/InstallSoftware#a4.LoadInstaGENICustomImage Load Custom Image].
    4242
    4343[[Image(GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup:4node-topo.png)]]
     
    9292In this tutorial, we configure each VM as an virtual router running `OSPF` routing protocol.  Examples of `XORP` configurations can be found at [http://www.xorp.org/getting_started.html XORPExamples]. For each VM runs as a software router, the `OSPF` configuration file is named as `ospfd.conf` and stored at `/etc/xorp/`.
    9393
    94 We first configure `OSPF` on `router-1`. The configuration file can be downloaded from [http://groups.geni.net/syseng/attachment/wiki/XuanSandbox/DesignSetup/r1-ospf.conf here].
     94We first configure `OSPF` on `router-1`. The configuration file can be downloaded from [wiki:GENIExperimenter/Tutorials/SystematicExprCaseStudy/DesignSetup/r1-ospf.conf here].
    9595
    9696There are several key information we observed by manually creating the `OSPF` configuration file for `router-1`.
     
    143143To simplify the configuration process, we assume the `interface-cost` is 10 and the `hello-interval` for every virtual interface. So the main information we need from each node is the virtual interface's `address` and its `prefix-length`, as well as the router's `router-id` that is required for the `protocol` section in the configuration file.
    144144
    145 Similarly, we manually create `ospfd.conf` under `/etc/xorp/` for the other three virtual routers (see [http://groups.geni.net/syseng/attachment/wiki/XuanSandbox/SmallTopo/DesignSetup/r2-ospf.conf `router-2`],  [http://groups.geni.net/syseng/attachment/wiki/XuanSandbox/SmallTopo/DesignSetup/r3-ospf.conf `router-3`], and  [http://groups.geni.net/syseng/attachment/wiki/XuanSandbox/SmallTopo/DesignSetup/r4-ospf.conf `router-4`]).
     145Similarly, we manually create `ospfd.conf` under `/etc/xorp/` for the other three virtual routers (see [wiki:GENIExperimenter/Tutorials/SystematicExprCaseStudy/DesignSetup/r2-ospf.conf `router-2`],  [wiki:GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup/r3-ospf.conf `router-3`], and  [wiki:GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup/r4-ospf.conf `router-4`]).
    146146
    147147
     
    263263/sbin/ifconfig | egrep 'eth|inet addr' | sudo tee -a vm_info.txt > /dev/null
    264264}}} 
    265   A sample `vm_info.txt` is available at [http://groups.geni.net/syseng/attachment/wiki/XuanSandbox/DesignSetup/vm_info.txt.example SampleVMInfo]
    266 
    267  * Create `ospfd.conf` by running an `awk` script, available from [http://groups.geni.net/syseng/attachment/wiki/XuanSandbox/SmallTopo/DesignSetup/ospfd-conf-gen.awk here]
     265  A sample `vm_info.txt` is available at [wiki:GENIExperimenter/Tutorials/SystematicExprCaseStudy/DesignSetup/vm_info.txt.example SampleVMInfo]
     266
     267 * Create `ospfd.conf` by running an `awk` script, available from [wiki:GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup/ospfd-conf-gen.awk here]
    268268{{{
    269269sudo /usr/bin/awk -f $ABS_PATH/ospfd-conf-gen.awk $vm_info_file "$timestamp" 24 | sudo tee $ABS_PATH/ospfd.conf > /dev/null
    270270}}}
    271   A sample `ospfd.conf` is available at [http://groups.geni.net/syseng/attachment/wiki/XuanSandbox/DesignSetup/ospfd.conf.example SampleOSPFConf]
     271  A sample `ospfd.conf` is available at [wiki:GENIExperimenter/Tutorials/SystematicExprCaseStudy/DesignSetup/ospfd.conf.example SampleOSPFConf]
    272272 
    273273 * Start `XORP` Process
     
    276276}}}
    277277 
    278 The complete shell script to wrap up the above procedures is available at [http://groups.geni.net/syseng/attachment/wiki/XuanSandbox/DesignSetup/start-xorp.sh StartXORP]
     278The complete shell script to wrap up the above procedures is available at [wiki:GENIExperimenter/Tutorials/SystematicExprCaseStudy/DesignSetup/start-xorp.sh StartXORP]
    279279
    280280
     
    327327Whenever we make a change to node information or link information in Flack, the user request RSpec is modified accordingly. In other words, we can rely on Flack to easily modify the request RSpec.
    328328
    329 Now let's take a look at how the steps [http://groups.geni.net/syseng/wiki/XuanSandbox/InstallSoftware#a4.LoadInstaGENICustomImage Load a Custom Image] and [http://groups.geni.net/syseng/wiki/XuanSandbox/SmallTopo/DesignSetup#e.PostbootScript Adding Install Scripts] will modify the request RSpec. For instance, before adding the custom image and install scripts, the RSpec describing `router-1` was like:
     329Now let's take a look at how the steps [wiki:GENIExperimenter/Tutorials/SystematicExprCaseStudy/InstallSoftware#a4.LoadInstaGENICustomImage Load a Custom Image] and [wiki:GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup#e.PostbootScript Adding Install Scripts] will modify the request RSpec. For instance, before adding the custom image and install scripts, the RSpec describing `router-1` was like:
    330330
    331331{{{
     
    345345}}}
    346346
    347 First, when we added the custom image (see [http://groups.geni.net/syseng/wiki/XuanSandbox/InstallSoftware#a4.LoadInstaGENICustomImage Load a Custom Image]), a new tag `<sliver>` will be added to `router-1`'s RSpec, which is
     347First, when we added the custom image (see [wiki:GENIExperimenter/Tutorials/SystematicExprCaseStudy/InstallSoftware#a4.LoadInstaGENICustomImage Load a Custom Image]), a new tag `<sliver>` will be added to `router-1`'s RSpec, which is
    348348
    349349{{{
     
    354354
    355355
    356 Secondly, when we added the install scripts (see [http://groups.geni.net/syseng/wiki/XuanSandbox/SmallTopo/DesignSetup#e.PostbootScript Adding Install Scripts]), a new tag `<service>` will be added to `router-1`'s RSpec, which is
     356Secondly, when we added the install scripts (see [wiki:GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup#e.PostbootScript Adding Install Scripts]), a new tag `<service>` will be added to `router-1`'s RSpec, which is
    357357{{{
    358358   <services>
     
    399399
    400400
    401 '''[http://groups.geni.net/syseng/wiki/XuanSandbox/SmallTopo Small Topology: Introduction]'''
    402 
    403 '''[http://groups.geni.net/syseng/wiki/XuanSandbox/SmallTopo/Execute Small Topology: Execute]'''
     401'''[wiki:GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo Small Topology: Introduction]'''
     402
     403'''[wiki:GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/Execute Small Topology: Execute]'''