python-apache-libcloud/image_projects.patch
Tomáš Chvátal c5b3e8b2d6 Accepting request 629282 from home:seanmarlow:branches:devel:languages:python
- Cleanup RPM warnings.
- Add image_projects.patch with updated list of latest image projects.

A patch was accepted upstream many months ago to fix the list but it has never made it to a new version. And now that patch is out of date. Suggest we keep a patch of image projects to ensure the list is up-to-date.

https://github.com/apache/libcloud/pull/1143

OBS-URL: https://build.opensuse.org/request/show/629282
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apache-libcloud?expand=0&rev=79
2018-08-16 10:46:08 +00:00

58 lines
2.5 KiB
Diff

Index: apache-libcloud-2.3.0/libcloud/compute/drivers/gce.py
===================================================================
--- apache-libcloud-2.3.0.orig/libcloud/compute/drivers/gce.py
+++ apache-libcloud-2.3.0/libcloud/compute/drivers/gce.py
@@ -1751,16 +1751,42 @@ class GCENodeDriver(NodeDriver):
}
IMAGE_PROJECTS = {
- "centos-cloud": ["centos"],
- "coreos-cloud": ["coreos"],
- "debian-cloud": ["debian", "backports"],
- "gce-nvme": ["nvme-backports"],
- "google-containers": ["container-vm"],
- "opensuse-cloud": ["opensuse"],
- "rhel-cloud": ["rhel"],
- "suse-cloud": ["sles", "suse"],
- "ubuntu-os-cloud": ["ubuntu"],
- "windows-cloud": ["windows"],
+ "centos-cloud": ["centos-6", "centos-7"],
+ "cos-cloud": ["cos-beta", "cos-dev", "cos-stable"],
+ "coreos-cloud": ["coreos-alpha", "coreos-beta", "coreos-stable"],
+ "debian-cloud": ["debian-8", "debian-9"],
+ "opensuse-cloud": ["opensuse-leap"],
+ "rhel-cloud": ["rhel-6", "rhel-7"],
+ "suse-cloud": ["sles-11", "sles-12", "sles-15"],
+ "suse-byos-cloud": [
+ "sles-11-byos", "sles-12-byos",
+ "sles-12-sp2-sap-byos", "sles-12-sp3-sap-byos",
+ "sles-15-sap-byos",
+ "suse-manager-proxy-byos", "suse-manager-server-byos"
+ ],
+ "suse-sap-cloud": [
+ "sles-12-sp2-sap", "sles-12-sp3-sap",
+ "sles-15-sap"
+ ],
+ "ubuntu-os-cloud": [
+ "ubuntu-1404-lts", "ubuntu-1604-lts", "ubuntu-1710"
+ ],
+ "windows-cloud": [
+ "windows-1709-core-for-containers", "windows-1709-core",
+ "windows-2008-r2", "windows-2012-r2-core", "windows-2012-r2",
+ "windows-2016-core", "windows-2016"
+ ],
+ "windows-sql-cloud": [
+ "sql-ent-2012-win-2012-r2", "sql-std-2012-win-2012-r2",
+ "sql-web-2012-win-2012-r2", "sql-ent-2014-win-2012-r2",
+ "sql-ent-2014-win-2016", "sql-std-2014-win-2012-r2",
+ "sql-web-2014-win-2012-r2", "sql-ent-2016-win-2012-r2",
+ "sql-ent-2016-win-2016", "sql-std-2016-win-2012-r2",
+ "sql-std-2016-win-2016", "sql-web-2016-win-2012-r2",
+ "sql-web-2016-win-2016", "sql-ent-2017-win-2016",
+ "sql-exp-2017-win-2012-r2", "sql-exp-2017-win-2016",
+ "sql-std-2017-win-2016", "sql-web-2017-win-2016"
+ ],
}
BACKEND_SERVICE_PROTOCOLS = ['HTTP', 'HTTPS', 'HTTP2', 'TCP', 'SSL']