Changes between Version 2 and Version 3 of GENIExperimenter/ExperimentExample-OF-FOAM
- Timestamp:
- 04/02/12 11:49:15 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GENIExperimenter/ExperimentExample-OF-FOAM
v2 v3 7 7 For experimenters who desire control over the network switching fabric in their slices, !OpenFlow provides increased flexibility. Your experiment will incorporate an !OpenFlow controller. Many experimenters use existing 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]. 8 8 9 The example captured in this page uses credentials from pgeni.gpolab.bbn.com, the GPO ProtoGENI Clearinghouse, to set up an experiment that includes 3 meso-scale OpenFlow sites (1 PG a nd 2 MyPLC nodes). This example shows a NOX !OpenFlow Controller running on a slice resource, and is available and isaccessible to the FOAM instances. In this scenario, two sites are Web Servers and 3 are clients, as shown in the diagram below:9 The example captured in this page uses credentials from pgeni.gpolab.bbn.com, the GPO ProtoGENI Clearinghouse, to set up an experiment that includes 3 meso-scale OpenFlow sites (1 PG at BBN and 2 MyPLC nodes at XXX and YYY). This example shows a NOX !OpenFlow Controller running on a slice resource that is available and accessible to the FOAM instances. In this scenario, two sites are Web Servers and 3 are clients, as shown in the diagram below: 10 10 11 11 [[Image(OF-Experiment-example.jpg)]] 12 12 13 Omni tools are used to reserve resources in each of the site's !FlowVisor !OpenFlow Aggregate Manager (FOAM) and GENI Aggregate Managers. All steps required to set up bothCompute and Network Resources are outlined in this page:13 Omni tools are used to reserve resources in each of the site's !FlowVisor !OpenFlow Aggregate Manager (FOAM) and GENI Aggregate Managers. All steps required to set up the Compute and Network Resources are outlined in this page: 14 14 * Configure Omni tools 15 15 * Define !OpenFlow RSpecs for sites … … 27 27 This example assumes that GENI credentials have been set up as detailed in the [wiki:HowToUseOmni#a1.GetGENICredentials GENI Credentials] section of the [wiki:HowToUseOmni Omni how-to] page. 28 28 29 The settings as defined in the [wiki:GENIExperimenter/ExperimentExample#OmniConfiguration Omni Configuration] section of the non-OF Omni how-to example will work for this OF setup. The credentials from the GPO Clearinghouse will allow access to the GPO OF aggregate manager. A list of Aggregate managers is being compiled in the [http://groups.geni.net/geni/wiki/GeniAggregate GENI Aggregate] page, if your site is not listed on this page you should contact your site administrator, or help@geni.net.29 The settings as defined in the [wiki:GENIExperimenter/ExperimentExample#OmniConfiguration Omni Configuration] section of the non-OF Omni how-to example will work for this experiment. The credentials from the GPO Clearinghouse allow access to the FOAM at each site and in the GENI Core. A list of Aggregate managers is being compiled in the [http://groups.geni.net/geni/wiki/GeniAggregate GENI Aggregate] page, if your site is not listed on this page you should contact your site administrator, or help@geni.net. 30 30 31 31 == Determine Resources == 32 32 33 An !OpenFlow RS PEC must be defined for each of the 3 site OF AM in order to get access to the OF resources. The content of the OF RSPEC depends on the type OF AM resource that you may need. You may need to define an RSPECusing any of the following:33 An !OpenFlow RSpec must be defined for each of the 3 sites to get access to the OF resources. The content of the OF RSpec depends on the type OF resources that you may need. You may need to define an RSpec using any of the following: 34 34 * IP Addresses 35 35 * MAC Address 36 36 * Data Path Identifier (DPID). 37 37 38 To find out what OF resources are available from each of the OF Aggregate Manager, you may use Omni tools to get a list of available resources. For a list of available aggregates see the [wiki:GeniAggregate GENI Aggregates] page. Here is an example of listing resources advertised by the OF Aggregate Manager for Site 1 in native RSPEC format.39 40 NOTE: This example uses Omni V1. 3 and later syntax (native is the default, and the {{{-o}}} option allows you to save the output to a file). For earlier versions of omni, you should (a) include the {{{-n}}} argument, (b) re-direct output to a file (''>'') instead of the -o option, and (c) use PG V0.2 RSpecs at Emulab and SFA format RSpecs at PlanetLab.38 To find out what OF resources are available from each of the FOAM sites, use Omni tools to get a list of available resources. For a list of available aggregates see the [wiki:GeniAggregate GENI Aggregates] page. Here is an example of listing resources advertised by each of the sites in this experiment and in the GENI Core: 39 40 NOTE: This example uses Omni V1.6.1 41 41 42 42 {{{ 43 43 $ ./src/omni.py -a https://ofam1.site1.com:1443/openflow/gapi/ -o listresources 44 INFO:omni:Loading config file omni_config 45 INFO:omni:Using control framework pgeni 46 INFO:omni:Saving output to a file. 47 INFO:omni:Listed resources on 1 out of 1 possible aggregates. 48 INFO:omni:Writing to 'rspec-ofam1-site1-com-1443.xml' 49 INFO:omni: ------------------------------------------------------------ 50 INFO:omni: Completed listresources: 51 52 Options as run: 53 aggregate: https://ofam1.site1.com:1443/openflow/gapi/ 54 configfile: omni_config 55 framework: pgeni 56 native: True 57 output: True 58 59 Args: listresources 60 61 Result Summary: Retrieved resources from 1 aggregates. 62 Wrote rspecs from 1 aggregates to 1 files. 63 INFO:omni: ============================================================ 44 <<add query for BBN FOAM, XXX FOAM, YYY FOAM, NLR FOAM and INTERNET2 FOAM>>> 45 <<<attach output from list resources>>> 64 46 }}} 65 47 … … 89 71 The above provides the switch and the port URN information to be used in making the OF flowspace reservation. The above results will give you some insight into what is available, but it is recommended that you coordinate with the site contact to ensure RSpec accuracy for each of the OF Aggregate Managers. 90 72 73 74 91 75 == Request Resources == 92 76