- return False
-
- try:
- for couple in self._nodes_guid:
- #print "Couple node/alias : " + couple[0] + " , " + couple[1]
- attrval = self.get('channel')
- attrname = "net/%s/%s" % (couple[1], 'channel')
- self._omf_api.configure(couple[0], attrname, attrval)
- except AttributeError:
- msg = "Credentials are not initialzed. XMPP Connections impossible"
- self.error(msg)
- self.fail()
- return
-
- super(OMFChannel, self).deploy()
-
- def start(self):
- """ Start the RM. It means nothing special for a channel for now
- It becomes STARTED as soon as this method starts.
-
- """
-
- super(OMFChannel, self).start()
-
- def stop(self):
- """ Stop the RM. It means nothing special for a channel for now
- It becomes STOPPED as soon as this method is called
-
- """
- super(OMFChannel, self).stop()
- self.set_finished()
+ else:
+ try:
+ for couple in self._nodes_guid:
+ #print "Couple node/alias : " + couple[0] + " , " + couple[1]
+ attrval = self.get('channel')
+ attrname = "net/%s/%s" % (couple[1], 'channel')
+ self._omf_api.configure(couple[0], attrname, attrval)
+ except AttributeError:
+ msg = "Credentials are not initialzed. XMPP Connections impossible"
+ self.error(msg)
+ raise
+
+ super(OMFChannel, self).deploy()