The watcher.decision_engine.scope.default Module

The watcher.decision_engine.scope.default Module

class watcher.decision_engine.scope.default.DefaultScope(scope, config, osc=None)[source]

Bases: watcher.decision_engine.scope.base.BaseScope

Default 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_instances_from_model(instances_to_remove, cluster_model)[source]
remove_nodes_from_model(nodes_to_remove, 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.