Skip to content

Commit 5deb159

Browse files
authored
Merge pull request #1 from apache/trunk
Merge upstream
2 parents ca38440 + c58e892 commit 5deb159

File tree

135 files changed

+3931
-615
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

135 files changed

+3931
-615
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,4 @@ include/
3030
lib/
3131
pip-selfcheck.json
3232
report.html
33+
.pytest_cache

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ addons:
1616
apt:
1717
packages:
1818
- graphviz
19-
- libvirt-bin
19+
- libvirt-dev
2020

2121
matrix:
2222
fast_finish: true
@@ -42,7 +42,7 @@ matrix:
4242
packages:
4343
- graphviz
4444
- gcc
45-
- libvirt-bin
45+
- libvirt-dev
4646
# Trigger ReadTheDocs build on docs builder
4747
after_success:
4848
- ./contrib/trigger_rtd_build.py 8284

CHANGES.rst

Lines changed: 193 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -1,73 +1,130 @@
11
Changelog
22
=========
33

4-
Changes in Apach Libcloud in development
5-
----------------------------------------
4+
Changes in Apache Libcloud in development
5+
-----------------------------------------
6+
7+
- Cleanup various Python files
8+
(GITHUB-1182, GITHUB-1183, GITHUB-1185, GITHUB-1186, GITHUB-1187, GITHUB-1188)
9+
[Rémy Léone]
10+
11+
Compute
12+
~~~~~~~
13+
14+
- [ARM] Support OS disk size definition on node creation (GITHUB-1196)
15+
[Vojta Bartoš]
16+
17+
- [Digital Ocean] Support floating IPs (GITHUB-1177)
18+
[Rick van de Loo]
19+
20+
- [Digital Ocean] Support attach/detach for floating IPs (GITHUB-1191)
21+
[Rick van de Loo]
22+
23+
- [Dimension Data] Fix IndexError in list_images (GITHUB-1171)
24+
[Adam Friedman]
25+
26+
- [EC2] Add AWS eu-west-3 (Paris) region (GITHUB-1175)
27+
[Anthony Monthe]
28+
29+
- [GCE] Expand Firewall options coverage (LIBCLOUD-960, GITHUB-1144)
30+
[maxlip]
31+
32+
- [GCE] Expand network and subnetwork options coverage (LIBCLOUD-985, GITHUB-1181)
33+
[maxlip]
34+
35+
- [GCE] Extend ex_create_address to allow internal ip creation (GITHUB-1174)
36+
[Jeremy Solarz]
37+
38+
- [GCE] Allow shared VPC in managed instance group creation (GITHUB-1179)
39+
[Boris Chazalet]
40+
41+
- [GCE] Support disk_size parameter for boot disk when creating instance
42+
(LIBCLOUD-973, GITHUB-1162)
43+
[Rahul Paigavan]
44+
45+
- [GCE] Update public image projects list (LIBCLOUD-961, GITHUB-1143)
46+
[Sean Marlow]
47+
48+
- [GCE] Fix _find_zone_or_region for >500 instances (GITHUB-1203)
49+
[Léo Ferlin-Sutton]
50+
51+
- [OpenStack] Implement Glance Image API v2 (GITHUB-1151)
52+
[Rick van de Loo]
53+
54+
- [OpenStack] Fix spelling in ex_files description (GITHUB-1197)
55+
[Ken Dreyer]
56+
57+
- [OpenStack v2] Allow listing image members (GITHUB-1172)
58+
[Rick van de Loo]
59+
60+
- [OpenStack v2] Allow creating and accepting image members (GITHUB-1176)
61+
[Rick van de Loo]
62+
63+
- [OpenStack v2] Fix image members methods (GITHUB-1190)
64+
[Rick van de Loo]
65+
66+
DNS
67+
~~~
68+
69+
- [Google Cloud DNS] Document driver instantiation (GITHUB-1198)
70+
[Gareth McFarlane]
71+
72+
Storage
73+
~~~~~~~
74+
75+
- Update docstring for storage provider class (GITHUB-1201)
76+
[Clemens Wolff]
77+
78+
- [Azure Blob storage] Allow filtering lists by prefix (LIBCLOUD-986, GITHUB-1193)
79+
[Joshua Hawkinson]
80+
81+
- [S3] Guess s3 upload content type (LIBCLOUD-958, GITHUB-1195)
82+
[Iuri de Silvio]
83+
84+
Changes in Apache Libcloud 2.3.0
85+
--------------------------------
686

