Exemple #1
0
 def process_cluster_attributes(cls, cluster, attrs, query=None):
     if query is None:
         query = PluginCollection.all()
     for plugin_db in query:
         attr_plugin = ClusterAttributesPlugin(plugin_db)
         attr_plugin.process_cluster_attributes(cluster, attrs)
Exemple #2
0
 def process_cluster_attributes(cls, cluster, attrs, query=None):
     if query is None:
         query = PluginCollection.all()
     for plugin_db in query:
         attr_plugin = ClusterAttributesPlugin(plugin_db)
         attr_plugin.process_cluster_attributes(cluster, attrs)