Resource 'links' attribute should contain references to nested stacks

Registered by andersonvom

A resource contains a 'links' section that currently contains references to the resource itself (rel: self) and to the parent stack (rel: stack). It would be useful to also have a link to the nested if the given resource contains one:

{
    "resource": {
        ...
        "links": [
            {
                "rel": "self",
                "href": "http://example.com/v1/TENANT_ID/stacks/NAME/ID/resources/RES_NAME"
            },
            {
                "rel": "stack",
                "href": "http://example.com/v1/TENANT_ID/stacks/NAME/ID"
            },
            {
                "rel": "nested",
                "href": "http://example.com/v1/TENANT_ID/stacks/NESTED_NAME/NESTED_ID"
            }
        ]
    ....
}

Blueprint information

Status:
Complete
Approver:
None
Priority:
Low
Drafter:
andersonvom
Direction:
Approved
Assignee:
andersonvom
Definition:
New
Series goal:
Accepted for juno
Implementation:
Implemented
Milestone target:
milestone icon 2014.2
Started by
andersonvom
Completed by
Zane Bitter

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:nested_stack_link,n,z

Addressed by: https://review.openstack.org/85781
    Add link to a resource's nested stack

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.