The watcher.decision_engine.model.model_root Module¶
-
class
watcher.decision_engine.model.model_root.ModelRoot(stale=False)[source]¶ Bases:
watcher.decision_engine.model.base.Model-
get_node_by_instance_uuid(instance_uuid)[source]¶ Getting host information from the guest instance
Parameters: instance_uuid – the uuid of the instance Returns: node
-
map_instance(instance, node)[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
-