The watcher.decision_engine.scope.default Module

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

Bases: watcher.decision_engine.scope.base.BaseScope

Default Audit Scope Handler

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]