Resource action api

Registered by Zhang Yang on 2014-05-21

Now we only can suspend or resume a whole stack, user some time may suspend/resume a part of resources with heat,
I think we need resource API, which could operate the resources of a stack.

There are 2 main uses of this api:
1. Suspend/resume resources of the stack with heat instead of with other services, and heat could set the right status for resources. this will let heat avoid some
issues caused by the wrong status.
2. Turn on/off the resource offered by heat. e.g you could stop a autoscaling policy, and the autoscalinggroup won't adjust even the alarm is triggered, there is a same feature in aws [1], or you can stop HARestarter when you want to debug an issue with your server and fix it.

[1]http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/US_SuspendResume.html

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
Zhang Yang
Direction:
Needs approval
Assignee:
Zhang Yang
Definition:
Discussion
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

zhangyang´╝Ü Talk with SpamapS, he suggested that using "state" parameter should be better.
            resources:
                server1:
                    type: OS::Nova::Server
                    properties:
                        flavor: superbig
                        image: TheBestOS
                        state: STOPPED

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.