Parse ISO 8601 duration string format

Registered by Winson Chan

Add parse_isoduration function in the common timeutils module to convert a string in ISO 8601 duration format to a timedelta object or to seconds. This is currently implemented in Heat to support pause time in the UpdatePolicy for AutoScalingGroup. This can be abstracted to support other use cases where description of a time duration is needed.

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
None
Direction:
Needs approval
Assignee:
Winson Chan
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.