Support user custom reclaim interval when soft deleting

Registered by Tiantian Gao

Now when reclaim_instance_interval is great than 0, the delete action will become soft_delete.
Whilst currently implemented the reclaim_instance_interval is system level config. User can't control the expires time of instance.
This blueprint support user to specify the reclaim_instance_interval.
For example, I can keep a important instance for 1 weeks, and keep some not so important about 1 hour.
-gtt

In detail, the API will looks like below ( suggested by Brian Lamar):
DELETE /v2/1234/servers/e14b69ce-eb17-4998-a8cb-114640db328b?delay_until=<utc_date>

If "delay_until" is set too far in the future, this DELETE call could return 400 Bad Request with details about the operator's maximum allowed reclaim interval.

reclaim_instance_interval_max: If = 0 then "soft" deletes are effectively disabled. Users can never request a "soft" delete farther in the future than this value allows.

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
Tiantian Gao
Direction:
Needs approval
Assignee:
Tiantian Gao
Definition:
Drafting
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

If you are still working on this, please re-submit via nova-specs. If not, please mark as obsolete, and add a quick comment to describe why. --johnthetubaguy (20th April 2014)

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.