Changes between Initial Version and Version 1 of HowTo/ShareALanOnAHWSwitch

07/29/14 09:47:38 (7 years ago)



  • HowTo/ShareALanOnAHWSwitch

    v1 v1  
     1These steps should allow you to run the Hardware version of the Intro to OF tutorial [1] but with a multi-site topology.
     3You need 3 slices (called MYSLICE, MYSLICE2 and MYSLICE3 below) and 3 RSpecs.  If you run the controller outside of GENI on your own machine you only need two slices (MYSLICE2 and MYSLICE3 and 2 RSpecs.)
     5Do the steps in the following order:
     7(1) Reserve a VM and start your controller. I don't think it matters much which aggregate you pick for MYAGG. In fact, you don't need a GENI node at all as you could run the controller on your own machine.
     8        omni createsliver MYSLICE -a MYAGG --useSliceMembers
     9(2) Edit the attached max-stanford-stitched-flack.rspec to point to the controller.  The controller should be accessed via the public IP of the node from step (1). 
     10(3) Reserve a VM at Stanford connected to a VM at MAX via a stitched link.  These nodes will be "host1" & "host2":
     11        stitcher createsliver MYSLICE2 max-stanford-stitched-flack.rspec --useSliceMembers
     12(3) Use performOperationalAction (poa) to share the stitched VLAN at Stanford. (Detailed instructions are in [2].)
     13   a) Make a file called lan_options.json containing the following text:
     15"geni_sharelan_lanname": "lan0",
     16"geni_sharelan_token": "ofstitchedlan"
     19(NOTE: "lan0" should be the name of the stitched VLAN from the previous step and "ofstitchedlan" should be the name you give the shared VLAN and is used by the RSpec in step (4)):
     21   b) omni -V 3 -a stanford-ig poa MYSLICE2 geni_sharelan --optionsfile lan_options.json
     22(4) Reserve a third VM on the shared VLAN:
     23        omni createsliver MYSLICE3 host3-stanford.rspec -a stanford-ig --useSliceMembers
     25You should have a controller running at an aggregate of your choice and controlling the hardware switch connecting the three VMs (two VMs at Stanford IG and one VM at MAX IG) which are all on the same shared VLAN.
     27You should now be able to complete the exercise as described in [1].