# Julien Tribino <julien.tribino@inria.fr>
-from nepi.execution.resource import ResourceManager, clsinit, ResourceState
+from nepi.execution.resource import ResourceManager, clsinit, ResourceState, \
+ reschedule_delay
from nepi.execution.attribute import Attribute, Flags
from nepi.resources.omf.omf_api import OMFAPIFactory
import time
-reschedule_delay = "0.5s"
@clsinit
class OMFNode(ResourceManager):
self._state = ResourceState.FAILED
msg = "Credentials are not initialzed. XMPP Connections impossible"
self.debug(msg)
- return
+ raise AttributeError, msg
super(OMFNode, self).deploy()
"""
pass
- def start(self):
+ def start(self):
"""Start the RM. It means nothing special for an interface for now
It becomes STARTED as soon as this method starts.