Changes between Version 7 and Version 8 of FeddPluginCalls


Ignore:
Timestamp:
Jun 29, 2010 10:50:14 AM (14 years ago)
Author:
faber
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FeddPluginCalls

    v7 v8  
    170170The embedding provides a way for the experiment controller to map elements from the global experiment description into a name in the plug-in's name space.  Currently this is available to the user from the [FeddCommands#fedd_ftopo.py fedd_ftopo.py] command and is used in ad hoc ways.  In a future release this information will be useful in executing remote operations from the experiment controller.
    171171
    172 == !TerminateSegment ===
     172== !TerminateSegment ==
    173173
     174This operation basically undoes the resource assignemnt and configuration accomplished by !StartSegment.  The sub-experiment resources are released and the connectivity and services terminated.  Local facility rules on cleaning the resources and restoring them to use by others apply.
     175
     176The request message looks like:
     177
     178{{{
     179request = {
     180    'allocID': { 'fedid': fedid_obj },
     181    'force': True,
     182}
     183}}}
     184
     185AllocID identifies the sub-experiment to terminate.  If {{{force}}} is True, remove resources even if they are in the middle of being allocate or if the plug-in would otherwise not do so.
     186
     187The response messgae looks like:
     188
     189{{{
     190response = {
     191    'allocID': { 'fedid': fedid_obj },
     192    'deallocationLog': 'A long string',
     193}
     194}}}
     195
     196The {{{allocID}}} tells which segment has been destroyed.  A plug-in can also send the deallocation log to the experiment controller and on to the user.  [FeddCommands#fedd_terminate.py fedd_terminate.py] provides an option to display or save these logs, if plug-ins send them.
     197
     198== !ReleaseAccess ==
     199