Skip to content

Commit fd05ac1

Browse files
committed
1.1.1 release
1 parent 506ffb8 commit fd05ac1

File tree

104 files changed

+2124
-250
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

104 files changed

+2124
-250
lines changed

CHANGELOG.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,25 @@ The format is based on `Keep a Changelog <http://keepachangelog.com/>`_.
88
Unreleased
99
============
1010

11+
====================
12+
1.1.1 - 2017-02-03
13+
====================
14+
15+
-------
16+
Added
17+
-------
18+
19+
* Support for iPXE script parameter to launch_instance operation
20+
* Support for stateless security list rules
1121

1222
====================
1323
1.1.0 - 2017-02-03
1424
====================
1525

26+
-------
27+
Added
28+
-------
29+
1630
* Support added for Core Services:
1731

1832
* Block Storage

docs/api/index.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,15 @@ Virtual Network
2929
===============
3030

3131
.. autoclass:: oraclebmc.core.virtual_network_client.VirtualNetworkClient
32+
:members:
3233

3334
--------
3435
Models
3536
--------
3637

3738
.. automodule:: oraclebmc.core.models
3839
:members:
40+
:undoc-members:
3941
:imported-members:
4042

4143
==========

docs/feedback.rst

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
.. _feedback:
2+
3+
4+
Questions or Feedback
5+
~~~~~~~~~~~~~~~~~~~~~~
6+
7+
Ways to get in touch:
8+
9+
* `GitHub`_: To file bugs and feature requests only
10+
11+
* `Stack Overflow`_: Please use the `oracle-bmcs`_ and `oracle-bmcs-python-sdk`_ tags in your post
12+
13+
* `Developer Tools section`_ of the Oracle Cloud forums
14+
15+
* `My Oracle Support`_
16+
17+
.. _GitHub: https://github.com/oracle/bmcs-python-sdk/issues
18+
.. _Stack Overflow: https://stackoverflow.com/
19+
.. _oracle-bmcs: https://stackoverflow.com/questions/tagged/oracle-bmcs
20+
.. _oracle-bmcs-python-sdk: https://stackoverflow.com/questions/tagged/oracle-bmcs-python-sdk
21+
.. _Developer Tools section: https://community.oracle.com/community/cloud_computing/bare-metal/content?filterID=contentstatus[published]~category[developer-tools]
22+
.. _My Oracle Support: https://support.oracle.com/

docs/index.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Oracle BMCS Python SDK
2-
~~~~~~~~~~~~~~~~~~~~~
2+
~~~~~~~~~~~~~~~~~~~~~~
33

44
This is the public Python SDK for Oracle Bare Metal Cloud Services. Python 2.7+ and 3.5+ are supported.
55

@@ -36,3 +36,4 @@ To get started, head over to the :ref:`installation instructions <install>` or s
3636
quickstart
3737
api/index
3838
license
39+
feedback

docs/installation.rst

Lines changed: 41 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ The Python SDK supports operations for the following services:
1010
* Object Storage Service
1111
* Core Services (Networking Service, Compute Service, and Block Volume Service)
1212

13-
1413
===============
1514
Prerequisites
1615
===============
@@ -19,15 +18,15 @@ The Python SDK supports operations for the following services:
1918
* A user created in that account, in a group with a policy that grants the desired permissions.
2019
This can be a user for yourself, or another person/system that needs to call the API.
2120
For an example of how to set up a new user, group, compartment, and policy, see
22-
`Adding Users`_ in the Getting Started Guide. For a list of other typical
23-
Oracle Bare Metal Cloud Services policies, see `Common Policies`_ in the User Guide.
21+
`Adding Users`_ in the Getting Started Guide. For a list of other typical
22+
Oracle Bare Metal Cloud Services policies, see `Common Policies`_ in the User Guide.
2423
* Python version 2.7.5 or 3.5 or later, running on Mac, Windows, or Linux.
2524
* The Python SDK uses the `cryptography.io`_ library, which has its own additional `build requirements`_.
2625
* The Python SDK requires `TLS 1.2`_, which versions of `openssl`_ before 1.0.1 do not provide.
2726
If your version of Python was built against an earlier version, you will need to install a new
2827
Python that links against a newer version.
2928
* A keypair used for signing API requests, with the public key uploaded to Oracle. Only the user calling
30-
the API should be in possession of the private key. See Configuring the SDK below.
29+
the API should be in possession of the private key. See Configuring the SDK below.
3130

3231
.. _Adding Users: https://docs.us-phoenix-1.oraclecloud.com/Content/GSG/Tasks/addingusers.htm
3332
.. _Common Policies: https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/commonpolicies.htm
@@ -41,12 +40,34 @@ The Python SDK supports operations for the following services:
4140
Downloading and Installing the SDK
4241
====================================
4342

