1 | # This is an INI style configuration file for the GENI Control Framework |
---|
2 | # clearinghouse and aggregate manager |
---|
3 | |
---|
4 | # This config is used by gen-certs, gcf-am.py, gcf-ch.py, and gcf-test.py |
---|
5 | |
---|
6 | [global] |
---|
7 | # GENI uses URNs to identify experimenters and resources |
---|
8 | # The URN format is specified in the GENI AM document available at: http://www.geni.net/ |
---|
9 | # A URN is of the form: urn:publicid:IDN+<domain>+<type>+<name> |
---|
10 | # The base_name variable is where you specify the domain of your CH/AM/Users. |
---|
11 | # EG User URNs issued by your CH will be: |
---|
12 | # urn:publicid:IDN+<base_name>+user+<user name> |
---|
13 | # Similarly for slice |
---|
14 | # See below for the aggregate_manager suffix |
---|
15 | # Examples include plc//princeton, geni//gpo//gcf, and emulab.net |
---|
16 | # base_name is in publicid format. Seee XML1.0 spec. |
---|
17 | # Do not use more than one whitespace in a row. |
---|
18 | # Avoid: <>"{}|\^` |
---|
19 | |
---|
20 | base_name=geni//gpo//gcf |
---|
21 | |
---|
22 | |
---|
23 | |
---|
24 | # The directory that stores the trusted roots of your CH/AM |
---|
25 | # and those you have federated with |
---|
26 | # This can be a relative or absolute path. |
---|
27 | rootcadir=~/.gcf/trusted_roots |
---|
28 | |
---|
29 | |
---|
30 | |
---|
31 | [clearinghouse] |
---|
32 | # Address at which the Clearinghouse should listen. 0.0.0.0 means all interfaces. |
---|
33 | host=127.0.0.1 |
---|
34 | port=8000 |
---|
35 | |
---|
36 | # Path to the key/cert for the clearinghouse as generated by gen-certs |
---|
37 | keyfile=~/.gcf/ch-key.pem |
---|
38 | certfile=~/.gcf/ch-cert.pem |
---|
39 | |
---|
40 | |
---|
41 | # Listing of URN/URL pairs of aggregates affiliated with this CH |
---|
42 | # format: agg_n = urn, url |
---|
43 | # am_1 = urn:publicid:IDN+geni:gpo:gcf:am1+authority+am, http://am1.gpolab.bbn.com:8001 |
---|
44 | # am_2 = urn:publicid:IDN+geni:gpo:gcf:am2+authority+am, http://am2.gpolab.bbn.com:8001 |
---|
45 | # am_3 = urn:publicid:IDN+openflow:stanford+authority+am, http://128.89.77.103:443/openflow/gapi/ |
---|
46 | # am_n = ... |
---|
47 | |
---|
48 | # Begin with our own AM |
---|
49 | am_1 = urn:publicid:IDN+geni:gpo:gcf:am1+authority+am, http://localhost:8001 |
---|
50 | |
---|
51 | # Duration of User credentials in seconds |
---|
52 | user_cred_duration=86400 |
---|
53 | # Duration of Slice credentials in seconds |
---|
54 | slice_duration=7200 |
---|
55 | |
---|
56 | |
---|
57 | [aggregate_manager] |
---|
58 | # name is the name of your aggregate manager. It gets appended to base_name |
---|
59 | # when creating a URN for your aggregate manager |
---|
60 | # EG: urn:publicid:IDN+<base_name from above>.am1+authority+am |
---|
61 | # Resources managed by this AM be named relative to this, eg: |
---|
62 | # urn:publicid:IDN+<base_name>:am1+node+myLinuxGCFBox |
---|
63 | name=am1 |
---|
64 | |
---|
65 | # Address that the AM listens on |
---|
66 | host=127.0.0.1 |
---|
67 | port=8001 |
---|
68 | # Cert/key locations |
---|
69 | keyfile=~/.gcf/am-key.pem |
---|
70 | certfile=~/.gcf/am-cert.pem |
---|
71 | |
---|
72 | |
---|
73 | [gcf-test] |
---|
74 | # Used for testing that the CH and AM are properly running |
---|
75 | # This is the user key and cert. |
---|
76 | keyfile=~/.gcf/alice-key.pem |
---|
77 | certfile=~/.gcf/alice-cert.pem |
---|
78 | |
---|
79 | |
---|