API for adjusting the size of a scaling group

Registered by Christopher Armstrong

In order to factor out the autoscaling functionality into a separate service (and to potentially support other use cases such as manual scale-up/scale-down by an administrator), there needs to be an API exposed to add or remove instances from a scaling group (InstanceGroup).

Blueprint information

Status:
Complete
Approver:
None
Priority:
Undefined
Drafter:
None
Direction:
Needs approval
Assignee:
None
Definition:
Superseded
Series goal:
None
Implementation:
Unknown
Milestone target:
None
Completed by
Christopher Armstrong

Related branches

Sprints

Whiteboard

See https://wiki.openstack.org/wiki/Heat/AutoScaling

PUT .../resources/<group>/adjust was proposed, but this may not be very ReSTy -- perhaps PUT .../resources/<group>/group-size would be more in the spirit of ReST?

The body could look like:

{
    "adjustment": <int>,
    "adjustment_type": <string>
}

where "adjustment_type" is one of "ChangeInCapacity", "ExactCapacity", or "PercentageChangeInCapacity".

closing this for now. I don't think we'll need this in the end. More discussion to be had.

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.