Changes between Initial Version and Version 1 of GeniApiProtoGENI


Ignore:
Timestamp:
09/21/10 08:33:49 (14 years ago)
Author:
tmitchel@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GeniApiProtoGENI

    v1 v1  
     1[[PageOutline]]
     2= Enabling the API =
     3The Aggregate Manager API is an additional interface to a ProtoGENI site. It must be explicitly enabled after ProtoGENI is up and running.
     4
     5 1. The first step is to [http://www.protogeni.net/trac/protogeni/wiki/BecomingAProtoGENISite install ProtoGENI].
     6 1. Next, edit {{{/etc/rc.conf}}} and add an additional flag to the {{{apache_flags}}}. Find the line that looks like this:
     7{{{
     8apache_flags="-DSSL -DPGENI"
     9}}}
     10 Add the {{{-DGENI_AM}}} flag so it looks like this:
     11{{{
     12apache_flags="-DSSL -DPGENI -DGENI_AM"
     13}}}
     14 1. Restart apache:
     15{{{
     16sudo /usr/local/etc/rc.d/apache.sh restart
     17}}}
     18 1. Test it by running one of the AM test scripts
     19{{{
     20cd protogeni/test
     21am/getversion.py
     22}}}
     23 You should see the following result (or similar):
     24{{{
     25{'geni_api': 1}
     26}}}