Bug 1042977

Summary: [RFE][oslo]: Parse ISO 8601 duration string format
Product: Red Hat OpenStack Reporter: RHOS Integration <rhos-integ>
Component: RFEsAssignee: RHOS Maint <rhos-maint>
Status: CLOSED UPSTREAM QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: markmc, yeylon
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://blueprints.launchpad.net/oslo/+spec/parse-iso8601-duration
Whiteboard: upstream_milestone_none upstream_status_unknown upstream_definition_new
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-19 17:12:44 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description RHOS Integration 2013-12-13 16:50:42 UTC
Cloned from launchpad blueprint https://blueprints.launchpad.net/oslo/+spec/parse-iso8601-duration.

Description:

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.

Specification URL (additional information):

http://en.wikipedia.org/wiki/ISO_8601#Durations