Code

cb957c94a98cc859d894f9dbf92916940aed8316
[gosa.git] / gosa-si / contrib / 90_gosa.conf
1 ''' Override built in function to get clients '''
3 def getClients_listOfHashes(self, serverId=None, depotIds=[], groupId=None, productId=None, installationStatus=None, actionRequest=None, productVersion=None, packageVersion=None):
5     # Get backend instance and load client list
6     bi= self.backends[self.clientManagingBackend]['instance']
7     clients= bi.getClients_listOfHashes(serverId, depotIds, groupId, productId, installationStatus, actionRequest, productVersion, packageVersion)
9     # Get MAC and IP for every client
10     for client in clients:
11         client['macAddress']= bi.getMacAddress(client['hostId'])
13     return clients