Changes between Version 75 and Version 76 of GENIExperimenter/ExperimentExample-OF-FOAM
- Timestamp:
- 04/20/12 09:16:24 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GENIExperimenter/ExperimentExample-OF-FOAM
v75 v76 3 3 = GENI !OpenFlow Experiment Example 2 = 4 4 5 This page illustrates an !OpenFlow (OF) example for the [wiki:HowToUseOmni Omni How-to] page. OpenFlow is used for the control of the network resources in the GENI backbone and at meso-scale campus locations. Experimenters can use GENI resources without learning !OpenFlow. Experimenters can choose to control the network switching fabric in their slices by running an !OpenFlow controller. Many experimenters use existing !OpenFlow controller code as-is, some use controllers with relatively simple modifications, and some experimenters have written their own controller. The GPO is available to help design your controller and plan your experiment configuration. Feel free to contact us at [mailto:help@geni.net].5 This page illustrates an !OpenFlow (OF) example for the [wiki:HowToUseOmni Omni How-to] page. OpenFlow is used for the control of the network resources in the GENI backbone and at Meso-scale campus locations. Experimenters can use GENI resources without learning !OpenFlow. Experimenters can choose to control the network switching fabric in their slices by running an !OpenFlow controller. Many experimenters use existing !OpenFlow controller code as-is, some use controllers with relatively simple modifications, and some experimenters have written their own controller. The GPO is available to help design your controller and plan your experiment configuration. Feel free to contact us at [mailto:help@geni.net]. 6 6 7 7 The experiment in this page uses credentials from the GPO ProtoGENI Clearinghouse (pgeni.gpolab.bbn.com) to set up a 3 Meso-scale sites !OpenFlow experiment. The sites are BBN, Wisconsin and Clemson each with a MyPLC compute resource. If you are interested in using PG resources, see the [http://groups.geni.net/geni/wiki/HelloGENI HelloGENI] experiment page for an !OpenFlow experiment using PG nodes. … … 13 13 * Determine Resources Availability 14 14 * Define Compute Resources RSpecs 15 * Define !OpenFlow Network Resources R specs15 * Define !OpenFlow Network Resources RSpecs 16 16 * Create Slice and Request Resources 17 17 * Run Experiment … … 56 56 == Reserve GENI IP subnet == 57 57 58 In the Meso-scale network a layer 3 experiment requires its own separate IP subnet in order to control all traffic without interfering with traffic from other experiments. Before you start this experiment, you need to request an IP subnet from the gpo-infra@geni.net mail list along with a duration for the subnet reservation. To view the current list of subnets and their current allocation see the [http://groups.geni.net/geni/wiki/NetworkCore/SubnetReservations GENI Network Core Subnet] page. 58 In the Meso-scale network a layer 3 experiment requires its own separate IP subnet in order to control all traffic without interfering with traffic from other experiments. Before you start this experiment, you need to request an IP subnet from the gpo-infra@geni.net mail list along with a duration for the subnet reservation. To view the current list of subnets and their current allocation see the [http://groups.geni.net/geni/wiki/NetworkCore/SubnetReservations GENI Network Core Subnet] page. 59 59 60 60 … … 62 62 63 63 Each of the 3 sites requires an !OpenFlow RSpec and a compute resource RSpec. Also, an !OpenFlow RSpec is required for the GENI Core (NLR in this example). 64 To find out what resources are available use Omni tools to get a list of available resources from the available aggregates. Following is a list of MyPLC and FOAM aggregates available in the meso-scale network:64 To find out what resources are available use Omni tools to get a list of available resources from the available aggregates. Following is a list of MyPLC and FOAM aggregates available in the Meso-scale network: 65 65 66 66 ||'''Site'''|| '''MyPLC Aggregate URL''' || ''' FOAM Aggregate URL ''' || … … 77 77 ||Wisconsin ||https://wings-openflow-1.wail.wisc.edu:12346/||https://foam.wail.wisc.edu:3626/foam/gapi/1 || 78 78 79 The experiment in this page uses the BBN, Clemson, Wisconsin and NLR Aggregates. For complete list of available aggregates see the available[http://groups.geni.net/geni/wiki/GeniAggregate GENI Aggregates] page.79 The experiment captured in this page uses the BBN, Clemson, Wisconsin and NLR Aggregates. For a complete list of available aggregates see the [http://groups.geni.net/geni/wiki/GeniAggregate GENI Aggregates] page. 80 80 81 81 == Define Compute Resources RSpecs == 82 82 83 This experiment uses Omni V1.6.1 to set up the experiment. As a first step, the experimenter determines the available compute resources at each site. Following are the omni commands issued to get the manifests for available compute resources from the BBN, Clemson and Wisconsin MyPLC aggregates: 84 85 {{{ 86 ./src/omni.py -a http://myplc.gpolab.bbn.com:12346/ listresources -o # generates rspec-myplc-gpolab-bbn-com-12346-.xml 87 ./src/omni.py -a http://myplc.clemson.edu:12346/ listresources -o # generates rspec-myplc-clemson-edu-12346-.xml 88 ./src/omni.py -a https://wings-openflow-1.wail.wisc.edu:12346/ listresources -o # generates rspec-wings-openflow-1-wail-wisc-edu-12346-.xml 89 90 }}} 91 92 Each of the omni command above used the -o argument to get the listresources output to a file, all output advertisement RSpec files are attached to this page as a reference. The advertisement RSpecs are used to generate the request RSpecs to reserve the resources. Following are the compute resources RSpec defined based on the output of the listresources commands above. 83 This experiment uses Omni V1.6.1 to set up the experiment. As a first step, the experimenter determines the available compute resources at each site. Following are the omni commands issued to get the manifests of available compute resources from the BBN, Clemson and Wisconsin MyPLC aggregates: 84 85 {{{ 86 $ ./src/omni.py -a http://myplc.gpolab.bbn.com:12346/ listresources -o # generates rspec-myplc-gpolab-bbn-com-12346-.xml 87 $ ./src/omni.py -a http://myplc.clemson.edu:12346/ listresources -o # generates rspec-myplc-clemson-edu-12346-.xml 88 $ ./src/omni.py -a https://wings-openflow-1.wail.wisc.edu:12346/ listresources -o # generates rspec-wings-openflow-1-wail-wisc-edu-12346-.xml 89 }}} 90 91 The Omni commands above used the ''-o'' argument to get the listresources output into advertisement RSpec files, which are all attached to this page as a reference. The advertisement RSpecs are used to generate the request RSpecs to reserve the resources. Following are the compute resources RSpec defined based on the output of the listresources commands above. 93 92 94 93 '''BBN MyPLC Compute Resource RSpec ''' … … 97 96 <!-- 98 97 This rspec will create a container on each of the BBN production MyPLC plnodes. 99 100 98 AM: https://myplc.gpolab.bbn.com:12346/ 101 99 --> … … 116 114 <?xml version="1.0" ?> 117 115 <!-- Resources at AM: 118 URN: unspecified_AM_URN119 116 URL: http://myplc.clemson.edu:12346/ 120 117 --> 121 118 <RSpec type="SFA"> 122 119 <network name="plc"> 123 120 <node component_id="urn:publicid:IDN+plc:cu+node+planetlab4.clemson.edu" 124 121 component_manager_id="urn:publicid:IDN+plc+authority+sa" 125 node_id="n1" site_id="urn:publicid:IDN+plc:cu+authority+sa"> 126 122 node_id="n1" site_id="urn:publicid:IDN+plc:cu+authority+sa"> 127 123 <hostname> planetlab4.clemson.edu </hostname> 128 124 </node>