Version 1 (modified by 14 years ago) (diff) | ,
---|
Enabling the API
The Aggregate Manager API is an additional interface to a ProtoGENI site. It must be explicitly enabled after ProtoGENI is up and running.
- The first step is to install ProtoGENI.
- Next, edit
/etc/rc.conf
and add an additional flag to theapache_flags
. Find the line that looks like this:apache_flags="-DSSL -DPGENI"
Add the-DGENI_AM
flag so it looks like this:apache_flags="-DSSL -DPGENI -DGENI_AM"
- Restart apache:
sudo /usr/local/etc/rc.d/apache.sh restart
- Test it by running one of the AM test scripts
cd protogeni/test am/getversion.py
You should see the following result (or similar):{'geni_api': 1}