3 class FailToConnect(Exception):
4 def __init__(self, nodeId, nodeUrl):
8 return repr(self.siteId)
14 class SSHConnectError(Exception):
15 def __init__(self, host, sliceName):
16 self.why = "Can't connect to the node "+str(sliceName)+"@"+str(host)
21 class NodeConstraintError(Exception):
22 def __init__(self, constraint, envList):
23 self.why = "Can't find node with constraint : "+str(constraint)
24 self.envList = envList