summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 73dd4a9)
raw | patch | inline | side by side (parent: 73dd4a9)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 13 Nov 2009 14:22:04 +0000 (14:22 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 13 Nov 2009 14:22:04 +0000 (14:22 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14812 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-si/contrib/90_gosa.conf | [new file with mode: 0644] | patch | blob |
diff --git a/gosa-si/contrib/90_gosa.conf b/gosa-si/contrib/90_gosa.conf
--- /dev/null
@@ -0,0 +1,13 @@
+''' Override built in function to get clients '''
+
+def getClients_listOfHashes(self, serverId=None, depotIds=[], groupId=None, productId=None, installationStatus=None, actionRequest=None, productVersion=None, packageVersion=None):
+
+ # Get backend instance and load client list
+ bi= self.backends[self.clientManagingBackend]['instance']
+ clients= bi.getClients_listOfHashes(serverId, depotIds, groupId, productId, installationStatus, actionRequest, productVersion, packageVersion)
+
+ # Get MAC and IP for every client
+ for client in clients:
+ client['macAddress']= bi.getMacAddress(client['hostId'])
+
+ return clients