44-
1. Download the SDK from `SDKs and Other Tools`_.
43+
You can install the Python SDK from GitHub or through the Python Package Index (PyPI).
44+
45+
To install from GitHub:
46+
47+
1. Download the SDK from `GitHub <https://github.com/oracle/bmcs-python-sdk/releases>`_.
4548
The download is a zip containing a whl file and documentation.
49+
2. Extract the files from the zip.
50+
3. Use the following command to install the SDK::
51+
52+
pip install oraclebmc-*-py2.py3-none-any.whl
53+
54+
.. note::
55+
56+
If you're unable to install the whl file, make sure pip is up to date.
57+
Use ``pip install -U pip`` and then try to install the whl file again.
58+
59+
To install from `PyPI <https://pypi.python.org/pypi/oraclebmc>`_:
60+
61+
Use the following command::
62+
63+
pip install oraclebmc
64+
65+
66+
(Optional)
67+
Oracle recommends that you run the SDK in a virtual environment with virtualenv.
4668

47-
2. (Optional) Oracle recommends that you run the SDK in a virtual environment with virtualenv.
4869
With Linux, it's usually in a separate package from the main Python package.
49-
If you need to install virtualenv, use pip install virtualenv.
70+
If you need to install virtualenv, use pip install virtualenv.
5071
To create and activate a virtual environment::
5172

5273
virtualenv <environment name>
@@ -57,23 +78,14 @@ The Python SDK supports operations for the following services:
5778
virtualenv bmcs_sdk_env
5879
. bmcs_sdk_env/bin/activate
5980

60-
3. Install the Python SDK using the following command::
61-
62-
pip install oraclebmc-*-py2.py3-none-any.whl
63-
64-
.. note::
6581

66-
If you're unable to install the whl file, make sure pip is up to date.
67-
Use ``pip install -U pip`` and then try to install the whl file again.
68-
69-
.. _SDKs and Other Tools: https://docs.us-phoenix-1.oraclecloud.com/Content/API/Concepts/sdks.htm
7082

7183
=====================
7284
Configuring the SDK
7385
=====================
7486

7587
Before using the SDK, you must set up your config file with the required credentials.
76-
For instructions, see `SDK and Tool Configuration`_ in the User Guide.
88+
For instructions, see `SDK and Tool Configuration`_ in the User Guide.
7789

7890
.. _SDK and Tool Configuration: https://docs.us-phoenix-1.oraclecloud.com/Content/API/Concepts/sdkconfig.htm
7991

@@ -118,7 +130,7 @@ You might encounter issues when installing Python or the SDK, or using the SDK i
118130
----------------------------
119131
Troubleshooting OEL Issues
120132
----------------------------
121-
On OEL 7.3, if you encounter permission issues when running pip install, you might need to use ``sudo``.
133+
On OEL 7.3, if you encounter permission issues when running pip install, you might need to use ``sudo``.
122134

123135
----------------------------
124136
Troubleshooting Mac Issues
@@ -176,21 +188,20 @@ reinstalling Python above. Make sure to also reinstall the wheel with this comma
176188

177189
pip install oraclebmc-*-py2.py3-none-any.whl
178190

179-
========================
180-
Questions or Feedback?
181-
========================
191+
================
192+
Contributions
193+
================
194+
195+
Got a fix for a bug, or a new feature you'd like to contribute? The SDK is open source and accepting pull requests on `GitHub`__.
182196

183-
Ways to get in touch:
197+
__ https://github.com/oracle/bmcs-python-sdk
184198

185-
* `Stack Overflow`_: Please use the `oracle-bmcs`_ and `oracle-bmcs-python-sdk`_ tags in your post
199+
================
200+
Notifications
201+
================
186202

187-
* `Developer Tools section`_ of the Oracle Cloud forums
203+
To be notified when a new version of the Python SDK is released, subscribe to the `Atom feed`_.
188204

189-
* `My Oracle Support`_
205+
.. _Atom feed: https://github.com/oracle/bmcs-python-sdk/releases.atom
190206

191-
.. _Stack Overflow: https://stackoverflow.com/
192-
.. _oracle-bmcs: https://stackoverflow.com/questions/tagged/oracle-bmcs
193-
.. _oracle-bmcs-python-sdk: https://stackoverflow.com/questions/tagged/oracle-bmcs-python-sdk
194-
.. _Developer Tools section: https://community.oracle.com/community/cloud_computing/bare-metal/content?filterID=contentstatus[published]~category[developer-tools]
195-
.. _My Oracle Support: https://support.oracle.com/
196207

0 commit comments

Comments
 (0)