Bug 1042977 - [RFE][oslo]: Parse ISO 8601 duration string format
Summary: [RFE][oslo]: Parse ISO 8601 duration string format
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: RFEs
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: RHOS Maint
QA Contact:
URL: https://blueprints.launchpad.net/oslo...
Whiteboard: upstream_milestone_none upstream_stat...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-13 16:50 UTC by RHOS Integration
Modified: 2015-03-19 17:12 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-03-19 17:12:44 UTC
Target Upstream Version:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.