787
- Drop support for Python 2.6 and Python 3.3
888
They're no longer supported, and the Python ecosystem is starting to
989
drop support: two of our test dependencies no longer support them.
1090
[Quentin Pradet]
1191

92+
- Made pytest-runner optional (GITHUB-1167)
93+
[Vlad Glagolev]
94+
1295
Common
1396
~~~~~~
1497

1598
- Improve warning when CA_CERTS_PATH is incorrectly passed as a list (GITHUB-1118)
1699
[Quentin Pradet]
17100

18-
Compute
19-
~~~~~~~
101+
- Cleaned up and corrected third-party drivers documentation (GITHUB-1148)
102+
[Daniel Hunsaker]
20103

21-
- [GCE] Allow adding labels to images (GITHUB-1138)
22-
[Katriel Traum, Eric Johnson]
104+
- Modernized a few Python examples (GITHUB-1164)
105+
[Batuhan Osman Taşkaya]
23106

24-
- [GCE] Allow adding license strings to images (GITHUB-1136)
25-
[Katriel Traum, Eric Johnson]
26-
27-
- [UpCloud] New driver for UpCloud (LIBCLOUD-938, GITHUB-1102)
28-
[Mika Lackman, Ilari Mäkelä]
29-
30-
- [EC2] Add new x1.16xlarge and x1e.32xlarge instance type. (GITHUB-1101)
31-
[Anthony Monthe]
32-
33-
- [EC2] Add AWS EC2 c5 series (GITHUB-1147)
34-
[Anthony Monthe]
35-
36-
- [EC2] Update pricing information for EC2 instances.
37-
[Tomaz Muraus]
38-
39-
- Update ProfitBricks driver and add support for the new API v4. (GITHUB-1103)
40-
[Nurfet Becirevic]
107+
- [OpenStack] Authentify with updated Identity API
108+
(LIBCLOUD-965, GITHUB-1145)
109+
[Miguel Caballer]
41110

42-
- [GCE] Support GCE node labels. (LIBCLOUD-934, GITHUB-1115)
43-
[@maxlip]
111+
Compute
112+
~~~~~~~
44113

45-
- [GCE] Fix `GCEList` pagination. (GITHUB-1095)
46-
[Yap Sok Ann]
114+
- Fix "wait_until_running() method so it also works correctly and doesn't
115+
append "None" to the addresses list if node has no IP address.
116+
(GITHUB-1156, LIBCLOUD-971)
117+
[Tobias Paepke]
47118

48119
- [ARM] Fix checking for "location is None" in several functions (LIBCLOUD-926, GITHUB-1098)
49120
[Sameh Elsharkawy]
50121

51122
- [ARM] Fix error when using SSH key auth with Python 3 (GITHUB-1098)
52123
[Sameh Elsharkawy]
53124

54-
- [GCE] Allow setting service account in instance templates (LIBCLOUD-947, GITHUB-1108)
55-
[Evan Carter]
56-
57125
- [ARM] Fix API call on powerOff, understand PAUSED state (GITHUB-1003)
58126
[Markos Gogoulos]
59127

60-
- [UpCloud] Use disk size and storage tier also when creating node from template
61-
(LIBCLOUD-952, GITHUB-1124)
62-
[Mika Lackman]
63-
64-
- [UpCloud] Allow to define hostname and username
65-
(LIBCLOUD-951, LIBCLOUD-953, GITHUB-1123, GITHUB-1125)
66-
[Mika Lackman]
67-
68-
- [UpCloud] Add pricing information to list_sizes (LIBCLOUD-969, GITHUB-1152)
69-
[Mika Lackman]
70-
71128
- [ARM] Delete VHDs more reliably in destroy_node(), raise exception on unhandled errors
72129
(GITHUB-1120)
73130
[Lucas Di Pentima]
@@ -79,32 +136,100 @@ Compute
79136
(GITHUB-1126)
80137
[Peter Amstutz, Lucas Di Pentima]
81138

