The watcher.decision_engine.scope.base Module

class watcher.decision_engine.scope.base.BaseScope(scope)[source]

Bases: object

A base class for Scope mechanism

Child of this class is called when audit launches strategy. This strategy requires Cluster Data Model which can be segregated to achieve audit scope.

get_scoped_model(cluster_model)[source]

Leave only nodes and instances proposed in the audit scope