11 | | === Global AccessDB === |
12 | | |
13 | | The global accessDB is the simplest format of the DBs and does the simple funtion of mapping [FeddAbout#GlobalIdentifiers:Fedids fedid] to attributes. The format is a single line per fedid listing the fedid and a comma separated list of attributes. |
14 | | |
15 | | {{{ |
16 | | fedid:xxx attr[,attr] |
17 | | }}} |
18 | | |
19 | | Lines are additive, so: |
20 | | |
21 | | {{{ |
22 | | fedid:ce90957dd5b7d20f9c3890c4599313b7f1cf31ea split,allocate |
23 | | }}} |
24 | | |
25 | | and |
26 | | |
27 | | {{{ |
28 | | fedid:ce90957dd5b7d20f9c3890c4599313b7f1cf31ea allocate |
29 | | fedid:ce90957dd5b7d20f9c3890c4599313b7f1cf31ea split |
30 | | }}} |
31 | | |
32 | | are equivalent. |
33 | | |
34 | | Relevant attributes include: |
35 | | |
36 | | '''access''':: |
37 | | The right to access resources on this testbed. Without an mapping to local resources in the access component's accessDB, this attribute is useless. It is specified implicitly by inclusion in that DB. |
38 | | '''allocate''':: |
39 | | The right to allocate local resources through the internal remote interface. A `fedd` running on boss to allocate resources based on the decisions of a `fedd` running on users would grant the users `fedd` this attribute. |
40 | | '''create''':: |
41 | | The right to create an experiment on this `fedd`. Assigning this without an entry in the experiment control component's accessDB is not useful. Having the right without specifying a mapping to three-level name fill cause the creation to fail. |
42 | | '''split''':: |
43 | | The right to run the experiment splitter program on this `fedd`. Because the service at !http://users.isi.deterlab.net:23235 is open to anyone, this attribute is rarely allocated. |
44 | | |
45 | | The accessDB options in the [splitter] and [allocate] sections of the configuration file allow the databases containing the '''allocate''' and '''split''' attributes to be specified in separate DBs. When the DB is specified in the [allocate] section, only the '''allocate''' attribute is recognized, and similarly with the [splitter] section. When specified in [globals] any attribute is respected. |
46 | | |
47 | | The utility program [FeddCommands fedid.py] is useful in creating global accessDBs. |
| 28 | |
| 29 | Relevant attributes include: |
| 30 | |
| 31 | '''access''':: |
| 32 | The right to access resources on this testbed. Without an mapping to local resources in the access component's accessDB, this attribute is useless. It is specified implicitly by inclusion in that DB. |
| 33 | '''allocate''':: |
| 34 | The right to allocate local resources through the internal remote interface. A `fedd` running on boss to allocate resources based on the decisions of a `fedd` running on users would grant the users `fedd` this attribute. |
| 35 | '''create''':: |
| 36 | The right to create an experiment on this `fedd`. Assigning this without an entry in the experiment control component's accessDB is not useful. Having the right without specifying a mapping to three-level name fill cause the creation to fail. |
| 37 | '''split''':: |
| 38 | The right to run the experiment splitter program on this `fedd`. Because the service at !http://users.isi.deterlab.net:23235 is open to anyone, this attribute is rarely allocated. |
| 39 | |