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
) –Instance
object or instance UUID - node (str or
Instance
) –ComputeNode
object or node UUID
- instance (str or
-