Version 4 (modified by ibaldin, 8 years ago)

--

Using ORCA with GCF OMNI

Overview

ORCA does not have a clearinghouse and implements GENI AM API that make it possible to use it with ProtoGENI ClearingHouse?. You must have valid PG/Emulab credentials. While ORCA internally uses NDL-OWL as its resource representation mechanism, it accepts ProtoGENI RSpec v2-formatted XML requests and automatically converts them into a subset of NDL-OWL.

Prerequisites

  • Download and install omni
    • NOTE: these examples are written against omni v1.2
  • Acquire ProtoGENI/Emulab credentials
  • Modify omni configuration file to point to your new credentials
    [pg]
    type=pg
    verbose=false
    sa=https://www.emulab.net:443/protogeni/xmlrpc/sa
    ch=https://www.emulab.net:443/protogeni/xmlrpc/ch
    cert=/path/to/user-encrypted.pem
    key=/path/to/user-encrypted.pem
    
  • Identify the URL ORCA controller against which you will be placing requests (usually https://some.host.name:11443/orca/xmlrpc)

Operations

  • Run a test command
    $ ./src/omni.py -c omni_pg_config -f pg -a https://some.host.name:11443/orca/xmlrpc getversion
    INFO:omni:Loading config file omni_pg_config
    INFO:omni:Using control framework pg
    Enter PEM pass phrase:
    unspecified_AM_URN (https://geni-test.renci.org:11443/orca/xmlrpc) {'implementation': 'ORCA', 'geni_api': 1}
    
  • Create a ProtoGENI slice using OMNI
    $ ./src/omni.py -c omni_pg_config -f pg createslice my-slice-07-22INFO:omni:Loading config file omni_pg_config
    INFO:omni:Using control framework pg
    Enter PEM pass phrase:
    Enter PEM pass phrase:
    Enter PEM pass phrase:
    Created slice with Name ilia-slice-07-22, URN urn:publicid:IDN+emulab.net+slice+my-slice-07-22