Skip to content

Commit f3a2d3b

Browse files
version to 5.5.0
1 parent 1a32cfd commit f3a2d3b

File tree

6 files changed

+64
-4
lines changed

6 files changed

+64
-4
lines changed

CHANGELOG.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,24 @@
11
# Change Log
22

3+
## [5.5.0] - 2018-07-09
4+
- Changes: https://github.com/softlayer/softlayer-python/compare/v5.4.4...master
5+
6+
- Added a warning when ordering legacy storage volumes
7+
- Added documentation link to volume-order
8+
- Increased slcli output width limit to 999 characters
9+
- More unit tests
10+
- Fixed an issue canceling some block storage volumes
11+
- Fixed `slcli order` to work with network gateways
12+
- Fixed an issue showing hardware credentials when they do not exist
13+
- Fixed an issue showing addressSpace when listing virtual servers
14+
- Updated ordering class to support baremetal servers with multiple GPU
15+
- Updated prompt-toolkit as a fix for `slcli shell`
16+
- Fixed `slcli vlan detail` to not fail when objects don't have a hostname
17+
- Added user management
18+
319

420
## [5.4.4] - 2018-04-18
5-
- Changes: https://github.com/softlayer/softlayer-python/compare/v5.4.3...master
21+
- Changes: https://github.com/softlayer/softlayer-python/compare/v5.4.3...v5.4.4
622

723
- fixed hw list not showing transactions
824
- Re-factored RestTransport and XMLRPCTransport, logging is now only done in the DebugTransport

README.rst

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,49 @@ Bugs and feature requests about this library should have a `GitHub issue <https:
7272

7373
Issues with the Softlayer API itself should be addressed by opening a ticket.
7474

75+
76+
Examples
77+
--------
78+
79+
A curated list of examples on how to use this library can be found at `softlayer.github.io <https://softlayer.github.io/python/>`_
80+
81+
Debugging
82+
---------
83+
To get the exact API call that this library makes, you can do the following.
84+
85+
For the CLI, just use the -vvv option. If you are using the REST endpoint, this will print out a curl command that you can use, if using XML, this will print the minimal python code to make the request without the softlayer library.
86+
87+
.. code-block:: bash
88+
$ slcli -vvv vs list
89+
90+
91+
If you are using the library directly in python, you can do something like this.
92+
93+
.. code-bock:: python
94+
import SoftLayer
95+
import logging
96+
97+
class invoices():
98+
99+
def __init__(self):
100+
self.client = SoftLayer.Client()
101+
debugger = SoftLayer.DebugTransport(self.client.transport)
102+
self.client.transport = debugger
103+
104+
def main(self):
105+
mask = "mask[id]"
106+
account = self.client.call('Account', 'getObject', mask=mask);
107+
print("AccountID: %s" % account['id'])
108+
109+
def debug(self):
110+
for call in self.client.transport.get_last_calls():
111+
print(self.client.transport.print_reproduceable(call))
112+
113+
if __name__ == "__main__":
114+
main = example()
115+
main.main()
116+
main.debug()
117+
75118
System Requirements
76119
-------------------
77120
* Python 2.7, 3.3, 3.4, 3.5 or 3.6.

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.4.4'
8+
VERSION = 'v5.5.0'
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/'

docs/cli.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ functionality not fully documented here.
1515
cli/ipsec
1616
cli/vs
1717
cli/ordering
18+
cli/users
1819

1920

2021
.. _config_setup:

setup.py

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

1515
setup(
1616
name='SoftLayer',
17-
version='5.4.4',
17+
version='5.5.0',
1818
description=DESCRIPTION,
1919
long_description=LONG_DESCRIPTION,
2020
author='SoftLayer Technologies, Inc.',

snap/snapcraft.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: slcli # check to see if it's available
2-
version: '5.4.4.1+git' # check versioning
2+
version: '5.5.0+git' # check versioning
33
summary: Python based SoftLayer API Tool. # 79 char long summary
44
description: |
55
A command-line interface is also included and can be used to manage various SoftLayer products and services.

0 commit comments

Comments
 (0)