GitHub user allardhoeve opened a pull request:
https://github.com/apache/libcloud/pull/473
Add VolumeSnapshot.created attribute
One very important aspect of snapshots is when they are made, especially
when used as historical backups. The field in VolumeSnapshot.extra that is used
to represent this data varies between OS, EC2 and Rackspace. Also, EC2 boasts a
`datetime` value in `extra`, while OpenStack and derivatives use a plain string.
This PR adds a `created` attribute to VolumeSnapshot, that is a parsed
date. This unified all implementations.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ByteInternet/libcloud
uniform-snapshot-creation-attribute
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/libcloud/pull/473.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #473
----
commit e727798709fa9c295877a58f77c8fe7f7f98ec61
Author: Allard Hoeve <[email protected]>
Date: 2015-03-03T15:37:38Z
Consolidate snapshot creation time into created attr
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---