Basic resource.prop for ID attributes (orchestration)

This patch set updates all orchestration resource objects to use
basic properties for ID attributes. In particular, the following
changes were made:
  - Clarify documentation for ID attributes

Change-Id: Idcf1d0215fbd3103794a9c7d07881f0fc591c993
Partial-Bug: #1461200
This commit is contained in:
Richard Theis 2016-02-15 13:54:04 -06:00
parent c2383e8acc
commit 2cc41980a8

View File

@ -36,12 +36,13 @@ class Resource(resource.Resource):
#: as it appears in the stack template.
logical_resource_id = resource.prop('logical_resource_id')
#: ID of the physical resource (if any) that backs up the resource. For
#: example, it contains a nova server UUID if the resource is a nova
#: example, it contains a nova server ID if the resource is a nova
#: server.
physical_resource_id = resource.prop('physical_resource_id')
#: A list of IDs for resources that depends on this resource. This
#: A list of resource names that depend on this resource. This
#: property facilitates the deduction of resource dependencies.
required_by = resource.prop('required_by')
#: *Type: list*
required_by = resource.prop('required_by', type=list)
#: A string representation of the resource type.
resource_type = resource.prop('resource_type')
#: A string representing the status the resource is currently in.