Ejemplo n.º 1
0
def _isSkipPeripheryChecking():
    return connectionManager.isStandalone() and CURRENT_REALM == 'CT'
Ejemplo n.º 2
0
 def isValid(self):
     return (self.startTime is None or self.startTime > 0) and (self.finishTime is None or self.finishTime > 0) and (connectionManager.isStandalone() or self.__validatePeripheryIDs())
Ejemplo n.º 3
0
 def needToChangePeriphery(self):
     return not connectionManager.isStandalone() and connectionManager.peripheryID not in self.peripheryIDs
Ejemplo n.º 4
0
def _isSkipPeripheryChecking():
    return connectionManager.isStandalone() and CURRENT_REALM == 'CT'
Ejemplo n.º 5
0
 def isValid(self):
     return (self.startTime is None or self.startTime > 0) and (
         self.finishTime is None
         or self.finishTime > 0) and (connectionManager.isStandalone()
                                      or self.__validatePeripheryIDs())
Ejemplo n.º 6
0
 def needToChangePeriphery(self):
     return not connectionManager.isStandalone(
     ) and connectionManager.peripheryID not in self.peripheryIDs