Actifio/Actifio.py
def _validate_token(self):
    """
    Validate the exisiting _sessionid token. Return True if the token is valid.
    """

    if Actifio._sessionid[self.appliance][self.username]["sessionid"] == '':
      return False
    if Actifio._sessionid[self.appliance][self.username]["password"] != self.password :
      return False
    try:
      resp = self._httppool.request(
        'GET',
        self._infoURI + 'lsversion?sessionid=' + Actifio._sessionid[self.appliance][self.username]["sessionid"]
      )
    except Exception:
      raise ActConnectError("Unable to reach the appliance: check the IP address / hostname")
    else:
      if resp.status != 200:
        return False
      else:
        return True

    Validate the exisiting _sessionid token. Return True if the token is valid.
    
Validate the exisiting _sessionid token. Return True if the token is valid.
Validate the exisiting _sessionid token . Return True if the token is valid .
def _validate_token(self):
    if Actifio._sessionid[self.appliance][self.username]["sessionid"] == '':
      return False
    if Actifio._sessionid[self.appliance][self.username]["password"] != self.password :
      return False
    try:
      resp = self._httppool.request(
        'GET',
        self._infoURI + 'lsversion?sessionid=' + Actifio._sessionid[self.appliance][self.username]["sessionid"]
      )
    except Exception:
      raise ActConnectError("Unable to reach the appliance: check the IP address / hostname")
    else:
      if resp.status != 200:
        return False
      else:
        return True
def _validate_token ( self ) : if Actifio . _sessionid [ self . appliance ] [ self . username ] [ "sessionid" ] == '' : return False if Actifio . _sessionid [ self . appliance ] [ self . username ] [ "password" ] != self . password : return False try : resp = self . _httppool . request ( 'GET' , self . _infoURI + 'lsversion?sessionid=' + Actifio . _sessionid [ self . appliance ] [ self . username ] [ "sessionid" ] ) except Exception : raise ActConnectError ( "Unable to reach the appliance: check the IP address / hostname" ) else : if resp . status != 200 : return False else : return True
Validate the exisiting _sessionid token.
Validate the exisiting _sessionid token .
"""
    Validate the exisiting _sessionid token. Return True if the token is valid.
    """
self