82-
- [EC2] Allow cn-north-1 even without pricing information
83-
(LIBCLOUD-954, GITHUB-1127)
84-
[Quentin Pradet]
139+
- [ARM] Fix delete_old_vhd (GITHUB-1137)
140+
[Peter Amstutz, Lucas Di Pentima]
141+
142+
- [ARM] Limit number of retries in destroy_node (GITHUB-1134)
143+
[Peter Amstutz, Lucas Di Pentima]
144+
145+
- [ARM] Fix Retry-After header handling (GITHUB-1139)
146+
[Lucas Di Pentima]
147+
148+
- [CloudStack] Handle NICs without addresses (GITHUB-1141)
149+
[Pierre-Yves Ritschard]
150+
151+
- [CloudStack] Add change size and restore (LIBCLOUD-975, GITHUB-1166)
152+
[Mauro Murari]
85153

86154
- [Digital Ocean] Add ex_enable_ipv6 in DigitalOcean_v2 driver
87155
(GITHUB-1130)
88156
[Rick van de Loo]
89157

158+
- [Digital Ocean] Add support for tags in list_nodes()
159+
(LIBCLOUD-967, GITHUB-1149)
160+
[Mike Fischer]
161+
162+
- [Digital Ocean] Add rebuild and resize commands
163+
(LIBCLOUD-977, GITHUB-1169)
164+
[Adam Wight]
165+
166+
- [EC2] Add new x1.16xlarge and x1e.32xlarge instance type. (GITHUB-1101)
167+
[Anthony Monthe]
168+
169+
- [EC2] Add AWS EC2 c5 series (GITHUB-1147)
170+
[Anthony Monthe]
171+
172+
- [EC2] Add AWS EC2 M5 sizes (GITHUB-1159)
173+
[Anthony Monthe]
174+
175+
- [EC2] Update pricing information for EC2 instances.
176+
[Tomaz Muraus]
177+
178+
- [EC2] Allow cn-north-1 even without pricing information
179+
(LIBCLOUD-954, GITHUB-1127)
180+
[Quentin Pradet]
181+
90182
- [EC2] Fix EBS volume encryption (GITHUB-1008)
91183
[Sergey Babak]
92184

185+
- [ECS Aliyun] Support modify_security_group_attributes (GITHUB-1157)
186+
[Zhang Yiming]
187+
188+
- [GCE] Allow adding labels to images (GITHUB-1138)
189+
[Katriel Traum, Eric Johnson]
190+
191+
- [GCE] Allow adding license strings to images (GITHUB-1136)
192+
[Katriel Traum, Eric Johnson]
193+
194+
- [GCE] Support GCE node labels. (LIBCLOUD-934, GITHUB-1115)
195+
[@maxlip]
196+
197+
- [GCE] Fix `GCEList` pagination. (GITHUB-1095)
198+
[Yap Sok Ann]
199+
200+
- [GCE] Allow setting service account in instance templates (LIBCLOUD-947, GITHUB-1108)
201+
[Evan Carter]
202+
93203
- [GCE] Add support for private IP addresses in GCE instance creation
94204
(LIBCLOUD-944, GITHUB-1107)
95205
[Gareth Mcfarlane]
96206

97-
- [ARM] Fix delete_old_vhd (GITHUB-1137)
98-
[Peter Amstutz, Lucas Di Pentima]
207+
- [GCE] Allow for use of shared network (VPC) and subnetwork (GITHUB-1165)
208+
[Boris Chazalet]
99209

100-
- [ARM] Limit number of retries in destroy_node (GITHUB-1134)
101-
[Peter Amstutz, Lucas Di Pentima]
210+
- [GCE] Add support for accelerators (LIBCLOUD-963, GITHUB-1163)
211+
[Michael Johnson]
102212

