Skip to content

Commit 3778665

Browse files
authored
Merge pull request #1 from softlayer/master
update from original repo
2 parents 8a755be + 3faaa7d commit 3778665

File tree

6 files changed

+24
-18
lines changed

6 files changed

+24
-18
lines changed

SoftLayer/CLI/image/export.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def cli(env, identifier, uri, ibm_api_key):
2424
2525
The URI for an object storage object (.vhd/.iso file) of the format:
2626
swift://<objectStorageAccount>@<cluster>/<container>/<objectPath>
27-
or cos://<clusterName>/<bucketName>/<objectPath> if using IBM Cloud
27+
or cos://<regionName>/<bucketName>/<objectPath> if using IBM Cloud
2828
Object Storage
2929
"""
3030

SoftLayer/CLI/image/import.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def cli(env, name, note, os_code, uri, ibm_api_key, root_key_id, wrapped_dek,
5252
5353
The URI for an object storage object (.vhd/.iso file) of the format:
5454
swift://<objectStorageAccount>@<cluster>/<container>/<objectPath>
55-
or cos://<clusterName>/<bucketName>/<objectPath> if using IBM Cloud
55+
or cos://<regionName>/<bucketName>/<objectPath> if using IBM Cloud
5656
Object Storage
5757
"""
5858

SoftLayer/managers/image.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -131,15 +131,15 @@ def import_image_from_uri(self, name, uri, os_code=None, note=None,
131131
(.vhd/.iso file) of the format:
132132
swift://<objectStorageAccount>@<cluster>/<container>/<objectPath>
133133
or (.vhd/.iso/.raw file) of the format:
134-
cos://<clusterName>/<bucketName>/<objectPath> if using IBM Cloud
134+
cos://<regionName>/<bucketName>/<objectPath> if using IBM Cloud
135135
Object Storage
136136
:param string os_code: The reference code of the operating system
137137
:param string note: Note to add to the image
138138
:param string ibm_api_key: Ibm Api Key needed to communicate with ICOS
139-
and Key Protect
139+
and Key Protect
140140
:param string root_key_id: ID of the root key in Key Protect
141141
:param string wrapped_dek: Wrapped Data Encryption Key provided by
142-
IBM KeyProtect
142+
IBM KeyProtect
143143
:param string kp_id: ID of the IBM Key Protect Instance
144144
:param boolean cloud_init: Specifies if image is cloud-init
145145
:param boolean byol: Specifies if image is bring your own license
@@ -173,10 +173,10 @@ def export_image_to_uri(self, image_id, uri, ibm_api_key=None):
173173
:param int image_id: The ID of the image
174174
:param string uri: The URI for object storage of the format
175175
swift://<objectStorageAccount>@<cluster>/<container>/<objectPath>
176-
or cos://<clusterName>/<bucketName>/<objectPath> if using IBM Cloud
176+
or cos://<regionName>/<bucketName>/<objectPath> if using IBM Cloud
177177
Object Storage
178178
:param string ibm_api_key: Ibm Api Key needed to communicate with IBM
179-
Cloud Object Storage
179+
Cloud Object Storage
180180
"""
181181
if 'cos://' in uri:
182182
return self.vgbdtg.copyToIcos({

setup.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
setup(
1616
name='SoftLayer',
17-
version='5.6.0',
17+
version='5.6.1',
1818
description=DESCRIPTION,
1919
long_description=LONG_DESCRIPTION,
2020
author='SoftLayer Technologies, Inc.',
@@ -33,12 +33,12 @@
3333
'six >= 1.7.0',
3434
'ptable >= 0.9.2',
3535
'click >= 7',
36-
'requests == 2.19.1',
36+
'requests >= 2.20.0',
3737
'prompt_toolkit >= 0.53',
3838
'pygments >= 2.0.0',
39-
'urllib3 == 1.22'
39+
'urllib3 >= 1.24'
4040
],
41-
keywords=['softlayer', 'cloud'],
41+
keywords=['softlayer', 'cloud', 'slcli'],
4242
classifiers=[
4343
'Environment :: Console',
4444
'Environment :: Web Environment',

tools/requirements.txt

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
requests == 2.19.1
2-
click >= 5, < 7
3-
prettytable >= 0.7.0
41
six >= 1.7.0
5-
prompt_toolkit
6-
urllib3 == 1.22
2+
ptable >= 0.9.2
3+
click >= 7
4+
requests >= 2.20.0
5+
prompt_toolkit >= 0.53
6+
pygments >= 2.0.0
7+
urllib3 >= 1.24

tools/test-requirements.txt

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,10 @@ pytest-cov
44
mock
55
sphinx
66
testtools
7-
urllib3 == 1.22
8-
requests == 2.19.1
7+
six >= 1.7.0
8+
ptable >= 0.9.2
9+
click >= 7
10+
requests >= 2.20.0
11+
prompt_toolkit >= 0.53
12+
pygments >= 2.0.0
13+
urllib3 >= 1.24

0 commit comments

Comments
 (0)