Changes between Version 10 and Version 11 of TopdlLibrary


Ignore:
Timestamp:
Oct 5, 2012 4:42:21 PM (12 years ago)
Author:
faber
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TopdlLibrary

    v10 v11  
    175175   A list of strings giving alternative names for the object.  The list may be empty, meaning no such alternatives exist.
    176176 {{{status}}}::
    177    A string indicating the current status of the Computer (if any).  It may also be None, indicating no status is reported. Valid values are
     177   A string indicating the current status of the Substrate (if any).  It may also be None, indicating no status is reported. Valid values are
    178178     * "empty" - no allocation of resources has been attempted - generally not applied to Substrates
    179179     * "active" - Substrate is functioning as part of an experiment
     
    280280The constructor takes the member names as named parameters.
    281281
     282== Service Class ==
     283
     284A service class encapsulates the ideas of a [FeddAbout#ExperimentServices DETER federation service].  Such services can be available from or used by a variety of topology elements.  The Service class has the following members:
     285
     286 {{{name}}}::
     287  The name of the service.  A few [FeddAbout#ExperimentServices are defined].
     288 {{{importer}}}::
     289  A list of entity names that are using or requesting the service.  This list may be empty.
     290 {{{param}}}::
     291  A list of [TopdlLibrary#ServiceParamClass ServiceParam objects] that represent typed parameters to the service.  The list may be empty.
     292 {{{description}}}::
     293  A string describing the service.  This may be None.
     294 {{{status}}}::
     295  A string describing the current status of the service (if any).  It may also be None, indicating no status is reported. Valid values are
     296     * "empty" - no allocation of resources has been attempted - generally not applied to Services
     297     * "active" - Service is functioning as part of an experiment
     298     * "inactive" - Service is allocated, but not functioning
     299     * "starting" - Service is transitioning from "inactive" to "active"
     300     * "terminating" - Service is transitioning from "active" to "inactive"
     301     * "failed" - an allocation of resources has failed - generally not applied to Services
     302
     303The constructor will take the member names as named parameters.
     304
     305== !ServiceParam Class ==
     306
     307A description of the type of parameter to a [TopdlLibrary#ServiceClass Service] will accept.  It has the following members:
     308
     309 {{{name}}}::
     310   Name of the parameter, a string.
     311 {{{type}}}::
     312   A string containing the type of the parameter.  Valid types are:
     313    * string
     314    * int
     315    * float
     316
     317The constructor will take the member names as named parameters.
    282318
    283319