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: |
| 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 that include the following compute resources: |
| 10 | |
| 11 | - 1 PG compute resource at BBN running as a web server |
| 12 | - 1 MyPLC compute resource at Wisconsin running as a web client |
| 13 | - 1 MyPLC compute resource at Clemson running as a web client. |
| 14 | |
| 15 | This example also shows a NOX !OpenFlow Controller running on a slice resource that is available and accessible to the FOAM instances. |
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. |
| 35 | The following omni_config was used for this experiment along with the credentials from the GPO Clearinghouse to access the GENI Aggregate Managers in this experiment: |
| 36 | {{{ |
| 37 | [omni] |
| 38 | default_cf = pgeni |
| 39 | users = lnevers |
| 40 | |
| 41 | # ---------- Users ---------- |
| 42 | [lnevers] |
| 43 | urn = urn:publicid:IDN+pgeni.gpolab.bbn.com+user+lnevers |
| 44 | keys = ~/.ssh/id_rsa.pub |
| 45 | |
| 46 | # ---------- Frameworks ---------- |
| 47 | [pgeni] |
| 48 | type = pg |
| 49 | ch = https://www.emulab.net:443/protogeni/xmlrpc/ch |
| 50 | sa = https://www.pgeni.gpolab.bbn.com:443/protogeni/xmlrpc/sa |
| 51 | cert = ~/.ssl/pgeni/encrypted-cleartext.pem |
| 52 | key = ~/.ssl/pgeni/encrypted-cleartext.pem |
| 53 | verbose=false |
| 54 | |
| 55 | [pg] |
| 56 | type=pg |
| 57 | ch = https://www.emulab.net:443/protogeni/xmlrpc/ch |
| 58 | sa = https://www.emulab.net:443/protogeni/xmlrpc/sa |
| 59 | cert = ~/.ssl/protogeni/encrypted-cleartext.pem |
| 60 | key = ~/.ssl/protogeni/encrypted-cleartext.pem |
| 61 | }}} |
| 62 | |
| 63 | A list of Aggregate managers is 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. |
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: |
| 67 | Each of the 3 sites will requires an !OpenFlow RSpec and a compute resource RSpec. To find out what resources are available use Omni tools to get a list of available resources. For a list of available aggregates see the [wiki:GeniAggregate GENI Aggregates] page. |
| 68 | |
| 69 | To set up the 3 site experiment on this page, the following Aggregate Managers were queried with omni to get a list of available resources: |
| 70 | |
| 71 | 1. Clemson FOAM and MyPLC aggregates: |
| 72 | {{{ |
| 73 | ./src/omni.py -a https://foam.clemson.edu:3626/foam/gapi/1 listresources -o # generates output file rspec-foam-clemson-edu-3626-foam-gapi-1.xml |
| 74 | ./src/omni.py -a http://myplc.clemson.edu:12346/ listresources -o # generates rspec-myplc-clemson-edu-12346-.xml |
| 75 | }}} |
| 76 | 2. Wisconsin FOAM and MyPLC aggregates: |
| 77 | {{{ |
| 78 | ./src/omni.py -a https://foam.wail.wisc.edu:3626/foam/gapi/1 listresources -o # generates rspec-foam-wail-wisc-edu-3626-foam-gapi-1.xml |
| 79 | ./src/omni.py -a https://wings-openflow-1.wail.wisc.edu:12346/ listresources -o # rspec-wings-openflow-1-wail-wisc-edu-12346-.xml |
| 80 | }}} |
| 81 | 3. BBN FOAM and PG aggregates: |
| 82 | {{{ |
| 83 | ./src/omni.py -a http://www.pgeni.gpolab.bbn.com/protogeni/xmlrpc/am listresources -o # generates rspec-www-pgeni-gpolab-bbn-com-protogeni.xml |
| 84 | ./src/omni.py -a https://foam.gpolab.bbn.com:3626/foam/gapi/1 listresources -o # generates rspec-foam-gpolab-bbn-com-3626-foam-gapi-1.xml |
| 85 | }}} |
| 86 | |
| 87 | Note: Each of the omni command used the -o argument to get the listresources output to a file. Each of the listresources output files are attached to this page. |
| 88 | |
| 89 | |
| 90 | 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: |