Changes between Version 9 and Version 10 of FeddDatabases


Ignore:
Timestamp:
Mar 29, 2012 7:43:12 PM (13 years ago)
Author:
faber
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FeddDatabases

    v9 v10  
    99The primary role of the various `fedd` accessDBs is to assign attributes to the [FeddAbout#GlobalIdentifiers:Fedids fedid]s or [FeddAbout#GlobalIdentifiers:Three-levelNames three-level name]s that a requester may assert.  Those attributes control the access to services.  A requester with the proper attribute may access the service, one without is denied.  The access component and experiment control component accessDBs assign the attributes necessary for their services implicitly in conjunction with specifying mapping information inherent to the function.  The other components' accessDBs are simple attribute assignments.
    1010
    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.
    4811
    4912=== Access Component AccessDB ===
     
    6326(testbed, project, user) -> attribute, (some, testbed, stuff)
    6427}}}
     28
     29Relevant 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
    6540
    6641