diff options
author | Sol Jerome <solj@ices.utexas.edu> | 2009-06-20 18:13:28 +0000 |
---|---|---|
committer | Sol Jerome <solj@ices.utexas.edu> | 2009-06-20 18:13:28 +0000 |
commit | 84a5da18e13ebb27bf235f6f143f3eb2c99fcf87 (patch) | |
tree | 0a8d1a59b3fffcd69c6c16fa55a80849989fdd80 /src/lib/Server/Plugins/Metadata.py | |
parent | 38a3d79ceb157088d3da8b881aadb154813099e8 (diff) | |
download | bcfg2-84a5da18e13ebb27bf235f6f143f3eb2c99fcf87.tar.gz bcfg2-84a5da18e13ebb27bf235f6f143f3eb2c99fcf87.tar.bz2 bcfg2-84a5da18e13ebb27bf235f6f143f3eb2c99fcf87.zip |
bcfg2-admin: Migrate query to new Metadata query interface
Signed-off-by: Sol Jerome <solj@ices.utexas.edu>
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5288 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server/Plugins/Metadata.py')
-rw-r--r-- | src/lib/Server/Plugins/Metadata.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/lib/Server/Plugins/Metadata.py b/src/lib/Server/Plugins/Metadata.py index be98d3894..438d2eae6 100644 --- a/src/lib/Server/Plugins/Metadata.py +++ b/src/lib/Server/Plugins/Metadata.py @@ -512,16 +512,6 @@ class Metadata(Bcfg2.Server.Plugin.Plugin, self.session_cache[address] = (time.time(), user) return True - def GetClientByGroup(self, group): - '''Return a list of clients that are in a given group''' - return [client for client in self.clients \ - if group in self.groups[self.clients[client]][1]] - - def GetClientByProfile(self, profile): - '''Return a list of clients that are members of a given profile''' - return [client for client in self.clients \ - if self.clients[client] == profile] - def process_statistics(self, meta, _): '''Hook into statistics interface to toggle clients in bootstrap mode''' client = meta.hostname |