-
Notifications
You must be signed in to change notification settings - Fork 8
Jacks Context
Tom Mitchell edited this page Jun 1, 2017
·
13 revisions
Follow the geni-lib installation guide for your platform.
Follow the geni-lib guide for importing a context from a bundle
Clone the jacks-context repository using git. You will need to install git if it isn't already installed.
git clone https://github.com/Jacks-GENI/jacks-context.git
The script portal.sh
runs make-portal-config
followed by jacks-context.py
.
make-portal-config
uses portal-template.json
as input, and adds information to it from two sources:
- A GENI Service Registry, typically from ch.geni.net (https://ch.geni.net:8444/SR)
- The ExoGENI Image Repository (http://geni.renci.org:15080/registry/)
This results in the file portal-config.json
. jacks-context.py
uses this file as input to produce a context file, jacks-context.json
, appropriate for the GENI portal.
A basic run of portal.sh
looks like this:
./portal.sh
The output should look like this:
$ ./portal.sh
[clemson-og] Fetched Advertisement
[gpo-og] Fetched Advertisement
[eg-rci] Fetched Advertisement
[ig-sox] Fetched Advertisement
[eg-wvn] Fetched Advertisement
[ig-nps] Fetched Advertisement
<Lots more Fetched Advertisement messages>
[pg-utah] Fetched Advertisement
[pg-wall2] Fetched Advertisement
Processing 46 advertisements
Processing complete