103-
- [ARM] Fix Retry-After header handling (GITHUB-1139)
104-
[Lucas Di Pentima]
213+
- [ProfitBricks] Update driver and add support for the new API v4. (GITHUB-1103)
214+
[Nurfet Becirevic]
215+
216+
- [ProfitBricks] Fix list_snapshots() method (GITHUB-1153)
217+
[Chad Phillips]
218+
219+
- [UpCloud] New driver for UpCloud (LIBCLOUD-938, GITHUB-1102)
220+
[Mika Lackman, Ilari Mäkelä]
221+
222+
- [UpCloud] Use disk size and storage tier also when creating node from template
223+
(LIBCLOUD-952, GITHUB-1124)
224+
[Mika Lackman]
225+
226+
- [UpCloud] Allow to define hostname and username
227+
(LIBCLOUD-951, LIBCLOUD-953, GITHUB-1123, GITHUB-1125)
228+
[Mika Lackman]
229+
230+
- [UpCloud] Add pricing information to list_sizes (LIBCLOUD-969, GITHUB-1152)
231+
[Mika Lackman]
105232

106-
- [CloudStack] Handle NICs without addresses (GITHUB-1141)
107-
[Pierre-Yves Ritschard]
108233

109234
Storage
110235
~~~~~~~
@@ -115,6 +240,22 @@ Storage
115240
- [Digital Ocean Spaces] Add support for AMS3 region (GITHUB-1142)
116241
[Andrew Starr-Bochicchio]
117242

243+
- [Digital Ocean Spaces] Add support for SGP1 region (GITHUB-1168)
244+
[Andrew Starr-Bochicchio]
245+
246+
- Fix a bug / regression which resulted in increased memory consumption when
247+
using ``download_object`` method. This method would store whole object
248+
content in memory even though there was no need for that.
249+
250+
This regression was introduced in 2.0.0 when we moved to using ``requests``
251+
library.
252+
(GITHUB-1132)
253+
[Quentin Pradet]
254+
255+
- Fix a regression with hash computation performance and memory usage on object
256+
upload inadvertently introduced in 2.0.0 and make it more efficient.
257+
(GITHUB-1135)
258+
[Quentin Pradet]
118259

119260
Changes in Apache Libcloud 2.2.1
120261
--------------------------------

README.rst

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ Apache Libcloud - a unified interface for the cloud
77
.. image:: https://img.shields.io/pypi/v/apache-libcloud.svg
88
:target: https://pypi.python.org/pypi/apache-libcloud/
99

10-
.. image:: https://img.shields.io/pypi/dm/apache-libcloud.svg
11-
:target: https://pypi.python.org/pypi/apache-libcloud/
12-
1310
.. image:: https://img.shields.io/travis/apache/libcloud/trunk.svg
1411
:target: http://travis-ci.org/apache/libcloud
1512

13+
.. image:: https://img.shields.io/codecov/c/github/apache/libcloud/trunk.svg
14+
:target: https://codecov.io/github/apache/libcloud?branch=trunk
15+
1616
.. image:: https://img.shields.io/pypi/pyversions/apache-libcloud.svg
1717
:target: https://pypi.python.org/pypi/apache-libcloud/
1818

@@ -22,15 +22,9 @@ Apache Libcloud - a unified interface for the cloud
2222
.. image:: https://img.shields.io/github/license/apache/libcloud.svg
2323
:target: https://github.com/apache/libcloud/blob/trunk/LICENSE
2424

25-
.. image:: https://img.shields.io/irc/%23libcloud.png
26-
:target: http://webchat.freenode.net/?channels=libcloud
27-
2825
.. image:: https://bestpractices.coreinfrastructure.org/projects/152/badge
2926
:target: https://bestpractices.coreinfrastructure.org/projects/152
3027

31-
.. image:: https://img.shields.io/codecov/c/github/apache/libcloud/trunk.svg
32-
:target: https://codecov.io/github/apache/libcloud?branch=trunk
33-
3428
Apache Libcloud is a Python library which hides differences between different
3529
cloud provider APIs and allows you to manage different cloud resources
3630
through a unified and easy to use API.
45.1 KB
Loading
166 KB
Loading
17.3 KB
Loading
115 KB
Loading
80.1 KB
Loading

0 commit comments

Comments
 (0)