heat.engine.node_data
Module¶heat.engine.node_data.
NodeData
(primary_key, resource_name, uuid, reference_id, attributes, action, status)[source]¶Bases: object
Data about a node in the graph, to be passed along to other nodes.
action
¶as_dict
()[source]¶Return a dict representation of the data.
This is the format that is serialised and stored in the database’s SyncPoints.
from_dict
(node_data)[source]¶Create a new NodeData object from deserialised data.
This reads the format that is stored in the database, and is the inverse of as_dict().
name
¶primary_key
¶reference_id
()[source]¶Return the reference ID of the resource.
i.e. the result that the {get_resource: } intrinsic function should return for this resource.
status
¶uuid
¶heat.engine.node_data.
load_resources_data
(data)[source]¶Return the data for all of the resources that meet at a SyncPoint.
The input is the input_data dict from a SyncPoint received over RPC. The keys (which are ignored) are resource primary keys.
The output is a dict of NodeData objects with the resource names as the keys.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.