<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
<div dir="ltr">
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:΢ÈíÑźÚ
}
--></style>
<div dir="ltr"><div style="font-family: 'Helvetica Neue', Helvetica, sans-serif; font-size: 15px; line-height: 21px; background-color: rgb(255, 255, 255);">Hi all,</div><div style="font-family: 'Helvetica Neue', Helvetica, sans-serif; font-size: 15px; line-height: 21px; background-color: rgb(255, 255, 255);"> Now heat only supports suspending/resuming a whole stack, all the resources of the stack will be suspended/resumed,</div><div style="font-family: 'Helvetica Neue', Helvetica, sans-serif; font-size: 15px; line-height: 21px; background-color: rgb(255, 255, 255);">but sometime we just want to suspend or resume only a part of resources in the stack, so I think adding resource-action API for heat is</div><div style="font-family: 'Helvetica Neue', Helvetica, sans-serif; font-size: 15px; line-height: 21px; background-color: rgb(255, 255, 255);">necessary. this API will be helpful to solve 2 problems:</div><div style="font-family: 'Helvetica Neue', Helvetica, sans-serif; font-size: 15px; line-height: 21px; background-color: rgb(255, 255, 255);"> - If we want to suspend/resume the resources of the stack, you need to get the phy_id first and then call the API of other services, and this won't update the status</div><div style="font-family: 'Helvetica Neue', Helvetica, sans-serif; font-size: 15px; line-height: 21px; background-color: rgb(255, 255, 255);">of the resource in heat, which often cause some unexpected problem.</div><div style="font-family: 'Helvetica Neue', Helvetica, sans-serif; font-size: 15px; line-height: 21px; background-color: rgb(255, 255, 255);"> - this API could offer a turn on/off function for some native resources, e.g., we can turn on/off the autoscalinggroup or a single policy with </div><div style="font-family: 'Helvetica Neue', Helvetica, sans-serif; font-size: 15px; line-height: 21px; background-color: rgb(255, 255, 255);">the API, this is like the suspend/resume services feature[1] in AWS.</div><div style="font-family: 'Helvetica Neue', Helvetica, sans-serif; font-size: 15px; line-height: 21px; background-color: rgb(255, 255, 255);"> </div><div style="font-family: 'Helvetica Neue', Helvetica, sans-serif; font-size: 15px; line-height: 21px; background-color: rgb(255, 255, 255);"> I registered a bp for it, and you are welcome for discussing it.</div><div style="font-family: 'Helvetica Neue', Helvetica, sans-serif; font-size: 15px; line-height: 21px; background-color: rgb(255, 255, 255);"> <a href="https://blueprints.launchpad.net/heat/+spec/resource-action-api" target="_blank" style="font-family: Calibri, sans-serif; font-size: 12pt;">https://blueprints.launchpad.net/heat/+spec/resource-action-api</a></div><div style="font-family: 'Helvetica Neue', Helvetica, sans-serif; line-height: 21px; background-color: rgb(255, 255, 255);"><font size="2"><br></font></div><div style="font-family: 'Helvetica Neue', Helvetica, sans-serif; line-height: 21px; background-color: rgb(255, 255, 255);"><font size="2">[1] <a href="http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/US_SuspendResume.html" target="_blank" style="font-family: ΢ÈíÑźÚ, sans-serif;">http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/US_SuspendResume.html</a></font></div><div style="font-family: 'Helvetica Neue', Helvetica, sans-serif; font-size: 15px; line-height: 21px; background-color: rgb(255, 255, 255);"><br></div><div style="font-family: 'Helvetica Neue', Helvetica, sans-serif; font-size: 15px; line-height: 21px; background-color: rgb(255, 255, 255);">Regards!</div><div style="font-family: 'Helvetica Neue', Helvetica, sans-serif; font-size: 15px; line-height: 21px; background-color: rgb(255, 255, 255);">Zhang Yang</div></div>
</div>
</div></body>
</html>