The watcher.decision_engine.model.model_root Module¶
Openstack implementation of the cluster graph.
-
class
watcher.decision_engine.model.model_root.ModelRoot(stale=False)[source]¶ Bases:
networkx.classes.digraph.DiGraph,watcher.decision_engine.model.base.ModelCluster graph for an Openstack cluster.
-
map_instance(*args, **kwargs)[source]¶ Map a newly created instance to a node
Parameters: - instance (str or
Instance) –Instanceobject or instance UUID - node (str or
Instance) –ComputeNodeobject or node UUID
- instance (str or
-