Example #1
0
 def SLF_ProductID(self):
     return TbEntityInfo.find_by_machine_name(
         self.SLF_ComputerName).EI_ProductType
Example #2
0
 def ServerGUID(self):
     entity = TbEntityInfo.find_by_machine_name(self.client)
     return entity.EI_AgentID
Example #3
0
 def SLF_ClientGUID(self):
     return TbEntityInfo.find_by_machine_name(
         self.SLF_ComputerName).EI_EntityID
Example #4
0
 def find_by_slf_key_and_agent(cls, key, agent):
     agent_guid = TbEntityInfo.find_by_machine_name(agent).EI_EntityID
     return cm_session.query(cls).filter(
         and_(cls.SLF_Key == key, cls.AgentID == agent_guid)).first()
Example #5
0
 def ClientGUID(self):
     entity = TbEntityInfo.find_by_machine_name(self.client)
     return entity.EI_EntityID
 def ProductGUID(self):
     return TbEntityInfo.find_by_machine_name(self.ComputerName).EI_EntityID
 def CLF_ManagerID(self):
     return TbEntityInfo.find_by_machine_name(self.CLF_ComputerName).EI_ManagerID
 def CLF_ProductVersion(self):
     return TbEntityInfo.find_by_machine_name(self.CLF_ComputerName).EI_ProductVersion
 def CLF_EntityID(self):
     return TbEntityInfo.find_by_machine_name(self.CLF_ComputerName).EI_AgentID
 def find_by_criteria_and_agent(cls, criteria, agent):
     agent_guid = TbEntityInfo.find_by_machine_name(agent).EI_EntityID
     return cm_session.query(cls).filter(and_(cls.Criteria == criteria, cls.AgentID == agent_guid)).first()