The watcher.decision_engine.scope.compute Module

The watcher.decision_engine.scope.compute Module

class watcher.decision_engine.scope.compute.ComputeScope(scope, config, osc=None)[source]

Bases: watcher.decision_engine.scope.base.BaseScope

Compute Audit Scope Handler

exclude_instances_with_given_metadata(instance_metadata, cluster_model, instances_to_remove)[source]
exclude_resources(resources, **kwargs)[source]
get_scoped_model(cluster_model)[source]

Leave only nodes and instances proposed in the audit scope

remove_instance(cluster_model, instance, node_name)[source]
remove_nodes_from_model(nodes_to_remove, cluster_model)[source]
update_exclude_instance(cluster_model, instance, node_name)[source]
update_exclude_instance_in_model(instances_to_exclude, cluster_model)[source]
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.