summaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2009-06-19 21:03:09 +0000
committerNarayan Desai <desai@mcs.anl.gov>2009-06-19 21:03:09 +0000
commit52adeec63dab9c6cab44ac1e90fb674e345cb329 (patch)
treeebb5f089d942c4f32a2127c0dcfdaf011e433520 /misc
parent148aba1a51fc096ba9d76065d78df39f44095377 (diff)
downloadbcfg2-52adeec63dab9c6cab44ac1e90fb674e345cb329.tar.gz
bcfg2-52adeec63dab9c6cab44ac1e90fb674e345cb329.tar.bz2
bcfg2-52adeec63dab9c6cab44ac1e90fb674e345cb329.zip
Metadata: Implement query interface
Clean up all of the ad-hoc interface to global metadata, replacing it with a consistent interface. ClientMetadata instances now have a query attribute which has the following methods: - by_name -- resolve client metadata by primary name - by_groups -- resolve client metadata for clients belonging to multiple groups - by_profiles -- resolve client metadata for clients with given profiles - names_by_groups -- return names of clients belonging to multiple groups - names_by_profiles -- return names of clients using given profiles - all_names -- return names of all clients git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5286 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'misc')
0 files changed, 0 insertions, 0 deletions