add sphinx documentation
[nepi.git] / doc / sphinx / _build / html / _layout / nepi.execution.html
diff --git a/doc/sphinx/_build/html/_layout/nepi.execution.html b/doc/sphinx/_build/html/_layout/nepi.execution.html
new file mode 100644 (file)
index 0000000..75b38a0
--- /dev/null
@@ -0,0 +1,2376 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+  <head>
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+    
+    <title>nepi.execution package &mdash; NEPI 3.0 documentation</title>
+    
+    <link rel="stylesheet" href="../_static/sphinxdoc.css" type="text/css" />
+    <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
+    
+    <script type="text/javascript">
+      var DOCUMENTATION_OPTIONS = {
+        URL_ROOT:    '../',
+        VERSION:     '3.0',
+        COLLAPSE_INDEX: false,
+        FILE_SUFFIX: '.html',
+        HAS_SOURCE:  true
+      };
+    </script>
+    <script type="text/javascript" src="../_static/jquery.js"></script>
+    <script type="text/javascript" src="../_static/underscore.js"></script>
+    <script type="text/javascript" src="../_static/doctools.js"></script>
+    <link rel="top" title="NEPI 3.0 documentation" href="../index.html" /> 
+  </head>
+  <body>
+    <div class="related">
+      <h3>Navigation</h3>
+      <ul>
+        <li class="right" style="margin-right: 10px">
+          <a href="../genindex.html" title="General Index"
+             accesskey="I">index</a></li>
+        <li class="right" >
+          <a href="../py-modindex.html" title="Python Module Index"
+             >modules</a> |</li>
+        <li><a href="../index.html">NEPI 3.0 documentation</a> &raquo;</li> 
+      </ul>
+    </div>
+      <div class="sphinxsidebar">
+        <div class="sphinxsidebarwrapper">
+  <h3><a href="../index.html">Table Of Contents</a></h3>
+  <ul>
+<li><a class="reference internal" href="#">nepi.execution package</a><ul>
+<li><a class="reference internal" href="#submodules">Submodules</a></li>
+<li><a class="reference internal" href="#module-nepi.execution.attribute">nepi.execution.attribute module</a></li>
+<li><a class="reference internal" href="#module-nepi.execution.ec">nepi.execution.ec module</a></li>
+<li><a class="reference internal" href="#module-nepi.execution.resource">nepi.execution.resource module</a></li>
+<li><a class="reference internal" href="#module-nepi.execution.runner">nepi.execution.runner module</a></li>
+<li><a class="reference internal" href="#module-nepi.execution.scheduler">nepi.execution.scheduler module</a></li>
+<li><a class="reference internal" href="#module-nepi.execution.tags">nepi.execution.tags module</a></li>
+<li><a class="reference internal" href="#module-nepi.execution.trace">nepi.execution.trace module</a></li>
+<li><a class="reference internal" href="#module-nepi.execution">Module contents</a></li>
+</ul>
+</li>
+</ul>
+
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/_layout/nepi.execution.txt"
+           rel="nofollow">Show Source</a></li>
+  </ul>
+<div id="searchbox" style="display: none">
+  <h3>Quick search</h3>
+    <form class="search" action="../search.html" method="get">
+      <input type="text" name="q" />
+      <input type="submit" value="Go" />
+      <input type="hidden" name="check_keywords" value="yes" />
+      <input type="hidden" name="area" value="default" />
+    </form>
+    <p class="searchtip" style="font-size: 90%">
+    Enter search terms or a module, class or function name.
+    </p>
+</div>
+<script type="text/javascript">$('#searchbox').show(0);</script>
+        </div>
+      </div>
+
+    <div class="document">
+      <div class="documentwrapper">
+        <div class="bodywrapper">
+          <div class="body">
+            
+  <div class="section" id="nepi-execution-package">
+<h1>nepi.execution package<a class="headerlink" href="#nepi-execution-package" title="Permalink to this headline">¶</a></h1>
+<div class="section" id="submodules">
+<h2>Submodules<a class="headerlink" href="#submodules" title="Permalink to this headline">¶</a></h2>
+</div>
+<div class="section" id="module-nepi.execution.attribute">
+<span id="nepi-execution-attribute-module"></span><h2>nepi.execution.attribute module<a class="headerlink" href="#module-nepi.execution.attribute" title="Permalink to this headline">¶</a></h2>
+<dl class="class">
+<dt id="nepi.execution.attribute.Attribute">
+<em class="property">class </em><tt class="descclassname">nepi.execution.attribute.</tt><tt class="descname">Attribute</tt><big>(</big><em>name</em>, <em>help</em>, <em>type='STRING'</em>, <em>flags=None</em>, <em>default=None</em>, <em>allowed=None</em>, <em>range=None</em>, <em>set_hook=None</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/attribute.html#Attribute"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.attribute.Attribute" title="Permalink to this definition">¶</a></dt>
+<dd><p>Bases: <a class="reference external" href="http://docs.python.org/library/functions.html#object" title="(in Python v2.7)"><tt class="xref py py-class docutils literal"><span class="pre">object</span></tt></a></p>
+<p>An Attribute exposes a configuration parameter of a resource</p>
+<dl class="attribute">
+<dt id="nepi.execution.attribute.Attribute.allowed">
+<tt class="descname">allowed</tt><a class="reference internal" href="../_modules/nepi/execution/attribute.html#Attribute.allowed"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.attribute.Attribute.allowed" title="Permalink to this definition">¶</a></dt>
+<dd><p>Returns the set of allowed values for the Attribute</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="nepi.execution.attribute.Attribute.default">
+<tt class="descname">default</tt><a class="reference internal" href="../_modules/nepi/execution/attribute.html#Attribute.default"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.attribute.Attribute.default" title="Permalink to this definition">¶</a></dt>
+<dd><p>Returns the default value of the Attribute</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="nepi.execution.attribute.Attribute.flags">
+<tt class="descname">flags</tt><a class="reference internal" href="../_modules/nepi/execution/attribute.html#Attribute.flags"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.attribute.Attribute.flags" title="Permalink to this definition">¶</a></dt>
+<dd><p>Returns the flags of the Attribute</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.attribute.Attribute.get_value">
+<tt class="descname">get_value</tt><big>(</big><big>)</big><a class="reference internal" href="../_modules/nepi/execution/attribute.html#Attribute.get_value"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.attribute.Attribute.get_value" title="Permalink to this definition">¶</a></dt>
+<dd><p>Returns the value of the Attribute</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="nepi.execution.attribute.Attribute.has_changed">
+<tt class="descname">has_changed</tt><a class="reference internal" href="../_modules/nepi/execution/attribute.html#Attribute.has_changed"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.attribute.Attribute.has_changed" title="Permalink to this definition">¶</a></dt>
+<dd><p>Returns True if the value has changed from the default</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.attribute.Attribute.has_flag">
+<tt class="descname">has_flag</tt><big>(</big><em>flag</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/attribute.html#Attribute.has_flag"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.attribute.Attribute.has_flag" title="Permalink to this definition">¶</a></dt>
+<dd><p>Returns True if the Attribute has the flag &#8216;flag&#8217;</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>flag</strong> (<em>Flags</em>) &#8211; Flag to be checked</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="nepi.execution.attribute.Attribute.help">
+<tt class="descname">help</tt><a class="reference internal" href="../_modules/nepi/execution/attribute.html#Attribute.help"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.attribute.Attribute.help" title="Permalink to this definition">¶</a></dt>
+<dd><p>Returns the description of the Attribute</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.attribute.Attribute.is_valid_value">
+<tt class="descname">is_valid_value</tt><big>(</big><em>value</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/attribute.html#Attribute.is_valid_value"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.attribute.Attribute.is_valid_value" title="Permalink to this definition">¶</a></dt>
+<dd><p>Attribute subclasses will override this method to add 
+adequate validation</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="nepi.execution.attribute.Attribute.name">
+<tt class="descname">name</tt><a class="reference internal" href="../_modules/nepi/execution/attribute.html#Attribute.name"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.attribute.Attribute.name" title="Permalink to this definition">¶</a></dt>
+<dd><p>Returns the name of the Attribute</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="nepi.execution.attribute.Attribute.range">
+<tt class="descname">range</tt><a class="reference internal" href="../_modules/nepi/execution/attribute.html#Attribute.range"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.attribute.Attribute.range" title="Permalink to this definition">¶</a></dt>
+<dd><p>Returns the range of allowed numerical values for the Attribute</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.attribute.Attribute.set_value">
+<tt class="descname">set_value</tt><big>(</big><em>value</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/attribute.html#Attribute.set_value"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.attribute.Attribute.set_value" title="Permalink to this definition">¶</a></dt>
+<dd><p>Configure a new value for the Attribute</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="nepi.execution.attribute.Attribute.type">
+<tt class="descname">type</tt><a class="reference internal" href="../_modules/nepi/execution/attribute.html#Attribute.type"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.attribute.Attribute.type" title="Permalink to this definition">¶</a></dt>
+<dd><p>Returns the type of the Attribute</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="nepi.execution.attribute.Attribute.value">
+<tt class="descname">value</tt><a class="headerlink" href="#nepi.execution.attribute.Attribute.value" title="Permalink to this definition">¶</a></dt>
+<dd><p>Returns the value of the Attribute</p>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="class">
+<dt id="nepi.execution.attribute.Flags">
+<em class="property">class </em><tt class="descclassname">nepi.execution.attribute.</tt><tt class="descname">Flags</tt><a class="reference internal" href="../_modules/nepi/execution/attribute.html#Flags"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.attribute.Flags" title="Permalink to this definition">¶</a></dt>
+<dd><p>Flags to characterize the scope of an Attribute</p>
+<dl class="attribute">
+<dt id="nepi.execution.attribute.Flags.Construct">
+<tt class="descname">Construct</tt><em class="property"> = 8</em><a class="headerlink" href="#nepi.execution.attribute.Flags.Construct" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="nepi.execution.attribute.Flags.Credential">
+<tt class="descname">Credential</tt><em class="property"> = 20</em><a class="headerlink" href="#nepi.execution.attribute.Flags.Credential" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="nepi.execution.attribute.Flags.Design">
+<tt class="descname">Design</tt><em class="property"> = 4</em><a class="headerlink" href="#nepi.execution.attribute.Flags.Design" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="nepi.execution.attribute.Flags.Filter">
+<tt class="descname">Filter</tt><em class="property"> = 36</em><a class="headerlink" href="#nepi.execution.attribute.Flags.Filter" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="nepi.execution.attribute.Flags.Global">
+<tt class="descname">Global</tt><em class="property"> = 128</em><a class="headerlink" href="#nepi.execution.attribute.Flags.Global" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="nepi.execution.attribute.Flags.NoRead">
+<tt class="descname">NoRead</tt><em class="property"> = 1</em><a class="headerlink" href="#nepi.execution.attribute.Flags.NoRead" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="nepi.execution.attribute.Flags.NoWrite">
+<tt class="descname">NoWrite</tt><em class="property"> = 2</em><a class="headerlink" href="#nepi.execution.attribute.Flags.NoWrite" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="nepi.execution.attribute.Flags.Reserved">
+<tt class="descname">Reserved</tt><em class="property"> = 64</em><a class="headerlink" href="#nepi.execution.attribute.Flags.Reserved" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+</dd></dl>
+
+<dl class="class">
+<dt id="nepi.execution.attribute.Types">
+<em class="property">class </em><tt class="descclassname">nepi.execution.attribute.</tt><tt class="descname">Types</tt><a class="reference internal" href="../_modules/nepi/execution/attribute.html#Types"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.attribute.Types" title="Permalink to this definition">¶</a></dt>
+<dd><p>Allowed types for the Attribute value</p>
+<dl class="attribute">
+<dt id="nepi.execution.attribute.Types.Bool">
+<tt class="descname">Bool</tt><em class="property"> = 'BOOL'</em><a class="headerlink" href="#nepi.execution.attribute.Types.Bool" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="nepi.execution.attribute.Types.Double">
+<tt class="descname">Double</tt><em class="property"> = 'DOUBLE'</em><a class="headerlink" href="#nepi.execution.attribute.Types.Double" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="nepi.execution.attribute.Types.Enumerate">
+<tt class="descname">Enumerate</tt><em class="property"> = 'ENUM'</em><a class="headerlink" href="#nepi.execution.attribute.Types.Enumerate" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="nepi.execution.attribute.Types.Integer">
+<tt class="descname">Integer</tt><em class="property"> = 'INTEGER'</em><a class="headerlink" href="#nepi.execution.attribute.Types.Integer" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="nepi.execution.attribute.Types.String">
+<tt class="descname">String</tt><em class="property"> = 'STRING'</em><a class="headerlink" href="#nepi.execution.attribute.Types.String" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+</dd></dl>
+
+</div>
+<div class="section" id="module-nepi.execution.ec">
+<span id="nepi-execution-ec-module"></span><h2>nepi.execution.ec module<a class="headerlink" href="#module-nepi.execution.ec" title="Permalink to this headline">¶</a></h2>
+<dl class="class">
+<dt id="nepi.execution.ec.ECState">
+<em class="property">class </em><tt class="descclassname">nepi.execution.ec.</tt><tt class="descname">ECState</tt><a class="reference internal" href="../_modules/nepi/execution/ec.html#ECState"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.ec.ECState" title="Permalink to this definition">¶</a></dt>
+<dd><p>Bases: <a class="reference external" href="http://docs.python.org/library/functions.html#object" title="(in Python v2.7)"><tt class="xref py py-class docutils literal"><span class="pre">object</span></tt></a></p>
+<p>Possible states of the ExperimentController</p>
+<dl class="attribute">
+<dt id="nepi.execution.ec.ECState.FAILED">
+<tt class="descname">FAILED</tt><em class="property"> = 2</em><a class="headerlink" href="#nepi.execution.ec.ECState.FAILED" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="nepi.execution.ec.ECState.RELEASED">
+<tt class="descname">RELEASED</tt><em class="property"> = 3</em><a class="headerlink" href="#nepi.execution.ec.ECState.RELEASED" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="nepi.execution.ec.ECState.RUNNING">
+<tt class="descname">RUNNING</tt><em class="property"> = 1</em><a class="headerlink" href="#nepi.execution.ec.ECState.RUNNING" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="nepi.execution.ec.ECState.TERMINATED">
+<tt class="descname">TERMINATED</tt><em class="property"> = 4</em><a class="headerlink" href="#nepi.execution.ec.ECState.TERMINATED" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+</dd></dl>
+
+<dl class="class">
+<dt id="nepi.execution.ec.ExperimentController">
+<em class="property">class </em><tt class="descclassname">nepi.execution.ec.</tt><tt class="descname">ExperimentController</tt><big>(</big><em>exp_id=None</em>, <em>local_dir=None</em>, <em>persist=False</em>, <em>fm=None</em>, <em>add_node_callback=None</em>, <em>add_edge_callback=None</em>, <em>**kwargs</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/ec.html#ExperimentController"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.ec.ExperimentController" title="Permalink to this definition">¶</a></dt>
+<dd><p>Bases: <a class="reference external" href="http://docs.python.org/library/functions.html#object" title="(in Python v2.7)"><tt class="xref py py-class docutils literal"><span class="pre">object</span></tt></a></p>
+<p>An experiment, or scenario, is defined by a concrete set of resources,
+and the behavior, configuration and interconnection of those resources. 
+The Experiment Description (ED) is a detailed representation of a
+single experiment. It contains all the necessary information to 
+allow repeating the experiment. NEPI allows to describe
+experiments by registering components (resources), configuring them
+and interconnecting them.</p>
+<p>A same experiment (scenario) can be executed many times, generating 
+different results. We call an experiment execution (instance) a &#8216;run&#8217;.</p>
+<p>The ExperimentController (EC), is the entity responsible of
+managing an experiment run. The same scenario can be 
+recreated (and re-run) by instantiating an EC and recreating 
+the same experiment description.</p>
+<p>An experiment is represented as a graph of interconnected
+resources. A resource is a generic concept in the sense that any
+component taking part of an experiment, whether physical of
+virtual, is considered a resource. A resources could be a host, 
+a virtual machine, an application, a simulator, a IP address.</p>
+<p>A ResourceManager (RM), is the entity responsible for managing a 
+single resource. ResourceManagers are specific to a resource
+type (i.e. An RM to control a Linux application will not be
+the same as the RM used to control a ns-3 simulation).
+To support a new type of resource, a new RM must be implemented. 
+NEPI already provides a variety of RMs to control basic resources, 
+and new can be extended from the existing ones.</p>
+<p>Through the EC interface the user can create ResourceManagers (RMs),
+configure them and interconnect them, to describe an experiment.
+Describing an experiment through the EC does not run the experiment.
+Only when the &#8216;deploy()&#8217; method is invoked on the EC, the EC will take 
+actions to transform the &#8216;described&#8217; experiment into a &#8216;running&#8217; experiment.</p>
+<p>While the experiment is running, it is possible to continue to
+create/configure/connect RMs, and to deploy them to involve new
+resources in the experiment (this is known as &#8216;interactive&#8217; deployment).</p>
+<p>An experiments in NEPI is identified by a string id, 
+which is either given by the user, or automatically generated by NEPI.  
+The purpose of this identifier is to separate files and results that 
+belong to different experiment scenarios. 
+However, since a same &#8216;experiment&#8217; can be run many times, the experiment
+id is not enough to identify an experiment instance (run).
+For this reason, the ExperimentController has two identifier, the 
+exp_id, which can be re-used in different ExperimentController,
+and the run_id, which is unique to one ExperimentController instance, and
+is automatically generated by NEPI.</p>
+<dl class="attribute">
+<dt id="nepi.execution.ec.ExperimentController.abort">
+<tt class="descname">abort</tt><a class="reference internal" href="../_modules/nepi/execution/ec.html#ExperimentController.abort"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.ec.ExperimentController.abort" title="Permalink to this definition">¶</a></dt>
+<dd><p>Returns True if the experiment has failed and should be interrupted,
+False otherwise.</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.ec.ExperimentController.deploy">
+<tt class="descname">deploy</tt><big>(</big><em>guids=None</em>, <em>wait_all_ready=True</em>, <em>group=None</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/ec.html#ExperimentController.deploy"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.ec.ExperimentController.deploy" title="Permalink to this definition">¶</a></dt>
+<dd><p>Deploys all ResourceManagers in the guids list.</p>
+<p>If the argument &#8216;guids&#8217; is not given, all RMs with state NEW
+are deployed.</p>
+<blockquote>
+<div><table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">param guids:</th><td class="field-body">List of guids of RMs to deploy</td>
+</tr>
+<tr class="field-even field"><th class="field-name">type guids:</th><td class="field-body">list</td>
+</tr>
+<tr class="field-odd field"><th class="field-name" colspan="2">param wait_all_ready:</th></tr>
+<tr class="field-odd field"><td>&nbsp;</td><td class="field-body">Wait until all RMs are ready in
+order to start the RMs</td>
+</tr>
+<tr class="field-even field"><th class="field-name">type guid:</th><td class="field-body">int</td>
+</tr>
+<tr class="field-odd field"><th class="field-name">param group:</th><td class="field-body">Id of deployment group in which to deploy RMs</td>
+</tr>
+<tr class="field-even field"><th class="field-name">type group:</th><td class="field-body">int</td>
+</tr>
+</tbody>
+</table>
+</div></blockquote>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.ec.ExperimentController.discover">
+<tt class="descname">discover</tt><big>(</big><em>guid</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/ec.html#ExperimentController.discover"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.ec.ExperimentController.discover" title="Permalink to this definition">¶</a></dt>
+<dd><p>Discovers an available resource matching the criteria defined
+by the RM with guid &#8216;guid&#8217;, and associates that resource to the RM</p>
+<p>Not all RM types require (or are capable of) performing resource 
+discovery. For the RM types which are not capable of doing so, 
+invoking this method does not have any consequences.</p>
+<blockquote>
+<div><table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">param guid:</th><td class="field-body">Guid of the RM</td>
+</tr>
+<tr class="field-even field"><th class="field-name">type guid:</th><td class="field-body">int</td>
+</tr>
+</tbody>
+</table>
+</div></blockquote>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="nepi.execution.ec.ExperimentController.ecstate">
+<tt class="descname">ecstate</tt><a class="reference internal" href="../_modules/nepi/execution/ec.html#ExperimentController.ecstate"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.ec.ExperimentController.ecstate" title="Permalink to this definition">¶</a></dt>
+<dd><p>Returns the state of the Experiment Controller</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.ec.ExperimentController.enable_trace">
+<tt class="descname">enable_trace</tt><big>(</big><em>guid</em>, <em>name</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/ec.html#ExperimentController.enable_trace"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.ec.ExperimentController.enable_trace" title="Permalink to this definition">¶</a></dt>
+<dd><p>Enables a trace to be collected during the experiment run</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> (<a class="reference external" href="http://docs.python.org/library/functions.html#str" title="(in Python v2.7)"><em>str</em></a>) &#8211; Name of the trace</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="nepi.execution.ec.ExperimentController.exp_dir">
+<tt class="descname">exp_dir</tt><a class="reference internal" href="../_modules/nepi/execution/ec.html#ExperimentController.exp_dir"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.ec.ExperimentController.exp_dir" title="Permalink to this definition">¶</a></dt>
+<dd><p>Local directory to store results and other files related to the 
+experiment.</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="nepi.execution.ec.ExperimentController.exp_id">
+<tt class="descname">exp_id</tt><a class="reference internal" href="../_modules/nepi/execution/ec.html#ExperimentController.exp_id"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.ec.ExperimentController.exp_id" title="Permalink to this definition">¶</a></dt>
+<dd><p>Returns the experiment id assigned by the user</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="nepi.execution.ec.ExperimentController.failure_level">
+<tt class="descname">failure_level</tt><a class="reference internal" href="../_modules/nepi/execution/ec.html#ExperimentController.failure_level"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.ec.ExperimentController.failure_level" title="Permalink to this definition">¶</a></dt>
+<dd><p>Returns the level of FAILURE of th experiment</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.ec.ExperimentController.filter_resources">
+<tt class="descname">filter_resources</tt><big>(</big><em>rtype</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/ec.html#ExperimentController.filter_resources"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.ec.ExperimentController.filter_resources" title="Permalink to this definition">¶</a></dt>
+<dd><p>Returns the guids of all ResourceManagers of type rtype</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>rtype</strong> (<a class="reference external" href="http://docs.python.org/library/string.html#module-string" title="(in Python v2.7)"><em>string</em></a>) &#8211; Resource type</td>
+</tr>
+<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">list of guids</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="nepi.execution.ec.ExperimentController.fm">
+<tt class="descname">fm</tt><a class="reference internal" href="../_modules/nepi/execution/ec.html#ExperimentController.fm"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.ec.ExperimentController.fm" title="Permalink to this definition">¶</a></dt>
+<dd><p>Returns the failure manager</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.ec.ExperimentController.get">
+<tt class="descname">get</tt><big>(</big><em>guid</em>, <em>name</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/ec.html#ExperimentController.get"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.ec.ExperimentController.get" title="Permalink to this definition">¶</a></dt>
+<dd><p>Returns the value of the attribute with name &#8216;name&#8217; on the
+RM with guid &#8216;guid&#8217;</p>
+<blockquote>
+<div><table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">param guid:</th><td class="field-body">Guid of the RM</td>
+</tr>
+<tr class="field-even field"><th class="field-name">type guid:</th><td class="field-body">int</td>
+</tr>
+<tr class="field-odd field"><th class="field-name">param name:</th><td class="field-body">Name of the attribute</td>
+</tr>
+<tr class="field-even field"><th class="field-name">type name:</th><td class="field-body">str</td>
+</tr>
+<tr class="field-odd field"><th class="field-name">return:</th><td class="field-body">The value of the attribute with name &#8216;name&#8217;</td>
+</tr>
+</tbody>
+</table>
+</div></blockquote>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.ec.ExperimentController.get_attribute">
+<tt class="descname">get_attribute</tt><big>(</big><em>guid</em>, <em>name</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/ec.html#ExperimentController.get_attribute"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.ec.ExperimentController.get_attribute" title="Permalink to this definition">¶</a></dt>
+<dd><p>Returns the attribute &#8216;name&#8217; of the RM with guid &#8216;guid&#8217;</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
+<li><strong>guid</strong> (<a class="reference external" href="http://docs.python.org/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) &#8211; Guid of the RM</li>
+<li><strong>name</strong> (<a class="reference external" href="http://docs.python.org/library/functions.html#str" title="(in Python v2.7)"><em>str</em></a>) &#8211; Name of the attribute</li>
+</ul>
+</td>
+</tr>
+<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">The attribute with name &#8216;name&#8217;</p>
+</td>
+</tr>
+<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last">Attribute</p>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.ec.ExperimentController.get_attributes">
+<tt class="descname">get_attributes</tt><big>(</big><em>guid</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/ec.html#ExperimentController.get_attributes"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.ec.ExperimentController.get_attributes" title="Permalink to this definition">¶</a></dt>
+<dd><p>Returns all the attributes of the RM with guid &#8216;guid&#8217;</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>guid</strong> (<a class="reference external" href="http://docs.python.org/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) &#8211; Guid of the RM</td>
+</tr>
+<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">List of attributes</td>
+</tr>
+<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body">list</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.ec.ExperimentController.get_discover_time">
+<tt class="descname">get_discover_time</tt><big>(</big><em>guid</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/ec.html#ExperimentController.get_discover_time"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.ec.ExperimentController.get_discover_time" title="Permalink to this definition">¶</a></dt>
+<dd><p>Returns the discover time of the RM as a timestamp</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.ec.ExperimentController.get_failed_time">
+<tt class="descname">get_failed_time</tt><big>(</big><em>guid</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/ec.html#ExperimentController.get_failed_time"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.ec.ExperimentController.get_failed_time" title="Permalink to this definition">¶</a></dt>
+<dd><p>Returns the time failure occured for the RM as a timestamp</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.ec.ExperimentController.get_global">
+<tt class="descname">get_global</tt><big>(</big><em>rtype</em>, <em>name</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/ec.html#ExperimentController.get_global"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.ec.ExperimentController.get_global" title="Permalink to this definition">¶</a></dt>
+<dd><p>Returns the value of the global attribute with name &#8216;name&#8217; on the
+RMs of rtype &#8216;rtype&#8217;.</p>
+<blockquote>
+<div><table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">param guid:</th><td class="field-body">Guid of the RM</td>
+</tr>
+<tr class="field-even field"><th class="field-name">type guid:</th><td class="field-body">int</td>
+</tr>
+<tr class="field-odd field"><th class="field-name">param name:</th><td class="field-body">Name of the attribute</td>
+</tr>
+<tr class="field-even field"><th class="field-name">type name:</th><td class="field-body">str</td>
+</tr>
+<tr class="field-odd field"><th class="field-name">return:</th><td class="field-body">The value of the attribute with name &#8216;name&#8217;</td>
+</tr>
+</tbody>
+</table>
+</div></blockquote>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.ec.ExperimentController.get_provision_time">
+<tt class="descname">get_provision_time</tt><big>(</big><em>guid</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/ec.html#ExperimentController.get_provision_time"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.ec.ExperimentController.get_provision_time" title="Permalink to this definition">¶</a></dt>
+<dd><p>Returns the provision time of the RM as a timestamp</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.ec.ExperimentController.get_ready_time">
+<tt class="descname">get_ready_time</tt><big>(</big><em>guid</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/ec.html#ExperimentController.get_ready_time"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.ec.ExperimentController.get_ready_time" title="Permalink to this definition">¶</a></dt>
+<dd><p>Returns the deployment time of the RM as a timestamp</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.ec.ExperimentController.get_release_time">
+<tt class="descname">get_release_time</tt><big>(</big><em>guid</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/ec.html#ExperimentController.get_release_time"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.ec.ExperimentController.get_release_time" title="Permalink to this definition">¶</a></dt>
+<dd><p>Returns the release time of the RM as a timestamp</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.ec.ExperimentController.get_resource">
+<tt class="descname">get_resource</tt><big>(</big><em>guid</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/ec.html#ExperimentController.get_resource"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.ec.ExperimentController.get_resource" title="Permalink to this definition">¶</a></dt>
+<dd><p>Returns a registered ResourceManager by its guid</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>guid</strong> (<a class="reference external" href="http://docs.python.org/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) &#8211; Id of the resource</td>
+</tr>
+<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">ResourceManager</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.ec.ExperimentController.get_resources_by_type">
+<tt class="descname">get_resources_by_type</tt><big>(</big><em>rtype</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/ec.html#ExperimentController.get_resources_by_type"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.ec.ExperimentController.get_resources_by_type" title="Permalink to this definition">¶</a></dt>
+<dd><p>Returns the ResourceManager objects of type rtype</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>rtype</strong> (<a class="reference external" href="http://docs.python.org/library/string.html#module-string" title="(in Python v2.7)"><em>string</em></a>) &#8211; Resource type</td>
+</tr>
+<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">list of ResourceManagers</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.ec.ExperimentController.get_start_time">
+<tt class="descname">get_start_time</tt><big>(</big><em>guid</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/ec.html#ExperimentController.get_start_time"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.ec.ExperimentController.get_start_time" title="Permalink to this definition">¶</a></dt>
+<dd><p>Returns the start time of the RM as a timestamp</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.ec.ExperimentController.get_stop_time">
+<tt class="descname">get_stop_time</tt><big>(</big><em>guid</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/ec.html#ExperimentController.get_stop_time"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.ec.ExperimentController.get_stop_time" title="Permalink to this definition">¶</a></dt>
+<dd><p>Returns the stop time of the RM as a timestamp</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.ec.ExperimentController.get_task">
+<tt class="descname">get_task</tt><big>(</big><em>tid</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/ec.html#ExperimentController.get_task"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.ec.ExperimentController.get_task" title="Permalink to this definition">¶</a></dt>
+<dd><p>Returns a task by its id</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>tid</strong> (<a class="reference external" href="http://docs.python.org/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) &#8211; Id of the task</td>
+</tr>
+<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">Task</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.ec.ExperimentController.get_traces">
+<tt class="descname">get_traces</tt><big>(</big><em>guid</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/ec.html#ExperimentController.get_traces"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.ec.ExperimentController.get_traces" title="Permalink to this definition">¶</a></dt>
+<dd><p>Returns the list of the trace names of the RM with guid &#8216;guid&#8217;</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>guid</strong> (<a class="reference external" href="http://docs.python.org/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) &#8211; Guid of the RM</td>
+</tr>
+<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">List of trace names</td>
+</tr>
+<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body">list</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.ec.ExperimentController.inform_failure">
+<tt class="descname">inform_failure</tt><big>(</big><em>guid</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/ec.html#ExperimentController.inform_failure"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.ec.ExperimentController.inform_failure" title="Permalink to this definition">¶</a></dt>
+<dd><p>Reports a failure in a RM to the EC for evaluation</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>guid</strong> (<a class="reference external" href="http://docs.python.org/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) &#8211; Resource id</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="classmethod">
+<dt id="nepi.execution.ec.ExperimentController.load">
+<em class="property">classmethod </em><tt class="descname">load</tt><big>(</big><em>filepath</em>, <em>format='xml'</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/ec.html#ExperimentController.load"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.ec.ExperimentController.load" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="nepi.execution.ec.ExperimentController.local_dir">
+<tt class="descname">local_dir</tt><a class="reference internal" href="../_modules/nepi/execution/ec.html#ExperimentController.local_dir"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.ec.ExperimentController.local_dir" title="Permalink to this definition">¶</a></dt>
+<dd><p>Root local directory for experiment files</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="nepi.execution.ec.ExperimentController.logger">
+<tt class="descname">logger</tt><a class="reference internal" href="../_modules/nepi/execution/ec.html#ExperimentController.logger"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.ec.ExperimentController.logger" title="Permalink to this definition">¶</a></dt>
+<dd><p>Returns the logger instance of the Experiment Controller</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="nepi.execution.ec.ExperimentController.netgraph">
+<tt class="descname">netgraph</tt><a class="reference internal" href="../_modules/nepi/execution/ec.html#ExperimentController.netgraph"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.ec.ExperimentController.netgraph" title="Permalink to this definition">¶</a></dt>
+<dd><p>Return NetGraph instance if experiment description was automatically 
+generated</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="nepi.execution.ec.ExperimentController.nthreads">
+<tt class="descname">nthreads</tt><a class="reference internal" href="../_modules/nepi/execution/ec.html#ExperimentController.nthreads"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.ec.ExperimentController.nthreads" title="Permalink to this definition">¶</a></dt>
+<dd><p>Returns the number of processing nthreads used</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="nepi.execution.ec.ExperimentController.persist">
+<tt class="descname">persist</tt><a class="reference internal" href="../_modules/nepi/execution/ec.html#ExperimentController.persist"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.ec.ExperimentController.persist" title="Permalink to this definition">¶</a></dt>
+<dd><p>If True, persists the ExperimentController to XML format upon 
+experiment completion</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.ec.ExperimentController.plot">
+<tt class="descname">plot</tt><big>(</big><em>dirpath=None</em>, <em>format='figure'</em>, <em>show=False</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/ec.html#ExperimentController.plot"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.ec.ExperimentController.plot" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.ec.ExperimentController.provision">
+<tt class="descname">provision</tt><big>(</big><em>guid</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/ec.html#ExperimentController.provision"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.ec.ExperimentController.provision" title="Permalink to this definition">¶</a></dt>
+<dd><p>Provisions the resource associated to the RM with guid &#8216;guid&#8217;.</p>
+<p>Provisioning means making a resource &#8216;accessible&#8217; to the user. 
+Not all RM types require (or are capable of) performing resource 
+provisioning. For the RM types which are not capable of doing so, 
+invoking this method does not have any consequences.</p>
+<blockquote>
+<div><table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">param guid:</th><td class="field-body">Guid of the RM</td>
+</tr>
+<tr class="field-even field"><th class="field-name">type guid:</th><td class="field-body">int</td>
+</tr>
+</tbody>
+</table>
+</div></blockquote>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.ec.ExperimentController.register_condition">
+<tt class="descname">register_condition</tt><big>(</big><em>guids1</em>, <em>action</em>, <em>guids2</em>, <em>state</em>, <em>time=None</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/ec.html#ExperimentController.register_condition"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.ec.ExperimentController.register_condition" title="Permalink to this definition">¶</a></dt>
+<dd><p>Registers an action START, STOP or DEPLOY for all RM on list
+guids1 to occur at time &#8216;time&#8217; after all elements in list guids2 
+have reached state &#8216;state&#8217;.</p>
+<blockquote>
+<div><table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">param guids1:</th><td class="field-body">List of guids of RMs subjected to action</td>
+</tr>
+<tr class="field-even field"><th class="field-name">type guids1:</th><td class="field-body">list</td>
+</tr>
+<tr class="field-odd field"><th class="field-name">param action:</th><td class="field-body">Action to perform (either START, STOP or DEPLOY)</td>
+</tr>
+<tr class="field-even field"><th class="field-name">type action:</th><td class="field-body">ResourceAction</td>
+</tr>
+<tr class="field-odd field"><th class="field-name">param guids2:</th><td class="field-body">List of guids of RMs to we waited for</td>
+</tr>
+<tr class="field-even field"><th class="field-name">type guids2:</th><td class="field-body">list</td>
+</tr>
+<tr class="field-odd field"><th class="field-name">param state:</th><td class="field-body">State to wait for on RMs of list guids2 (STARTED,
+STOPPED, etc)</td>
+</tr>
+<tr class="field-even field"><th class="field-name">type state:</th><td class="field-body">ResourceState</td>
+</tr>
+<tr class="field-odd field"><th class="field-name">param time:</th><td class="field-body">Time to wait after guids2 has reached status</td>
+</tr>
+<tr class="field-even field"><th class="field-name">type time:</th><td class="field-body">string</td>
+</tr>
+</tbody>
+</table>
+</div></blockquote>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.ec.ExperimentController.register_connection">
+<tt class="descname">register_connection</tt><big>(</big><em>guid1</em>, <em>guid2</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/ec.html#ExperimentController.register_connection"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.ec.ExperimentController.register_connection" title="Permalink to this definition">¶</a></dt>
+<dd><p>Registers a connection between a RM with guid &#8216;guid1&#8217;
+and another RM with guid &#8216;guid2&#8217;.</p>
+<p>The order of the in which the two guids are provided is not
+important, since the connection relationship is symmetric.</p>
+<blockquote>
+<div><table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">param guid1:</th><td class="field-body">First guid to connect</td>
+</tr>
+<tr class="field-even field"><th class="field-name">type guid1:</th><td class="field-body">ResourceManager</td>
+</tr>
+<tr class="field-odd field"><th class="field-name">param guid2:</th><td class="field-body">Second guid to connect</td>
+</tr>
+<tr class="field-even field"><th class="field-name">type guid:</th><td class="field-body">ResourceManager</td>
+</tr>
+</tbody>
+</table>
+</div></blockquote>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.ec.ExperimentController.register_resource">
+<tt class="descname">register_resource</tt><big>(</big><em>rtype</em>, <em>guid=None</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/ec.html#ExperimentController.register_resource"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.ec.ExperimentController.register_resource" title="Permalink to this definition">¶</a></dt>
+<dd><p>Registers a new ResourceManager of type &#8216;rtype&#8217; in the experiment</p>
+<p>This method will assign a new &#8216;guid&#8217; for the RM, if no guid
+is specified.</p>
+<blockquote>
+<div><table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">param rtype:</th><td class="field-body">Type of the RM</td>
+</tr>
+<tr class="field-even field"><th class="field-name">type rtype:</th><td class="field-body">str</td>
+</tr>
+<tr class="field-odd field"><th class="field-name">return:</th><td class="field-body">Guid of the RM</td>
+</tr>
+<tr class="field-even field"><th class="field-name">rtype:</th><td class="field-body">int</td>
+</tr>
+</tbody>
+</table>
+</div></blockquote>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.ec.ExperimentController.release">
+<tt class="descname">release</tt><big>(</big><em>guids=None</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/ec.html#ExperimentController.release"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.ec.ExperimentController.release" title="Permalink to this definition">¶</a></dt>
+<dd><p>Releases all ResourceManagers in the guids list.</p>
+<p>If the argument &#8216;guids&#8217; is not given, all RMs registered
+in the experiment are released.</p>
+<blockquote>
+<div><table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">param guids:</th><td class="field-body">List of RM guids</td>
+</tr>
+<tr class="field-even field"><th class="field-name">type guids:</th><td class="field-body">list</td>
+</tr>
+</tbody>
+</table>
+</div></blockquote>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.ec.ExperimentController.remove_resource">
+<tt class="descname">remove_resource</tt><big>(</big><em>guid</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/ec.html#ExperimentController.remove_resource"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.ec.ExperimentController.remove_resource" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="nepi.execution.ec.ExperimentController.resources">
+<tt class="descname">resources</tt><a class="reference internal" href="../_modules/nepi/execution/ec.html#ExperimentController.resources"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.ec.ExperimentController.resources" title="Permalink to this definition">¶</a></dt>
+<dd><p>Returns the guids of all ResourceManagers</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">Set of all RM guids</td>
+</tr>
+<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">list</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="nepi.execution.ec.ExperimentController.run_dir">
+<tt class="descname">run_dir</tt><a class="reference internal" href="../_modules/nepi/execution/ec.html#ExperimentController.run_dir"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.ec.ExperimentController.run_dir" title="Permalink to this definition">¶</a></dt>
+<dd><p>Local directory to store results and other files related to the 
+experiment run.</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="nepi.execution.ec.ExperimentController.run_id">
+<tt class="descname">run_id</tt><a class="reference internal" href="../_modules/nepi/execution/ec.html#ExperimentController.run_id"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.ec.ExperimentController.run_id" title="Permalink to this definition">¶</a></dt>
+<dd><p>Returns the experiment instance (run) identifier (automatically 
+generated)</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.ec.ExperimentController.save">
+<tt class="descname">save</tt><big>(</big><em>dirpath=None</em>, <em>format='xml'</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/ec.html#ExperimentController.save"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.ec.ExperimentController.save" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.ec.ExperimentController.schedule">
+<tt class="descname">schedule</tt><big>(</big><em>date</em>, <em>callback</em>, <em>track=False</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/ec.html#ExperimentController.schedule"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.ec.ExperimentController.schedule" title="Permalink to this definition">¶</a></dt>
+<dd><p>Schedules a callback to be executed at time &#8216;date&#8217;.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>date</strong> &#8211; string containing execution time for the task.
+It can be expressed as an absolute time, using
+timestamp format, or as a relative time matching
+^d+.d+(h|m|s|ms|us)$</li>
+<li><strong>callback</strong> &#8211; code to be executed for the task. Must be a
+Python function, and receives args and kwargs
+as arguments.</li>
+<li><strong>track</strong> &#8211; if set to True, the task will be retrievable with
+the get_task() method</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+<p>:return : The Id of the task
+:rtype: int</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.ec.ExperimentController.serialize">
+<tt class="descname">serialize</tt><big>(</big><em>format='xml'</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/ec.html#ExperimentController.serialize"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.ec.ExperimentController.serialize" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.ec.ExperimentController.set">
+<tt class="descname">set</tt><big>(</big><em>guid</em>, <em>name</em>, <em>value</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/ec.html#ExperimentController.set"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.ec.ExperimentController.set" title="Permalink to this definition">¶</a></dt>
+<dd><p>Modifies the value of the attribute with name &#8216;name&#8217; on the 
+RM with guid &#8216;guid&#8217;.</p>
+<blockquote>
+<div><table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">param guid:</th><td class="field-body">Guid of the RM</td>
+</tr>
+<tr class="field-even field"><th class="field-name">type guid:</th><td class="field-body">int</td>
+</tr>
+<tr class="field-odd field"><th class="field-name">param name:</th><td class="field-body">Name of the attribute</td>
+</tr>
+<tr class="field-even field"><th class="field-name">type name:</th><td class="field-body">str</td>
+</tr>
+<tr class="field-odd field"><th class="field-name">param value:</th><td class="field-body">Value of the attribute</td>
+</tr>
+</tbody>
+</table>
+</div></blockquote>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.ec.ExperimentController.set_global">
+<tt class="descname">set_global</tt><big>(</big><em>rtype</em>, <em>name</em>, <em>value</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/ec.html#ExperimentController.set_global"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.ec.ExperimentController.set_global" title="Permalink to this definition">¶</a></dt>
+<dd><p>Modifies the value of the global attribute with name &#8216;name&#8217; on the 
+RMs of with rtype &#8216;rtype&#8217;.</p>
+<blockquote>
+<div><table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">param guid:</th><td class="field-body">Guid of the RM</td>
+</tr>
+<tr class="field-even field"><th class="field-name">type guid:</th><td class="field-body">int</td>
+</tr>
+<tr class="field-odd field"><th class="field-name">param name:</th><td class="field-body">Name of the attribute</td>
+</tr>
+<tr class="field-even field"><th class="field-name">type name:</th><td class="field-body">str</td>
+</tr>
+<tr class="field-odd field"><th class="field-name">param value:</th><td class="field-body">Value of the attribute</td>
+</tr>
+</tbody>
+</table>
+</div></blockquote>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.ec.ExperimentController.set_with_conditions">
+<tt class="descname">set_with_conditions</tt><big>(</big><em>name</em>, <em>value</em>, <em>guids1</em>, <em>guids2</em>, <em>state</em>, <em>time=None</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/ec.html#ExperimentController.set_with_conditions"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.ec.ExperimentController.set_with_conditions" title="Permalink to this definition">¶</a></dt>
+<dd><p>Modifies the value of attribute with name &#8216;name&#8217; on all RMs 
+on the guids1 list when time &#8216;time&#8217; has elapsed since all 
+elements in guids2 list have reached state &#8216;state&#8217;.</p>
+<blockquote>
+<div><table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">param name:</th><td class="field-body">Name of attribute to set in RM</td>
+</tr>
+<tr class="field-even field"><th class="field-name">type name:</th><td class="field-body">string</td>
+</tr>
+<tr class="field-odd field"><th class="field-name">param value:</th><td class="field-body">Value of attribute to set in RM</td>
+</tr>
+<tr class="field-even field"><th class="field-name">type name:</th><td class="field-body">string</td>
+</tr>
+<tr class="field-odd field"><th class="field-name">param guids1:</th><td class="field-body">List of guids of RMs subjected to action</td>
+</tr>
+<tr class="field-even field"><th class="field-name">type guids1:</th><td class="field-body">list</td>
+</tr>
+<tr class="field-odd field"><th class="field-name">param action:</th><td class="field-body">Action to register (either START or STOP)</td>
+</tr>
+<tr class="field-even field"><th class="field-name">type action:</th><td class="field-body">ResourceAction</td>
+</tr>
+<tr class="field-odd field"><th class="field-name">param guids2:</th><td class="field-body">List of guids of RMs to we waited for</td>
+</tr>
+<tr class="field-even field"><th class="field-name">type guids2:</th><td class="field-body">list</td>
+</tr>
+<tr class="field-odd field"><th class="field-name">param state:</th><td class="field-body">State to wait for on RMs (STARTED, STOPPED, etc)</td>
+</tr>
+<tr class="field-even field"><th class="field-name">type state:</th><td class="field-body">ResourceState</td>
+</tr>
+<tr class="field-odd field"><th class="field-name">param time:</th><td class="field-body">Time to wait after guids2 has reached status</td>
+</tr>
+<tr class="field-even field"><th class="field-name">type time:</th><td class="field-body">string</td>
+</tr>
+</tbody>
+</table>
+</div></blockquote>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.ec.ExperimentController.shutdown">
+<tt class="descname">shutdown</tt><big>(</big><big>)</big><a class="reference internal" href="../_modules/nepi/execution/ec.html#ExperimentController.shutdown"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.ec.ExperimentController.shutdown" title="Permalink to this definition">¶</a></dt>
+<dd><p>Releases all resources and stops the ExperimentController</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.ec.ExperimentController.start">
+<tt class="descname">start</tt><big>(</big><em>guid</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/ec.html#ExperimentController.start"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.ec.ExperimentController.start" title="Permalink to this definition">¶</a></dt>
+<dd><p>Starts the RM with guid &#8216;guid&#8217;</p>
+<p>Starting a RM means that the resource it controls will
+begin taking part of the experiment.</p>
+<blockquote>
+<div><table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">param guid:</th><td class="field-body">Guid of the RM</td>
+</tr>
+<tr class="field-even field"><th class="field-name">type guid:</th><td class="field-body">int</td>
+</tr>
+</tbody>
+</table>
+</div></blockquote>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.ec.ExperimentController.state">
+<tt class="descname">state</tt><big>(</big><em>guid</em>, <em>hr=False</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/ec.html#ExperimentController.state"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.ec.ExperimentController.state" title="Permalink to this definition">¶</a></dt>
+<dd><p>Returns the state of a resource</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>guid</strong> (<em>integer</em>) &#8211; Resource guid</li>
+<li><strong>hr</strong> (<em>boolean</em>) &#8211; Human readable. Forces return of a 
+status string instead of a number</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.ec.ExperimentController.stop">
+<tt class="descname">stop</tt><big>(</big><em>guid</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/ec.html#ExperimentController.stop"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.ec.ExperimentController.stop" title="Permalink to this definition">¶</a></dt>
+<dd><p>Stops the RM with guid &#8216;guid&#8217;</p>
+<p>Stopping a RM means that the resource it controls will
+no longer take part of the experiment.</p>
+<blockquote>
+<div><table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">param guid:</th><td class="field-body">Guid of the RM</td>
+</tr>
+<tr class="field-even field"><th class="field-name">type guid:</th><td class="field-body">int</td>
+</tr>
+</tbody>
+</table>
+</div></blockquote>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.ec.ExperimentController.trace">
+<tt class="descname">trace</tt><big>(</big><em>guid</em>, <em>name</em>, <em>attr='all'</em>, <em>block=512</em>, <em>offset=0</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/ec.html#ExperimentController.trace"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.ec.ExperimentController.trace" title="Permalink to this definition">¶</a></dt>
+<dd><p>Returns information on a collected trace, the trace stream or 
+blocks (chunks) of the trace stream</p>
+<blockquote>
+<div><table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">param name:</th><td class="field-body"><p class="first">Name of the trace</p>
+</td>
+</tr>
+<tr class="field-even field"><th class="field-name">type name:</th><td class="field-body"><p class="first">str</p>
+</td>
+</tr>
+<tr class="field-odd field"><th class="field-name">param attr:</th><td class="field-body"><p class="first">Can be one of:
+- TraceAttr.ALL (complete trace content), 
+- TraceAttr.STREAM (block in bytes to read starting</p>
+<blockquote>
+<div><p>at offset),</p>
+</div></blockquote>
+<ul class="simple">
+<li>TraceAttr.PATH (full path to the trace file),</li>
+<li>TraceAttr.SIZE (size of trace file).</li>
+</ul>
+</td>
+</tr>
+<tr class="field-even field"><th class="field-name">type attr:</th><td class="field-body"><p class="first">str</p>
+</td>
+</tr>
+<tr class="field-odd field"><th class="field-name">param block:</th><td class="field-body"><p class="first">Number of bytes to retrieve from trace, when attr is 
+TraceAttr.STREAM</p>
+</td>
+</tr>
+<tr class="field-even field"><th class="field-name">type name:</th><td class="field-body"><p class="first">int</p>
+</td>
+</tr>
+<tr class="field-odd field"><th class="field-name">param offset:</th><td class="field-body"><p class="first">Number of &#8216;blocks&#8217; to skip, when attr is TraceAttr.STREAM</p>
+</td>
+</tr>
+<tr class="field-even field"><th class="field-name">type name:</th><td class="field-body"><p class="first">int</p>
+</td>
+</tr>
+<tr class="field-odd field"><th class="field-name">rtype:</th><td class="field-body"><p class="first last">str</p>
+</td>
+</tr>
+</tbody>
+</table>
+</div></blockquote>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.ec.ExperimentController.trace_enabled">
+<tt class="descname">trace_enabled</tt><big>(</big><em>guid</em>, <em>name</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/ec.html#ExperimentController.trace_enabled"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.ec.ExperimentController.trace_enabled" title="Permalink to this definition">¶</a></dt>
+<dd><p>Returns True if the trace of name &#8216;name&#8217; is enabled</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> (<a class="reference external" href="http://docs.python.org/library/functions.html#str" title="(in Python v2.7)"><em>str</em></a>) &#8211; Name of the trace</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.ec.ExperimentController.wait">
+<tt class="descname">wait</tt><big>(</big><em>guids</em>, <em>state</em>, <em>quit</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/ec.html#ExperimentController.wait"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.ec.ExperimentController.wait" title="Permalink to this definition">¶</a></dt>
+<dd><p>Blocking method that waits until all RMs in the &#8216;guids&#8217; list 
+have reached a state &gt;= &#8216;state&#8217;, or until the &#8216;quit&#8217; callback
+yields True</p>
+<blockquote>
+<div><table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">param guids:</th><td class="field-body">List of guids</td>
+</tr>
+<tr class="field-even field"><th class="field-name">type guids:</th><td class="field-body">list</td>
+</tr>
+</tbody>
+</table>
+</div></blockquote>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.ec.ExperimentController.wait_deployed">
+<tt class="descname">wait_deployed</tt><big>(</big><em>guids</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/ec.html#ExperimentController.wait_deployed"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.ec.ExperimentController.wait_deployed" title="Permalink to this definition">¶</a></dt>
+<dd><p>Blocking method that waits until all RMs in the &#8216;guids&#8217; list 
+have reached a state &gt;= READY, or until a failure in the 
+experiment occurs (i.e. abort == True)</p>
+<blockquote>
+<div><table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">param guids:</th><td class="field-body">List of guids</td>
+</tr>
+<tr class="field-even field"><th class="field-name">type guids:</th><td class="field-body">list</td>
+</tr>
+</tbody>
+</table>
+</div></blockquote>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.ec.ExperimentController.wait_finished">
+<tt class="descname">wait_finished</tt><big>(</big><em>guids</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/ec.html#ExperimentController.wait_finished"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.ec.ExperimentController.wait_finished" title="Permalink to this definition">¶</a></dt>
+<dd><p>Blocking method that waits until all RMs in the &#8216;guids&#8217; list 
+have reached a state &gt;= STOPPED (i.e. STOPPED, FAILED or 
+RELEASED ), or until a failure in the experiment occurs 
+(i.e. abort == True)</p>
+<blockquote>
+<div><table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">param guids:</th><td class="field-body">List of guids</td>
+</tr>
+<tr class="field-even field"><th class="field-name">type guids:</th><td class="field-body">list</td>
+</tr>
+</tbody>
+</table>
+</div></blockquote>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.ec.ExperimentController.wait_released">
+<tt class="descname">wait_released</tt><big>(</big><em>guids</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/ec.html#ExperimentController.wait_released"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.ec.ExperimentController.wait_released" title="Permalink to this definition">¶</a></dt>
+<dd><p>Blocking method that waits until all RMs in the &#8216;guids&#8217; list 
+have reached a state == RELEASED, or until the EC fails</p>
+<blockquote>
+<div><table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">param guids:</th><td class="field-body">List of guids</td>
+</tr>
+<tr class="field-even field"><th class="field-name">type guids:</th><td class="field-body">list</td>
+</tr>
+</tbody>
+</table>
+</div></blockquote>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.ec.ExperimentController.wait_started">
+<tt class="descname">wait_started</tt><big>(</big><em>guids</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/ec.html#ExperimentController.wait_started"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.ec.ExperimentController.wait_started" title="Permalink to this definition">¶</a></dt>
+<dd><p>Blocking method that waits until all RMs in the &#8216;guids&#8217; list 
+have reached a state &gt;= STARTED, or until a failure in the 
+experiment occurs (i.e. abort == True)</p>
+<blockquote>
+<div><table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">param guids:</th><td class="field-body">List of guids</td>
+</tr>
+<tr class="field-even field"><th class="field-name">type guids:</th><td class="field-body">list</td>
+</tr>
+</tbody>
+</table>
+</div></blockquote>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="class">
+<dt id="nepi.execution.ec.FailureLevel">
+<em class="property">class </em><tt class="descclassname">nepi.execution.ec.</tt><tt class="descname">FailureLevel</tt><a class="reference internal" href="../_modules/nepi/execution/ec.html#FailureLevel"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.ec.FailureLevel" title="Permalink to this definition">¶</a></dt>
+<dd><p>Bases: <a class="reference external" href="http://docs.python.org/library/functions.html#object" title="(in Python v2.7)"><tt class="xref py py-class docutils literal"><span class="pre">object</span></tt></a></p>
+<p>Possible failure states for the experiment</p>
+<dl class="attribute">
+<dt id="nepi.execution.ec.FailureLevel.EC_FAILURE">
+<tt class="descname">EC_FAILURE</tt><em class="property"> = 3</em><a class="headerlink" href="#nepi.execution.ec.FailureLevel.EC_FAILURE" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="nepi.execution.ec.FailureLevel.OK">
+<tt class="descname">OK</tt><em class="property"> = 1</em><a class="headerlink" href="#nepi.execution.ec.FailureLevel.OK" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="nepi.execution.ec.FailureLevel.RM_FAILURE">
+<tt class="descname">RM_FAILURE</tt><em class="property"> = 2</em><a class="headerlink" href="#nepi.execution.ec.FailureLevel.RM_FAILURE" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+</dd></dl>
+
+<dl class="class">
+<dt id="nepi.execution.ec.FailureManager">
+<em class="property">class </em><tt class="descclassname">nepi.execution.ec.</tt><tt class="descname">FailureManager</tt><a class="reference internal" href="../_modules/nepi/execution/ec.html#FailureManager"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.ec.FailureManager" title="Permalink to this definition">¶</a></dt>
+<dd><p>Bases: <a class="reference external" href="http://docs.python.org/library/functions.html#object" title="(in Python v2.7)"><tt class="xref py py-class docutils literal"><span class="pre">object</span></tt></a></p>
+<p>The FailureManager is responsible for handling errors
+and deciding whether an experiment should be aborted or not</p>
+<dl class="attribute">
+<dt id="nepi.execution.ec.FailureManager.abort">
+<tt class="descname">abort</tt><a class="reference internal" href="../_modules/nepi/execution/ec.html#FailureManager.abort"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.ec.FailureManager.abort" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="nepi.execution.ec.FailureManager.ec">
+<tt class="descname">ec</tt><a class="reference internal" href="../_modules/nepi/execution/ec.html#FailureManager.ec"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.ec.FailureManager.ec" title="Permalink to this definition">¶</a></dt>
+<dd><p>Returns the ExperimentController associated to this FailureManager</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.ec.FailureManager.eval_failure">
+<tt class="descname">eval_failure</tt><big>(</big><em>guid</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/ec.html#FailureManager.eval_failure"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.ec.FailureManager.eval_failure" title="Permalink to this definition">¶</a></dt>
+<dd><p>Implements failure policy and sets the abort state of the
+experiment based on the failure state and criticality of
+the RM</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>guid</strong> (<a class="reference external" href="http://docs.python.org/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) &#8211; Guid of the RM upon which the failure of the experiment
+is evaluated</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.ec.FailureManager.set_ec">
+<tt class="descname">set_ec</tt><big>(</big><em>ec</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/ec.html#FailureManager.set_ec"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.ec.FailureManager.set_ec" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.ec.FailureManager.set_ec_failure">
+<tt class="descname">set_ec_failure</tt><big>(</big><big>)</big><a class="reference internal" href="../_modules/nepi/execution/ec.html#FailureManager.set_ec_failure"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.ec.FailureManager.set_ec_failure" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+</dd></dl>
+
+</div>
+<div class="section" id="module-nepi.execution.resource">
+<span id="nepi-execution-resource-module"></span><h2>nepi.execution.resource module<a class="headerlink" href="#module-nepi.execution.resource" title="Permalink to this headline">¶</a></h2>
+<dl class="class">
+<dt id="nepi.execution.resource.ResourceAction">
+<em class="property">class </em><tt class="descclassname">nepi.execution.resource.</tt><tt class="descname">ResourceAction</tt><a class="reference internal" href="../_modules/nepi/execution/resource.html#ResourceAction"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.ResourceAction" title="Permalink to this definition">¶</a></dt>
+<dd><p>Action that a user can order to a Resource Manager</p>
+<dl class="attribute">
+<dt id="nepi.execution.resource.ResourceAction.DEPLOY">
+<tt class="descname">DEPLOY</tt><em class="property"> = 0</em><a class="headerlink" href="#nepi.execution.resource.ResourceAction.DEPLOY" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="nepi.execution.resource.ResourceAction.START">
+<tt class="descname">START</tt><em class="property"> = 1</em><a class="headerlink" href="#nepi.execution.resource.ResourceAction.START" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="nepi.execution.resource.ResourceAction.STOP">
+<tt class="descname">STOP</tt><em class="property"> = 2</em><a class="headerlink" href="#nepi.execution.resource.ResourceAction.STOP" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+</dd></dl>
+
+<dl class="class">
+<dt id="nepi.execution.resource.ResourceFactory">
+<em class="property">class </em><tt class="descclassname">nepi.execution.resource.</tt><tt class="descname">ResourceFactory</tt><a class="reference internal" href="../_modules/nepi/execution/resource.html#ResourceFactory"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.ResourceFactory" title="Permalink to this definition">¶</a></dt>
+<dd><p>Bases: <a class="reference external" href="http://docs.python.org/library/functions.html#object" title="(in Python v2.7)"><tt class="xref py py-class docutils literal"><span class="pre">object</span></tt></a></p>
+<dl class="classmethod">
+<dt id="nepi.execution.resource.ResourceFactory.create">
+<em class="property">classmethod </em><tt class="descname">create</tt><big>(</big><em>rtype</em>, <em>ec</em>, <em>guid</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/resource.html#ResourceFactory.create"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.ResourceFactory.create" title="Permalink to this definition">¶</a></dt>
+<dd><p>Create a new instance of a Ressource Manager</p>
+</dd></dl>
+
+<dl class="classmethod">
+<dt id="nepi.execution.resource.ResourceFactory.get_resource_type">
+<em class="property">classmethod </em><tt class="descname">get_resource_type</tt><big>(</big><em>rtype</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/resource.html#ResourceFactory.get_resource_type"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.ResourceFactory.get_resource_type" title="Permalink to this definition">¶</a></dt>
+<dd><p>Return the type of the Class</p>
+</dd></dl>
+
+<dl class="classmethod">
+<dt id="nepi.execution.resource.ResourceFactory.register_type">
+<em class="property">classmethod </em><tt class="descname">register_type</tt><big>(</big><em>rclass</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/resource.html#ResourceFactory.register_type"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.ResourceFactory.register_type" title="Permalink to this definition">¶</a></dt>
+<dd><p>Register a new Ressource Manager</p>
+</dd></dl>
+
+<dl class="classmethod">
+<dt id="nepi.execution.resource.ResourceFactory.resource_types">
+<em class="property">classmethod </em><tt class="descname">resource_types</tt><big>(</big><big>)</big><a class="reference internal" href="../_modules/nepi/execution/resource.html#ResourceFactory.resource_types"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.ResourceFactory.resource_types" title="Permalink to this definition">¶</a></dt>
+<dd><p>Return the type of the Class</p>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="class">
+<dt id="nepi.execution.resource.ResourceManager">
+<em class="property">class </em><tt class="descclassname">nepi.execution.resource.</tt><tt class="descname">ResourceManager</tt><big>(</big><em>ec</em>, <em>guid</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/resource.html#ResourceManager"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.ResourceManager" title="Permalink to this definition">¶</a></dt>
+<dd><p>Bases: <a class="reference internal" href="nepi.util.html#nepi.util.logger.Logger" title="nepi.util.logger.Logger"><tt class="xref py py-class docutils literal"><span class="pre">nepi.util.logger.Logger</span></tt></a></p>
+<p>Base clase for all ResourceManagers.</p>
+<p>A ResourceManger is specific to a resource type (e.g. Node, 
+Switch, Application, etc) on a specific platform (e.g. PlanetLab, 
+OMF, etc).</p>
+<p>The ResourceManager instances are responsible for interacting with
+and controlling concrete (physical or virtual) resources in the 
+experimental platforms.</p>
+<dl class="attribute">
+<dt id="nepi.execution.resource.ResourceManager.conditions">
+<tt class="descname">conditions</tt><a class="reference internal" href="../_modules/nepi/execution/resource.html#ResourceManager.conditions"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.ResourceManager.conditions" title="Permalink to this definition">¶</a></dt>
+<dd><p>Returns the conditions to which the RM is subjected to.</p>
+<p>This method returns a dictionary of conditions lists indexed by
+a ResourceAction.</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.resource.ResourceManager.configure">
+<tt class="descname">configure</tt><big>(</big><em>*args</em>, <em>**kwargs</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/resource.html#ResourceManager.configure"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.ResourceManager.configure" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="nepi.execution.resource.ResourceManager.connections">
+<tt class="descname">connections</tt><a class="reference internal" href="../_modules/nepi/execution/resource.html#ResourceManager.connections"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.ResourceManager.connections" title="Permalink to this definition">¶</a></dt>
+<dd><p>Returns the set of guids of connected RMs</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.resource.ResourceManager.deploy">
+<tt class="descname">deploy</tt><big>(</big><em>*args</em>, <em>**kwargs</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/resource.html#ResourceManager.deploy"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.ResourceManager.deploy" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.resource.ResourceManager.deploy_with_conditions">
+<tt class="descname">deploy_with_conditions</tt><big>(</big><big>)</big><a class="reference internal" href="../_modules/nepi/execution/resource.html#ResourceManager.deploy_with_conditions"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.ResourceManager.deploy_with_conditions" title="Permalink to this definition">¶</a></dt>
+<dd><p>Deploy RM when all the conditions in self.conditions for
+action &#8216;READY&#8217; are satisfied.</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.resource.ResourceManager.discover">
+<tt class="descname">discover</tt><big>(</big><em>*args</em>, <em>**kwargs</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/resource.html#ResourceManager.discover"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.ResourceManager.discover" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="nepi.execution.resource.ResourceManager.discover_time">
+<tt class="descname">discover_time</tt><a class="reference internal" href="../_modules/nepi/execution/resource.html#ResourceManager.discover_time"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.ResourceManager.discover_time" title="Permalink to this definition">¶</a></dt>
+<dd><p>Returns the discover time of the RM as a timestamp</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.resource.ResourceManager.do_configure">
+<tt class="descname">do_configure</tt><big>(</big><big>)</big><a class="reference internal" href="../_modules/nepi/execution/resource.html#ResourceManager.do_configure"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.ResourceManager.do_configure" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.resource.ResourceManager.do_connect">
+<tt class="descname">do_connect</tt><big>(</big><em>guid</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/resource.html#ResourceManager.do_connect"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.ResourceManager.do_connect" title="Permalink to this definition">¶</a></dt>
+<dd><p>Performs actions that need to be taken upon associating RMs.
+This method should be redefined when necessary in child classes.</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.resource.ResourceManager.do_deploy">
+<tt class="descname">do_deploy</tt><big>(</big><big>)</big><a class="reference internal" href="../_modules/nepi/execution/resource.html#ResourceManager.do_deploy"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.ResourceManager.do_deploy" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.resource.ResourceManager.do_disconnect">
+<tt class="descname">do_disconnect</tt><big>(</big><em>guid</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/resource.html#ResourceManager.do_disconnect"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.ResourceManager.do_disconnect" title="Permalink to this definition">¶</a></dt>
+<dd><p>Performs actions that need to be taken upon disassociating RMs.
+This method should be redefined when necessary in child classes.</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.resource.ResourceManager.do_discover">
+<tt class="descname">do_discover</tt><big>(</big><big>)</big><a class="reference internal" href="../_modules/nepi/execution/resource.html#ResourceManager.do_discover"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.ResourceManager.do_discover" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.resource.ResourceManager.do_fail">
+<tt class="descname">do_fail</tt><big>(</big><big>)</big><a class="reference internal" href="../_modules/nepi/execution/resource.html#ResourceManager.do_fail"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.ResourceManager.do_fail" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.resource.ResourceManager.do_provision">
+<tt class="descname">do_provision</tt><big>(</big><big>)</big><a class="reference internal" href="../_modules/nepi/execution/resource.html#ResourceManager.do_provision"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.ResourceManager.do_provision" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.resource.ResourceManager.do_release">
+<tt class="descname">do_release</tt><big>(</big><big>)</big><a class="reference internal" href="../_modules/nepi/execution/resource.html#ResourceManager.do_release"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.ResourceManager.do_release" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.resource.ResourceManager.do_reserve">
+<tt class="descname">do_reserve</tt><big>(</big><big>)</big><a class="reference internal" href="../_modules/nepi/execution/resource.html#ResourceManager.do_reserve"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.ResourceManager.do_reserve" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.resource.ResourceManager.do_start">
+<tt class="descname">do_start</tt><big>(</big><big>)</big><a class="reference internal" href="../_modules/nepi/execution/resource.html#ResourceManager.do_start"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.ResourceManager.do_start" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.resource.ResourceManager.do_stop">
+<tt class="descname">do_stop</tt><big>(</big><big>)</big><a class="reference internal" href="../_modules/nepi/execution/resource.html#ResourceManager.do_stop"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.ResourceManager.do_stop" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="nepi.execution.resource.ResourceManager.ec">
+<tt class="descname">ec</tt><a class="reference internal" href="../_modules/nepi/execution/resource.html#ResourceManager.ec"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.ResourceManager.ec" title="Permalink to this definition">¶</a></dt>
+<dd><p>Returns the Experiment Controller of the RM</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.resource.ResourceManager.enable_trace">
+<tt class="descname">enable_trace</tt><big>(</big><em>name</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/resource.html#ResourceManager.enable_trace"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.ResourceManager.enable_trace" title="Permalink to this definition">¶</a></dt>
+<dd><p>Explicitly enable trace generation</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> (<a class="reference external" href="http://docs.python.org/library/functions.html#str" title="(in Python v2.7)"><em>str</em></a>) &#8211; Name of the trace</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.resource.ResourceManager.fail">
+<tt class="descname">fail</tt><big>(</big><big>)</big><a class="reference internal" href="../_modules/nepi/execution/resource.html#ResourceManager.fail"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.ResourceManager.fail" title="Permalink to this definition">¶</a></dt>
+<dd><p>Sets the RM to state FAILED.</p>
+<p>This method should not be overridden directly. Specific functionality
+should be added in the do_fail method.</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="nepi.execution.resource.ResourceManager.failed_time">
+<tt class="descname">failed_time</tt><a class="reference internal" href="../_modules/nepi/execution/resource.html#ResourceManager.failed_time"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.ResourceManager.failed_time" title="Permalink to this definition">¶</a></dt>
+<dd><p>Returns the time failure occurred for the RM as a timestamp</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.resource.ResourceManager.get">
+<tt class="descname">get</tt><big>(</big><em>name</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/resource.html#ResourceManager.get"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.ResourceManager.get" title="Permalink to this definition">¶</a></dt>
+<dd><p>Returns the value of the attribute</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> (<a class="reference external" href="http://docs.python.org/library/functions.html#str" title="(in Python v2.7)"><em>str</em></a>) &#8211; Name of the attribute</td>
+</tr>
+<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">str</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="classmethod">
+<dt id="nepi.execution.resource.ResourceManager.get_attribute">
+<em class="property">classmethod </em><tt class="descname">get_attribute</tt><big>(</big><em>name</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/resource.html#ResourceManager.get_attribute"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.ResourceManager.get_attribute" title="Permalink to this definition">¶</a></dt>
+<dd><p>Returns a copy of the attribute with name &#8216;name&#8217;</p>
+</dd></dl>
+
+<dl class="classmethod">
+<dt id="nepi.execution.resource.ResourceManager.get_attributes">
+<em class="property">classmethod </em><tt class="descname">get_attributes</tt><big>(</big><big>)</big><a class="reference internal" href="../_modules/nepi/execution/resource.html#ResourceManager.get_attributes"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.ResourceManager.get_attributes" title="Permalink to this definition">¶</a></dt>
+<dd><p>Returns a copy of the attributes</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.resource.ResourceManager.get_connected">
+<tt class="descname">get_connected</tt><big>(</big><em>rtype=None</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/resource.html#ResourceManager.get_connected"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.ResourceManager.get_connected" title="Permalink to this definition">¶</a></dt>
+<dd><p>Returns the list of RM with the type &#8216;rtype&#8217;</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>rtype</strong> (<a class="reference external" href="http://docs.python.org/library/functions.html#str" title="(in Python v2.7)"><em>str</em></a>) &#8211; Type of the RM we look for</td>
+</tr>
+<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">list of guid</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="classmethod">
+<dt id="nepi.execution.resource.ResourceManager.get_global">
+<em class="property">classmethod </em><tt class="descname">get_global</tt><big>(</big><em>name</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/resource.html#ResourceManager.get_global"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.ResourceManager.get_global" title="Permalink to this definition">¶</a></dt>
+<dd><dl class="docutils">
+<dt>Returns the value of a global attribute</dt>
+<dd>Global attribute meaning an attribute for 
+all the resources from a rtype</dd>
+</dl>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> (<a class="reference external" href="http://docs.python.org/library/functions.html#str" title="(in Python v2.7)"><em>str</em></a>) &#8211; Name of the attribute</td>
+</tr>
+<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">str</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="classmethod">
+<dt id="nepi.execution.resource.ResourceManager.get_help">
+<em class="property">classmethod </em><tt class="descname">get_help</tt><big>(</big><big>)</big><a class="reference internal" href="../_modules/nepi/execution/resource.html#ResourceManager.get_help"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.ResourceManager.get_help" title="Permalink to this definition">¶</a></dt>
+<dd><p>Returns the description of the type of Resource</p>
+</dd></dl>
+
+<dl class="classmethod">
+<dt id="nepi.execution.resource.ResourceManager.get_platform">
+<em class="property">classmethod </em><tt class="descname">get_platform</tt><big>(</big><big>)</big><a class="reference internal" href="../_modules/nepi/execution/resource.html#ResourceManager.get_platform"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.ResourceManager.get_platform" title="Permalink to this definition">¶</a></dt>
+<dd><p>Returns the identified of the platform (i.e. testbed type)
+for the Resource</p>
+</dd></dl>
+
+<dl class="classmethod">
+<dt id="nepi.execution.resource.ResourceManager.get_rtype">
+<em class="property">classmethod </em><tt class="descname">get_rtype</tt><big>(</big><big>)</big><a class="reference internal" href="../_modules/nepi/execution/resource.html#ResourceManager.get_rtype"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.ResourceManager.get_rtype" title="Permalink to this definition">¶</a></dt>
+<dd><p>Returns the type of the Resource Manager</p>
+</dd></dl>
+
+<dl class="classmethod">
+<dt id="nepi.execution.resource.ResourceManager.get_traces">
+<em class="property">classmethod </em><tt class="descname">get_traces</tt><big>(</big><big>)</big><a class="reference internal" href="../_modules/nepi/execution/resource.html#ResourceManager.get_traces"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.ResourceManager.get_traces" title="Permalink to this definition">¶</a></dt>
+<dd><p>Returns a copy of the traces</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="nepi.execution.resource.ResourceManager.guid">
+<tt class="descname">guid</tt><a class="reference internal" href="../_modules/nepi/execution/resource.html#ResourceManager.guid"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.ResourceManager.guid" title="Permalink to this definition">¶</a></dt>
+<dd><p>Returns the global unique identifier of the RM</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.resource.ResourceManager.has_attribute">
+<tt class="descname">has_attribute</tt><big>(</big><em>name</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/resource.html#ResourceManager.has_attribute"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.ResourceManager.has_attribute" title="Permalink to this definition">¶</a></dt>
+<dd><p>Returns true if the RM has an attribute with name</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> (<a class="reference external" href="http://docs.python.org/library/string.html#module-string" title="(in Python v2.7)"><em>string</em></a>) &#8211; name of the attribute</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.resource.ResourceManager.has_changed">
+<tt class="descname">has_changed</tt><big>(</big><em>name</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/resource.html#ResourceManager.has_changed"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.ResourceManager.has_changed" title="Permalink to this definition">¶</a></dt>
+<dd><dl class="docutils">
+<dt>Returns the True is the value of the attribute</dt>
+<dd>has been modified by the user.</dd>
+</dl>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> (<a class="reference external" href="http://docs.python.org/library/functions.html#str" title="(in Python v2.7)"><em>str</em></a>) &#8211; Name of the attribute</td>
+</tr>
+<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">str</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.resource.ResourceManager.has_flag">
+<tt class="descname">has_flag</tt><big>(</big><em>name</em>, <em>flag</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/resource.html#ResourceManager.has_flag"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.ResourceManager.has_flag" title="Permalink to this definition">¶</a></dt>
+<dd><p>Returns true if the attribute has the flag &#8216;flag&#8217;</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>flag</strong> (<em>Flags</em>) &#8211; Flag to be checked</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.resource.ResourceManager.is_rm_instance">
+<tt class="descname">is_rm_instance</tt><big>(</big><em>rtype</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/resource.html#ResourceManager.is_rm_instance"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.ResourceManager.is_rm_instance" title="Permalink to this definition">¶</a></dt>
+<dd><p>Returns True if the RM is instance of &#8216;rtype&#8217;</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>rtype</strong> (<a class="reference external" href="http://docs.python.org/library/functions.html#str" title="(in Python v2.7)"><em>str</em></a>) &#8211; Type of the RM we look for</td>
+</tr>
+<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">True|False</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.resource.ResourceManager.log_message">
+<tt class="descname">log_message</tt><big>(</big><em>msg</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/resource.html#ResourceManager.log_message"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.ResourceManager.log_message" title="Permalink to this definition">¶</a></dt>
+<dd><p>Returns the log message formatted with added information.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>msg</strong> (<a class="reference external" href="http://docs.python.org/library/functions.html#str" title="(in Python v2.7)"><em>str</em></a>) &#8211; text message</td>
+</tr>
+<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">str</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.resource.ResourceManager.provision">
+<tt class="descname">provision</tt><big>(</big><em>*args</em>, <em>**kwargs</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/resource.html#ResourceManager.provision"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.ResourceManager.provision" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="nepi.execution.resource.ResourceManager.provision_time">
+<tt class="descname">provision_time</tt><a class="reference internal" href="../_modules/nepi/execution/resource.html#ResourceManager.provision_time"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.ResourceManager.provision_time" title="Permalink to this definition">¶</a></dt>
+<dd><p>Returns the provision time of the RM as a timestamp</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="nepi.execution.resource.ResourceManager.ready_time">
+<tt class="descname">ready_time</tt><a class="reference internal" href="../_modules/nepi/execution/resource.html#ResourceManager.ready_time"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.ResourceManager.ready_time" title="Permalink to this definition">¶</a></dt>
+<dd><p>Returns the deployment time of the RM as a timestamp</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.resource.ResourceManager.register_condition">
+<tt class="descname">register_condition</tt><big>(</big><em>action</em>, <em>group</em>, <em>state</em>, <em>time=None</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/resource.html#ResourceManager.register_condition"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.ResourceManager.register_condition" title="Permalink to this definition">¶</a></dt>
+<dd><p>Registers a condition on the resource manager to allow execution 
+of &#8216;action&#8217; only after &#8216;time&#8217; has elapsed from the moment all resources 
+in &#8216;group&#8217; reached state &#8216;state&#8217;</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>action</strong> (<a class="reference external" href="http://docs.python.org/library/functions.html#str" title="(in Python v2.7)"><em>str</em></a>) &#8211; Action to restrict to condition (either &#8216;START&#8217; or &#8216;STOP&#8217;)</li>
+<li><strong>group</strong> (<em>int or list of int</em>) &#8211; Group of RMs to wait for (list of guids)</li>
+<li><strong>state</strong> (<a class="reference external" href="http://docs.python.org/library/functions.html#str" title="(in Python v2.7)"><em>str</em></a>) &#8211; State to wait for on all RM in group. (either &#8216;STARTED&#8217;, &#8216;STOPPED&#8217; or &#8216;READY&#8217;)</li>
+<li><strong>time</strong> (<a class="reference external" href="http://docs.python.org/library/functions.html#str" title="(in Python v2.7)"><em>str</em></a>) &#8211; Time to wait after &#8216;state&#8217; is reached on all RMs in group. (e.g. &#8216;2s&#8217;)</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.resource.ResourceManager.register_connection">
+<tt class="descname">register_connection</tt><big>(</big><em>guid</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/resource.html#ResourceManager.register_connection"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.ResourceManager.register_connection" title="Permalink to this definition">¶</a></dt>
+<dd><p>Registers a connection to the RM identified by guid</p>
+<p>This method should not be overridden. Specific functionality
+should be added in the do_connect method.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>guid</strong> (<a class="reference external" href="http://docs.python.org/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) &#8211; Global unique identified of the RM to connect to</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.resource.ResourceManager.release">
+<tt class="descname">release</tt><big>(</big><big>)</big><a class="reference internal" href="../_modules/nepi/execution/resource.html#ResourceManager.release"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.ResourceManager.release" title="Permalink to this definition">¶</a></dt>
+<dd><p>Perform actions to free resources used by the RM.</p>
+<p>This  method is responsible for releasing resources that were
+used during the experiment by the RM.</p>
+<p>This method should not be overridden directly. Specific functionality
+should be added in the do_release method.</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="nepi.execution.resource.ResourceManager.release_time">
+<tt class="descname">release_time</tt><a class="reference internal" href="../_modules/nepi/execution/resource.html#ResourceManager.release_time"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.ResourceManager.release_time" title="Permalink to this definition">¶</a></dt>
+<dd><p>Returns the release time of the RM as a timestamp</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="nepi.execution.resource.ResourceManager.reschedule_delay">
+<tt class="descname">reschedule_delay</tt><a class="reference internal" href="../_modules/nepi/execution/resource.html#ResourceManager.reschedule_delay"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.ResourceManager.reschedule_delay" title="Permalink to this definition">¶</a></dt>
+<dd><p>Returns default reschedule delay</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.resource.ResourceManager.reserve">
+<tt class="descname">reserve</tt><big>(</big><em>*args</em>, <em>**kwargs</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/resource.html#ResourceManager.reserve"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.ResourceManager.reserve" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="nepi.execution.resource.ResourceManager.reserved_time">
+<tt class="descname">reserved_time</tt><a class="reference internal" href="../_modules/nepi/execution/resource.html#ResourceManager.reserved_time"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.ResourceManager.reserved_time" title="Permalink to this definition">¶</a></dt>
+<dd><p>Returns the reserved time of the RM as a timestamp</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.resource.ResourceManager.set">
+<tt class="descname">set</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/resource.html#ResourceManager.set"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.ResourceManager.set" title="Permalink to this definition">¶</a></dt>
+<dd><p>Set the value of the attribute</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> (<a class="reference external" href="http://docs.python.org/library/functions.html#str" title="(in Python v2.7)"><em>str</em></a>) &#8211; Name of the attribute</li>
+<li><strong>name</strong> &#8211; Value of the attribute</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.resource.ResourceManager.set_discovered">
+<tt class="descname">set_discovered</tt><big>(</big><em>time=None</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/resource.html#ResourceManager.set_discovered"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.ResourceManager.set_discovered" title="Permalink to this definition">¶</a></dt>
+<dd><p>Mark ResourceManager as DISCOVERED</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.resource.ResourceManager.set_failed">
+<tt class="descname">set_failed</tt><big>(</big><em>time=None</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/resource.html#ResourceManager.set_failed"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.ResourceManager.set_failed" title="Permalink to this definition">¶</a></dt>
+<dd><p>Mark ResourceManager as FAILED</p>
+</dd></dl>
+
+<dl class="classmethod">
+<dt id="nepi.execution.resource.ResourceManager.set_global">
+<em class="property">classmethod </em><tt class="descname">set_global</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/resource.html#ResourceManager.set_global"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.ResourceManager.set_global" title="Permalink to this definition">¶</a></dt>
+<dd><p>Set value for a global attribute</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> (<a class="reference external" href="http://docs.python.org/library/functions.html#str" title="(in Python v2.7)"><em>str</em></a>) &#8211; Name of the attribute</li>
+<li><strong>name</strong> &#8211; Value of the attribute</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.resource.ResourceManager.set_provisioned">
+<tt class="descname">set_provisioned</tt><big>(</big><em>time=None</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/resource.html#ResourceManager.set_provisioned"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.ResourceManager.set_provisioned" title="Permalink to this definition">¶</a></dt>
+<dd><p>Mark ResourceManager as PROVISIONED</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.resource.ResourceManager.set_ready">
+<tt class="descname">set_ready</tt><big>(</big><em>time=None</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/resource.html#ResourceManager.set_ready"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.ResourceManager.set_ready" title="Permalink to this definition">¶</a></dt>
+<dd><p>Mark ResourceManager as READY</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.resource.ResourceManager.set_released">
+<tt class="descname">set_released</tt><big>(</big><em>time=None</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/resource.html#ResourceManager.set_released"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.ResourceManager.set_released" title="Permalink to this definition">¶</a></dt>
+<dd><p>Mark ResourceManager as REALEASED</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.resource.ResourceManager.set_reserved">
+<tt class="descname">set_reserved</tt><big>(</big><em>time=None</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/resource.html#ResourceManager.set_reserved"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.ResourceManager.set_reserved" title="Permalink to this definition">¶</a></dt>
+<dd><p>Mark ResourceManager as RESERVED</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.resource.ResourceManager.set_started">
+<tt class="descname">set_started</tt><big>(</big><em>time=None</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/resource.html#ResourceManager.set_started"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.ResourceManager.set_started" title="Permalink to this definition">¶</a></dt>
+<dd><p>Mark ResourceManager as STARTED</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.resource.ResourceManager.set_state">
+<tt class="descname">set_state</tt><big>(</big><em>state</em>, <em>state_time_attr</em>, <em>time=None</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/resource.html#ResourceManager.set_state"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.ResourceManager.set_state" title="Permalink to this definition">¶</a></dt>
+<dd><p>Set the state of the RM while keeping a trace of the time</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.resource.ResourceManager.set_state_time">
+<tt class="descname">set_state_time</tt><big>(</big><em>state</em>, <em>state_time_attr</em>, <em>time</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/resource.html#ResourceManager.set_state_time"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.ResourceManager.set_state_time" title="Permalink to this definition">¶</a></dt>
+<dd><p>Set the time for the RM state change</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.resource.ResourceManager.set_stopped">
+<tt class="descname">set_stopped</tt><big>(</big><em>time=None</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/resource.html#ResourceManager.set_stopped"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.ResourceManager.set_stopped" title="Permalink to this definition">¶</a></dt>
+<dd><p>Mark ResourceManager as STOPPED</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.resource.ResourceManager.set_with_conditions">
+<tt class="descname">set_with_conditions</tt><big>(</big><em>name</em>, <em>value</em>, <em>group</em>, <em>state</em>, <em>time</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/resource.html#ResourceManager.set_with_conditions"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.ResourceManager.set_with_conditions" title="Permalink to this definition">¶</a></dt>
+<dd><p>Set value &#8216;value&#8217; on attribute with name &#8216;name&#8217; when &#8216;time&#8217; 
+has elapsed since all elements in &#8216;group&#8217; have reached state
+&#8216;state&#8217;</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> (<a class="reference external" href="http://docs.python.org/library/functions.html#str" title="(in Python v2.7)"><em>str</em></a>) &#8211; Name of the attribute to set</li>
+<li><strong>name</strong> &#8211; Value of the attribute to set</li>
+<li><strong>group</strong> (<em>int or list of int</em>) &#8211; Group of RMs to wait for (list of guids)</li>
+<li><strong>state</strong> (<a class="reference external" href="http://docs.python.org/library/functions.html#str" title="(in Python v2.7)"><em>str</em></a>) &#8211; State to wait for on all RM in group. (either &#8216;STARTED&#8217;, &#8216;STOPPED&#8217; or &#8216;READY&#8217;)</li>
+<li><strong>time</strong> (<a class="reference external" href="http://docs.python.org/library/functions.html#str" title="(in Python v2.7)"><em>str</em></a>) &#8211; Time to wait after &#8216;state&#8217; is reached on all RMs in group. (e.g. &#8216;2s&#8217;)</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.resource.ResourceManager.start">
+<tt class="descname">start</tt><big>(</big><em>*args</em>, <em>**kwargs</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/resource.html#ResourceManager.start"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.ResourceManager.start" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="nepi.execution.resource.ResourceManager.start_time">
+<tt class="descname">start_time</tt><a class="reference internal" href="../_modules/nepi/execution/resource.html#ResourceManager.start_time"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.ResourceManager.start_time" title="Permalink to this definition">¶</a></dt>
+<dd><p>Returns the start time of the RM as a timestamp</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.resource.ResourceManager.start_with_conditions">
+<tt class="descname">start_with_conditions</tt><big>(</big><big>)</big><a class="reference internal" href="../_modules/nepi/execution/resource.html#ResourceManager.start_with_conditions"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.ResourceManager.start_with_conditions" title="Permalink to this definition">¶</a></dt>
+<dd><p>Starts RM when all the conditions in self.conditions for
+action &#8216;START&#8217; are satisfied.</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="nepi.execution.resource.ResourceManager.state">
+<tt class="descname">state</tt><a class="reference internal" href="../_modules/nepi/execution/resource.html#ResourceManager.state"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.ResourceManager.state" title="Permalink to this definition">¶</a></dt>
+<dd><p>Get the current state of the RM</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.resource.ResourceManager.stop">
+<tt class="descname">stop</tt><big>(</big><em>*args</em>, <em>**kwargs</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/resource.html#ResourceManager.stop"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.ResourceManager.stop" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="nepi.execution.resource.ResourceManager.stop_time">
+<tt class="descname">stop_time</tt><a class="reference internal" href="../_modules/nepi/execution/resource.html#ResourceManager.stop_time"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.ResourceManager.stop_time" title="Permalink to this definition">¶</a></dt>
+<dd><p>Returns the stop time of the RM as a timestamp</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.resource.ResourceManager.stop_with_conditions">
+<tt class="descname">stop_with_conditions</tt><big>(</big><big>)</big><a class="reference internal" href="../_modules/nepi/execution/resource.html#ResourceManager.stop_with_conditions"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.ResourceManager.stop_with_conditions" title="Permalink to this definition">¶</a></dt>
+<dd><p>Stops RM when all the conditions in self.conditions for
+action &#8216;STOP&#8217; are satisfied.</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.resource.ResourceManager.trace">
+<tt class="descname">trace</tt><big>(</big><em>name</em>, <em>attr='all'</em>, <em>block=512</em>, <em>offset=0</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/resource.html#ResourceManager.trace"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.ResourceManager.trace" title="Permalink to this definition">¶</a></dt>
+<dd><p>Get information on collected trace</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
+<li><strong>name</strong> (<a class="reference external" href="http://docs.python.org/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) &#8211; Name of the trace</li>
+<li><strong>attr</strong> (<a class="reference external" href="http://docs.python.org/library/functions.html#str" title="(in Python v2.7)"><em>str</em></a>) &#8211; Can be one of:
+- TraceAttr.ALL (complete trace content), 
+- TraceAttr.STREAM (block in bytes to read starting at offset), 
+- TraceAttr.PATH (full path to the trace file),
+- TraceAttr.SIZE (size of trace file).</li>
+<li><strong>block</strong> &#8211; Number of bytes to retrieve from trace, when attr is TraceAttr.STREAM</li>
+<li><strong>offset</strong> &#8211; Number of &#8216;blocks&#8217; to skip, when attr is TraceAttr.STREAM</li>
+</ul>
+</td>
+</tr>
+<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last">str</p>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.resource.ResourceManager.trace_enabled">
+<tt class="descname">trace_enabled</tt><big>(</big><em>name</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/resource.html#ResourceManager.trace_enabled"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.ResourceManager.trace_enabled" title="Permalink to this definition">¶</a></dt>
+<dd><p>Returns True if trace is enables</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> (<a class="reference external" href="http://docs.python.org/library/functions.html#str" title="(in Python v2.7)"><em>str</em></a>) &#8211; Name of the trace</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.resource.ResourceManager.unregister_condition">
+<tt class="descname">unregister_condition</tt><big>(</big><em>group</em>, <em>action=None</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/resource.html#ResourceManager.unregister_condition"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.ResourceManager.unregister_condition" title="Permalink to this definition">¶</a></dt>
+<dd><p>Removed conditions for a certain group of guids</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>action</strong> (<a class="reference external" href="http://docs.python.org/library/functions.html#str" title="(in Python v2.7)"><em>str</em></a>) &#8211; Action to restrict to condition (either &#8216;START&#8217;, &#8216;STOP&#8217; or &#8216;READY&#8217;)</li>
+<li><strong>group</strong> (<em>int or list of int</em>) &#8211; Group of RMs to wait for (list of guids)</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.resource.ResourceManager.unregister_connection">
+<tt class="descname">unregister_connection</tt><big>(</big><em>guid</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/resource.html#ResourceManager.unregister_connection"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.ResourceManager.unregister_connection" title="Permalink to this definition">¶</a></dt>
+<dd><p>Removes a registered connection to the RM identified by guid</p>
+<p>This method should not be overridden. Specific functionality
+should be added in the do_disconnect method.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>guid</strong> (<a class="reference external" href="http://docs.python.org/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) &#8211; Global unique identified of the RM to connect to</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.resource.ResourceManager.valid_connection">
+<tt class="descname">valid_connection</tt><big>(</big><em>guid</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/resource.html#ResourceManager.valid_connection"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.ResourceManager.valid_connection" title="Permalink to this definition">¶</a></dt>
+<dd><p>Checks whether a connection with the other RM
+is valid.
+This method need to be redefined by each new Resource Manager.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>guid</strong> (<a class="reference external" href="http://docs.python.org/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) &#8211; Guid of the current Resource Manager</td>
+</tr>
+<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">Boolean</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="class">
+<dt id="nepi.execution.resource.ResourceState">
+<em class="property">class </em><tt class="descclassname">nepi.execution.resource.</tt><tt class="descname">ResourceState</tt><a class="reference internal" href="../_modules/nepi/execution/resource.html#ResourceState"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.ResourceState" title="Permalink to this definition">¶</a></dt>
+<dd><p>State of a Resource Manager</p>
+<dl class="attribute">
+<dt id="nepi.execution.resource.ResourceState.DISCOVERED">
+<tt class="descname">DISCOVERED</tt><em class="property"> = 1</em><a class="headerlink" href="#nepi.execution.resource.ResourceState.DISCOVERED" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="nepi.execution.resource.ResourceState.FAILED">
+<tt class="descname">FAILED</tt><em class="property"> = 7</em><a class="headerlink" href="#nepi.execution.resource.ResourceState.FAILED" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="nepi.execution.resource.ResourceState.NEW">
+<tt class="descname">NEW</tt><em class="property"> = 0</em><a class="headerlink" href="#nepi.execution.resource.ResourceState.NEW" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="nepi.execution.resource.ResourceState.PROVISIONED">
+<tt class="descname">PROVISIONED</tt><em class="property"> = 3</em><a class="headerlink" href="#nepi.execution.resource.ResourceState.PROVISIONED" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="nepi.execution.resource.ResourceState.READY">
+<tt class="descname">READY</tt><em class="property"> = 4</em><a class="headerlink" href="#nepi.execution.resource.ResourceState.READY" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="nepi.execution.resource.ResourceState.RELEASED">
+<tt class="descname">RELEASED</tt><em class="property"> = 8</em><a class="headerlink" href="#nepi.execution.resource.ResourceState.RELEASED" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="nepi.execution.resource.ResourceState.RESERVED">
+<tt class="descname">RESERVED</tt><em class="property"> = 2</em><a class="headerlink" href="#nepi.execution.resource.ResourceState.RESERVED" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="nepi.execution.resource.ResourceState.STARTED">
+<tt class="descname">STARTED</tt><em class="property"> = 5</em><a class="headerlink" href="#nepi.execution.resource.ResourceState.STARTED" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="nepi.execution.resource.ResourceState.STOPPED">
+<tt class="descname">STOPPED</tt><em class="property"> = 6</em><a class="headerlink" href="#nepi.execution.resource.ResourceState.STOPPED" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+</dd></dl>
+
+<dl class="function">
+<dt id="nepi.execution.resource.clsinit">
+<tt class="descclassname">nepi.execution.resource.</tt><tt class="descname">clsinit</tt><big>(</big><em>cls</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/resource.html#clsinit"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.clsinit" title="Permalink to this definition">¶</a></dt>
+<dd><p>Initializes template information (i.e. attributes and traces)
+on classes derived from the ResourceManager class.</p>
+<p>It is used as a decorator in the class declaration as follows:</p>
+<blockquote>
+<div><p>&#64;clsinit
+class MyResourceManager(ResourceManager):</p>
+<blockquote>
+<div>...</div></blockquote>
+</div></blockquote>
+</dd></dl>
+
+<dl class="function">
+<dt id="nepi.execution.resource.clsinit_copy">
+<tt class="descclassname">nepi.execution.resource.</tt><tt class="descname">clsinit_copy</tt><big>(</big><em>cls</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/resource.html#clsinit_copy"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.clsinit_copy" title="Permalink to this definition">¶</a></dt>
+<dd><p>Initializes template information (i.e. attributes and traces)
+on classes derived from the ResourceManager class.
+It differs from the clsinit method in that it forces inheritance
+of attributes and traces from the parent class.</p>
+<p>It is used as a decorator in the class declaration as follows:</p>
+<blockquote>
+<div><p>&#64;clsinit
+class MyResourceManager(ResourceManager):</p>
+<blockquote>
+<div>...</div></blockquote>
+</div></blockquote>
+<p>clsinit_copy should be prefered to clsinit when creating new
+ResourceManager child classes.</p>
+</dd></dl>
+
+<dl class="function">
+<dt id="nepi.execution.resource.failtrap">
+<tt class="descclassname">nepi.execution.resource.</tt><tt class="descname">failtrap</tt><big>(</big><em>func</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/resource.html#failtrap"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.failtrap" title="Permalink to this definition">¶</a></dt>
+<dd><p>Decorator function for instance methods that should set the 
+RM state to FAILED when an error is raised. The methods that must be
+decorated are: discover, reserved, provision, deploy, start, stop.</p>
+</dd></dl>
+
+<dl class="function">
+<dt id="nepi.execution.resource.find_types">
+<tt class="descclassname">nepi.execution.resource.</tt><tt class="descname">find_types</tt><big>(</big><big>)</big><a class="reference internal" href="../_modules/nepi/execution/resource.html#find_types"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.find_types" title="Permalink to this definition">¶</a></dt>
+<dd><p>Look into the different folders to find all the 
+availables Resources Managers</p>
+</dd></dl>
+
+<dl class="function">
+<dt id="nepi.execution.resource.populate_factory">
+<tt class="descclassname">nepi.execution.resource.</tt><tt class="descname">populate_factory</tt><big>(</big><big>)</big><a class="reference internal" href="../_modules/nepi/execution/resource.html#populate_factory"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.resource.populate_factory" title="Permalink to this definition">¶</a></dt>
+<dd><p>Find and rgister all available RMs</p>
+</dd></dl>
+
+</div>
+<div class="section" id="module-nepi.execution.runner">
+<span id="nepi-execution-runner-module"></span><h2>nepi.execution.runner module<a class="headerlink" href="#module-nepi.execution.runner" title="Permalink to this headline">¶</a></h2>
+<dl class="class">
+<dt id="nepi.execution.runner.ExperimentRunner">
+<em class="property">class </em><tt class="descclassname">nepi.execution.runner.</tt><tt class="descname">ExperimentRunner</tt><a class="reference internal" href="../_modules/nepi/execution/runner.html#ExperimentRunner"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.runner.ExperimentRunner" title="Permalink to this definition">¶</a></dt>
+<dd><p>Bases: <a class="reference external" href="http://docs.python.org/library/functions.html#object" title="(in Python v2.7)"><tt class="xref py py-class docutils literal"><span class="pre">object</span></tt></a></p>
+<p>The ExperimentRunner entity is responsible of
+re-running an experiment described by an ExperimentController 
+multiple time</p>
+<dl class="method">
+<dt id="nepi.execution.runner.ExperimentRunner.evaluate_normal_convergence">
+<tt class="descname">evaluate_normal_convergence</tt><big>(</big><em>ec</em>, <em>run</em>, <em>metrics</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/runner.html#ExperimentRunner.evaluate_normal_convergence"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.runner.ExperimentRunner.evaluate_normal_convergence" title="Permalink to this definition">¶</a></dt>
+<dd><p>Returns True when the confidence interval of the sample mean is
+less than 5% of the mean value, for a 95% confidence level,
+assuming normal distribution of the data</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.runner.ExperimentRunner.run">
+<tt class="descname">run</tt><big>(</big><em>ec</em>, <em>min_runs=1</em>, <em>max_runs=-1</em>, <em>wait_time=0</em>, <em>wait_guids=[]</em>, <em>compute_metric_callback=None</em>, <em>evaluate_convergence_callback=None</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/runner.html#ExperimentRunner.run"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.runner.ExperimentRunner.run" title="Permalink to this definition">¶</a></dt>
+<dd><p>Run a same experiment independently multiple times, until the 
+evaluate_convergence_callback function returns True</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>ec</strong> (<em>ExperimentController</em>) &#8211; Description of experiment to replicate. 
+The runner takes care of deploying the EC, so ec.deploy()
+must not be invoked directly before or after invoking
+runner.run().</li>
+<li><strong>min_runs</strong> (<a class="reference external" href="http://docs.python.org/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) &#8211; Minimum number of times the experiment must be 
+replicated</li>
+<li><strong>max_runs</strong> (<a class="reference external" href="http://docs.python.org/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) &#8211; Maximum number of times the experiment can be 
+replicated</li>
+<li><strong>wait_time</strong> (<a class="reference external" href="http://docs.python.org/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; Time to wait in seconds on each run between invoking
+ec.deploy() and ec.release().</li>
+<li><strong>wait_guids</strong> (<a class="reference external" href="http://docs.python.org/library/functions.html#list" title="(in Python v2.7)"><em>list</em></a>) &#8211; List of guids wait for finalization on each run.
+This list is passed to ec.wait_finished()</li>
+<li><strong>compute_metric_callback</strong> (<em>function</em>) &#8211; <p>User defined function invoked after 
+each experiment run to compute a metric. The metric is usually
+a network measurement obtained from the data collected 
+during experiment execution.
+The function is invoked passing the ec and the run number as arguments. 
+It must return the value for the computed metric(s) (usually a single 
+numerical value, but it can be several).</p>
+<blockquote>
+<div>metric = compute_metric_callback(ec, run)</div></blockquote>
+</li>
+<li><strong>evaluate_convergence_callback</strong> (<em>function</em>) &#8211; <p>User defined function invoked after
+computing the metric on each run, to evaluate the experiment was
+run enough times. It takes the list of cumulated metrics produced by 
+the compute_metric_callback up to the current run, and decided 
+whether the metrics have statistically converged to a meaningful value
+or not. It must return either True or False.</p>
+<blockquote>
+<div>stop = evaluate_convergence_callback(ec, run, metrics)</div></blockquote>
+<p>If stop is True, then the runner will exit.</p>
+</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.runner.ExperimentRunner.run_experiment">
+<tt class="descname">run_experiment</tt><big>(</big><em>filepath</em>, <em>wait_time</em>, <em>wait_guids</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/runner.html#ExperimentRunner.run_experiment"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.runner.ExperimentRunner.run_experiment" title="Permalink to this definition">¶</a></dt>
+<dd><p>Run an experiment based on the description stored
+in filepath.</p>
+</dd></dl>
+
+</dd></dl>
+
+</div>
+<div class="section" id="module-nepi.execution.scheduler">
+<span id="nepi-execution-scheduler-module"></span><h2>nepi.execution.scheduler module<a class="headerlink" href="#module-nepi.execution.scheduler" title="Permalink to this headline">¶</a></h2>
+<dl class="class">
+<dt id="nepi.execution.scheduler.HeapScheduler">
+<em class="property">class </em><tt class="descclassname">nepi.execution.scheduler.</tt><tt class="descname">HeapScheduler</tt><a class="reference internal" href="../_modules/nepi/execution/scheduler.html#HeapScheduler"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.scheduler.HeapScheduler" title="Permalink to this definition">¶</a></dt>
+<dd><p>Bases: <a class="reference external" href="http://docs.python.org/library/functions.html#object" title="(in Python v2.7)"><tt class="xref py py-class docutils literal"><span class="pre">object</span></tt></a></p>
+<p>Create a Heap Scheduler</p>
+<div class="admonition note">
+<p class="first admonition-title">Note</p>
+<p class="last">This class is thread safe.
+All calls to C Extensions are made atomic by the GIL in the CPython implementation.
+heapq.heappush, heapq.heappop, and list access are therefore thread-safe.</p>
+</div>
+<dl class="method">
+<dt id="nepi.execution.scheduler.HeapScheduler.next">
+<tt class="descname">next</tt><big>(</big><big>)</big><a class="reference internal" href="../_modules/nepi/execution/scheduler.html#HeapScheduler.next"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.scheduler.HeapScheduler.next" title="Permalink to this definition">¶</a></dt>
+<dd><p>Get the next task in the queue by timestamp and arrival order</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="nepi.execution.scheduler.HeapScheduler.pending">
+<tt class="descname">pending</tt><a class="reference internal" href="../_modules/nepi/execution/scheduler.html#HeapScheduler.pending"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.scheduler.HeapScheduler.pending" title="Permalink to this definition">¶</a></dt>
+<dd><p>Returns the list of pending task ids</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.scheduler.HeapScheduler.remove">
+<tt class="descname">remove</tt><big>(</big><em>tid</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/scheduler.html#HeapScheduler.remove"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.scheduler.HeapScheduler.remove" title="Permalink to this definition">¶</a></dt>
+<dd><p>Remove a task form the queue</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>tid</strong> (<a class="reference external" href="http://docs.python.org/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) &#8211; Id of the task to be removed</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="nepi.execution.scheduler.HeapScheduler.schedule">
+<tt class="descname">schedule</tt><big>(</big><em>task</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/scheduler.html#HeapScheduler.schedule"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.scheduler.HeapScheduler.schedule" title="Permalink to this definition">¶</a></dt>
+<dd><p>Add a task to the queue ordered by task.timestamp and arrival order</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>task</strong> (<em>task</em>) &#8211; task to schedule</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="class">
+<dt id="nepi.execution.scheduler.Task">
+<em class="property">class </em><tt class="descclassname">nepi.execution.scheduler.</tt><tt class="descname">Task</tt><big>(</big><em>timestamp</em>, <em>callback</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/scheduler.html#Task"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.scheduler.Task" title="Permalink to this definition">¶</a></dt>
+<dd><p>Bases: <a class="reference external" href="http://docs.python.org/library/functions.html#object" title="(in Python v2.7)"><tt class="xref py py-class docutils literal"><span class="pre">object</span></tt></a></p>
+<p>A Task represents an operation to be executed by the 
+ExperimentController scheduler</p>
+</dd></dl>
+
+<dl class="class">
+<dt id="nepi.execution.scheduler.TaskStatus">
+<em class="property">class </em><tt class="descclassname">nepi.execution.scheduler.</tt><tt class="descname">TaskStatus</tt><a class="reference internal" href="../_modules/nepi/execution/scheduler.html#TaskStatus"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.scheduler.TaskStatus" title="Permalink to this definition">¶</a></dt>
+<dd><p>Execution state of the Task</p>
+<dl class="attribute">
+<dt id="nepi.execution.scheduler.TaskStatus.DONE">
+<tt class="descname">DONE</tt><em class="property"> = 1</em><a class="headerlink" href="#nepi.execution.scheduler.TaskStatus.DONE" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="nepi.execution.scheduler.TaskStatus.ERROR">
+<tt class="descname">ERROR</tt><em class="property"> = 2</em><a class="headerlink" href="#nepi.execution.scheduler.TaskStatus.ERROR" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="nepi.execution.scheduler.TaskStatus.NEW">
+<tt class="descname">NEW</tt><em class="property"> = 0</em><a class="headerlink" href="#nepi.execution.scheduler.TaskStatus.NEW" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+</dd></dl>
+
+</div>
+<div class="section" id="module-nepi.execution.tags">
+<span id="nepi-execution-tags-module"></span><h2>nepi.execution.tags module<a class="headerlink" href="#module-nepi.execution.tags" title="Permalink to this headline">¶</a></h2>
+</div>
+<div class="section" id="module-nepi.execution.trace">
+<span id="nepi-execution-trace-module"></span><h2>nepi.execution.trace module<a class="headerlink" href="#module-nepi.execution.trace" title="Permalink to this headline">¶</a></h2>
+<dl class="class">
+<dt id="nepi.execution.trace.Trace">
+<em class="property">class </em><tt class="descclassname">nepi.execution.trace.</tt><tt class="descname">Trace</tt><big>(</big><em>name</em>, <em>help</em>, <em>enabled=False</em><big>)</big><a class="reference internal" href="../_modules/nepi/execution/trace.html#Trace"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.trace.Trace" title="Permalink to this definition">¶</a></dt>
+<dd><p>Bases: <a class="reference external" href="http://docs.python.org/library/functions.html#object" title="(in Python v2.7)"><tt class="xref py py-class docutils literal"><span class="pre">object</span></tt></a></p>
+<p>A Trace represents information about a Resource that can 
+be collected</p>
+<dl class="attribute">
+<dt id="nepi.execution.trace.Trace.help">
+<tt class="descname">help</tt><a class="reference internal" href="../_modules/nepi/execution/trace.html#Trace.help"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.trace.Trace.help" title="Permalink to this definition">¶</a></dt>
+<dd><p>Returns the help of the trace</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="nepi.execution.trace.Trace.name">
+<tt class="descname">name</tt><a class="reference internal" href="../_modules/nepi/execution/trace.html#Trace.name"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.trace.Trace.name" title="Permalink to this definition">¶</a></dt>
+<dd><p>Returns the name of the trace</p>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="class">
+<dt id="nepi.execution.trace.TraceAttr">
+<em class="property">class </em><tt class="descclassname">nepi.execution.trace.</tt><tt class="descname">TraceAttr</tt><a class="reference internal" href="../_modules/nepi/execution/trace.html#TraceAttr"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#nepi.execution.trace.TraceAttr" title="Permalink to this definition">¶</a></dt>
+<dd><p>A Trace attribute defines information about a Trace that can
+be queried</p>
+<dl class="attribute">
+<dt id="nepi.execution.trace.TraceAttr.ALL">
+<tt class="descname">ALL</tt><em class="property"> = 'all'</em><a class="headerlink" href="#nepi.execution.trace.TraceAttr.ALL" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="nepi.execution.trace.TraceAttr.PATH">
+<tt class="descname">PATH</tt><em class="property"> = 'path'</em><a class="headerlink" href="#nepi.execution.trace.TraceAttr.PATH" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="nepi.execution.trace.TraceAttr.SIZE">
+<tt class="descname">SIZE</tt><em class="property"> = 'size'</em><a class="headerlink" href="#nepi.execution.trace.TraceAttr.SIZE" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="nepi.execution.trace.TraceAttr.STREAM">
+<tt class="descname">STREAM</tt><em class="property"> = 'stream'</em><a class="headerlink" href="#nepi.execution.trace.TraceAttr.STREAM" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+</dd></dl>
+
+</div>
+<div class="section" id="module-nepi.execution">
+<span id="module-contents"></span><h2>Module contents<a class="headerlink" href="#module-nepi.execution" title="Permalink to this headline">¶</a></h2>
+</div>
+</div>
+
+
+          </div>
+        </div>
+      </div>
+      <div class="clearer"></div>
+    </div>
+    <div class="related">
+      <h3>Navigation</h3>
+      <ul>
+        <li class="right" style="margin-right: 10px">
+          <a href="../genindex.html" title="General Index"
+             >index</a></li>
+        <li class="right" >
+          <a href="../py-modindex.html" title="Python Module Index"
+             >modules</a> |</li>
+        <li><a href="../index.html">NEPI 3.0 documentation</a> &raquo;</li> 
+      </ul>
+    </div>
+    <div class="footer">
+        &copy; Copyright 2014, Alina Quereilhac, Lucia Guevgeozian Odizzio, Julien Tribino.
+      Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.2.3.
+    </div>
+  </body>
+</html>
\ No newline at end of file