Skip to content

Commit 02e6f06

Browse files
Mika Lackmaniler
authored andcommitted
added missing zones and templates. Also version update
1 parent 091fdbe commit 02e6f06

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
setup(
66
name='upcloud-api',
7-
version='0.4.1',
7+
version='0.4.2',
88
description='UpCloud API Client',
99
author='Elias Nygren',
1010
maintainer='Mika Lackman',

upcloud_api/constants.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,19 @@
33

44
import re
55

6+
67
class ZONE(object):
78
"""
89
Enums for UpCloud's Zones.
910
"""
1011

1112
Helsinki = 'fi-hel1'
13+
Helsinki2 = 'fi-hel2'
1214
London = 'uk-lon1'
1315
Chicago = 'us-chi1'
1416
Frankfurt = 'de-fra1'
17+
Amsterdam = 'nl-ams1'
18+
Singapore = 'sg-sin1'
1519

1620

1721
class OperatingSystems(object):
@@ -24,11 +28,13 @@ class OperatingSystems(object):
2428
'CentOS 7.0': '01000000-0000-4000-8000-000050010300',
2529
'Debian 7.8': '01000000-0000-4000-8000-000020020100',
2630
'Debian 8.0': '01000000-0000-4000-8000-000020030100',
31+
'Debian 9.0': '01000000-0000-4000-8000-000020040100',
2732
'Ubuntu 12.04': '01000000-0000-4000-8000-000030030200',
2833
'Ubuntu 14.04': '01000000-0000-4000-8000-000030040200',
2934
'Ubuntu 16.04': '01000000-0000-4000-8000-000030060200',
30-
'Windows 2008': '01000000-0000-4000-8000-000010030200',
31-
'Windows 2012': '01000000-0000-4000-8000-000010050200'
35+
'CoreOS Stable 1068.8.0': '01000000-0000-4000-8000-000080010200',
36+
'Windows 2012': '01000000-0000-4000-8000-000010050200',
37+
'Windows 2016': '01000000-0000-4000-8000-000010060200',
3238
}
3339

3440
@classmethod

0 commit comments

Comments
 (0)