GitHub user xofer opened a pull request:
https://github.com/apache/libcloud/pull/1099
[LIBCLOUD-940] Add 'end' to ec2 Reserved Instance data
## Add 'end' to ec2 Reserved Instance data
### Description
The [DescribeReservedInstances
API](http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeReservedInstances.html)
returns 3 fields related to the timeframe of the reservation:
* start
* end
* duration
When a reservation is modified, start changes to the effective date of the
modification, but duration remains the same (number of seconds in 1 or 3
years). The only way to determine when a modified reservation expires is to use
the end date.
### Status
done, ready for review
### Checklist (tick everything that applies)
- [ ] [Code
linting](http://libcloud.readthedocs.org/en/latest/development.html#code-style-guide)
(required, can be done after the PR checks)
- [ ] Documentation
- [ ] [Tests](http://libcloud.readthedocs.org/en/latest/testing.html)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/xofer/libcloud ec2-ri-end
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/libcloud/pull/1099.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 #1099
----
----
---
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.
---