Skip to content

Commit a8e7c26

Browse files
authored
Merge pull request #2 from softlayer/master
update from original repo
2 parents 3778665 + d6821f3 commit a8e7c26

File tree

18 files changed

+67
-28
lines changed

18 files changed

+67
-28
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Change Log
22

3+
## [5.6.3] - 2018-11-07
4+
5+
- Changes: https://github.com/softlayer/softlayer-python/compare/v5.6.0...v5.6.3
6+
7+
+ #1065 Updated urllib3 and requests libraries due to CVE-2018-18074
8+
+ #1070 Fixed an ordering bug
9+
+ Updated release process and fab-file
10+
311
## [5.6.0] - 2018-10-16
412
- Changes: https://github.com/softlayer/softlayer-python/compare/v5.5.3...v5.6.0
513

SoftLayer/CLI/securitygroup/rule.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@
1515
'ethertype',
1616
'portRangeMin',
1717
'portRangeMax',
18-
'protocol']
18+
'protocol',
19+
'createDate',
20+
'modifyDate']
1921

2022

2123
@click.command()
@@ -49,7 +51,9 @@ def rule_list(env, securitygroup_id, sortby):
4951
rule.get('ethertype') or formatting.blank(),
5052
port_min,
5153
port_max,
52-
rule.get('protocol') or formatting.blank()
54+
rule.get('protocol') or formatting.blank(),
55+
rule.get('createDate') or formatting.blank(),
56+
rule.get('modifyDate') or formatting.blank()
5357
])
5458

5559
env.fout(table)

SoftLayer/CLI/virt/create_options.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
"""Virtual server order options."""
22
# :license: MIT, see LICENSE for more details.
3+
# pylint: disable=too-many-statements
34
import os
45
import os.path
56

SoftLayer/CLI/vpn/ipsec/translation/add.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,10 @@
1111

1212
@click.command()
1313
@click.argument('context_id', type=int)
14-
# todo: Update to utilize custom IP address type
1514
@click.option('-s',
1615
'--static-ip',
1716
required=True,
1817
help='Static IP address value')
19-
# todo: Update to utilize custom IP address type
2018
@click.option('-r',
2119
'--remote-ip',
2220
required=True,

SoftLayer/CLI/vpn/ipsec/translation/update.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,10 @@
1515
required=True,
1616
type=int,
1717
help='Translation identifier to update')
18-
# todo: Update to utilize custom IP address type
1918
@click.option('-s',
2019
'--static-ip',
2120
default=None,
2221
help='Static IP address value')
23-
# todo: Update to utilize custom IP address type
2422
@click.option('-r',
2523
'--remote-ip',
2624
default=None,

SoftLayer/CLI/vpn/ipsec/update.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
@click.option('--friendly-name',
1414
default=None,
1515
help='Friendly name value')
16-
# todo: Update to utilize custom IP address type
1716
@click.option('--remote-peer',
1817
default=None,
1918
help='Remote peer IP address value')

SoftLayer/consts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
:license: MIT, see LICENSE for more details.
77
"""
8-
VERSION = 'v5.6.0'
8+
VERSION = 'v5.6.3'
99
API_PUBLIC_ENDPOINT = 'https://api.softlayer.com/xmlrpc/v3.1/'
1010
API_PRIVATE_ENDPOINT = 'https://api.service.softlayer.com/xmlrpc/v3.1/'
1111
API_PUBLIC_ENDPOINT_REST = 'https://api.softlayer.com/rest/v3.1/'

SoftLayer/managers/hardware.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def cancel_hardware(self, hardware_id, reason='unneeded', comment='', immediate=
9292
billing_id = hw_billing['billingItem']['id']
9393

9494
if immediate and not hw_billing['hourlyBillingFlag']:
95-
LOGGER.warning("Immediate cancelation of montly servers is not guaranteed. " +
95+
LOGGER.warning("Immediate cancelation of montly servers is not guaranteed."
9696
"Please check the cancelation ticket for updates.")
9797

9898
result = self.client.call('Billing_Item', 'cancelItem',

SoftLayer/managers/ipsec.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -227,10 +227,6 @@ def update_translation(self, context_id, translation_id, static_ip=None,
227227
translation.pop('customerIpAddressId', None)
228228
if notes is not None:
229229
translation['notes'] = notes
230-
# todo: Update this signature to return the updated translation
231-
# once internal and customer IP addresses can be fetched
232-
# and set on the translation object, i.e. that which is
233-
# currently being handled in get_translations
234230
self.context.editAddressTranslation(translation, id=context_id)
235231
return True
236232

SoftLayer/managers/network.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ def get_securitygroup(self, group_id, **kwargs):
372372
'description,'
373373
'''rules[id, remoteIp, remoteGroupId,
374374
direction, ethertype, portRangeMin,
375-
portRangeMax, protocol],'''
375+
portRangeMax, protocol, createDate, modifyDate],'''
376376
'''networkComponentBindings[
377377
networkComponent[
378378
id,

0 commit comments

Comments
 (0)