227 Commits

Author SHA1 Message Date
Brian Curtin
21dcba4d53 Port identity v2 to resource2
This change moves over the identity v2 service to resource2/proxy2. It's
mostly a renaming and updating to fit the new API.

Change-Id: I95ab21c13bcdc24bf5daadf58f79d0f53c8bd75e
2017-04-26 15:34:19 -04:00
Brian Curtin
b835543f65 Enable warnings_as_errors in doc enforcer
Rather than occasionally playing catch-up until the wait_for methods are
removed from the base Proxy in 1.0, we can temporarily ignore those two
names. This allows us to make the doc build fail if undocumented proxy
methods occur.

After 1.0 we should remove the special cases for wait_for names, but
leave warnings_as_errors on.

Change-Id: I8fe41ed639ec318a18db3022371b52382c53aa99
2017-04-13 14:50:26 +00:00
Brian Curtin
91bffa57e3 Add docs for volume_attachment compute methods
Change-Id: I153ebc1ac27efc7d9b5f8f73249b904dfa644bad
2017-04-13 09:43:02 -04:00
Jenkins
5bc3431d31 Merge "Clean up some errant doc warnings/errors" 2017-04-06 00:49:40 +00:00
Jenkins
0129eb25e3 Merge "Add get_stack_* methods to documentation" 2017-04-05 14:52:05 +00:00
Brian Curtin
442bed2658 Clean up some errant doc warnings/errors
This change cleans up a couple of minor doc warnings that don't usually
get caught. I'm making this small change now so that I can turn on
warnings_as_errors in the enforcer script.

Change-Id: Ib0100116a4f7a38ad882d20a56ae99d15d49766a
2017-04-05 10:23:37 -04:00
Brian Curtin
9a3c499529 Add get_stack_* methods to documentation
Recent get_stack_* methods were left out of the documentation. This also
adjusts a doc warning about indentation being off.

Change-Id: I5bde59cfb3da4508300f5535e3c13c0265b7460f
2017-04-05 10:05:48 -04:00
Ankur Gupta
a4d75498b4 Introduce Base for Octavia (load balancing)
Change-Id: I3aa5b8af9e5f6dfbd3e71645fc7324e19933afef
2017-04-04 15:02:08 +00:00
Thomas Bechtold
7822e33622 Fix doc build if git is absent
When building packages if git is absent, do not try to get the git sha
via the git cli. That can not work.

Change-Id: I3bde4df045287cbda07c9447ef3397de74f42910
Closes-Bug: #1677463
2017-03-30 12:04:50 +02:00
Jenkins
4750296a24 Merge "Enable streaming responses in download_image" 2017-03-12 23:45:07 +00:00
Jenkins
075b280dc2 Merge "Reorganize telemetry docs" 2017-03-06 18:33:45 +00:00
Jenkins
00b429054a Merge "Reorganize object_store docs" 2017-03-06 18:32:10 +00:00
Jenkins
443ba4d95b Merge "Reorganize network docs" 2017-03-06 18:32:05 +00:00
Jenkins
a394626358 Merge "Reorganize block store docs" 2017-03-06 18:31:46 +00:00
Lars Kellogg-Stedman
5b2df7e724 Enable streaming responses in download_image
Previously, the openstack.image.image_download method would place the
contents of a remote image into a Python variable.  With this change,
the download_image method can optionally return the
requests.Response object returned by session.get(), which permits
the caller to download the image in chunks using the iter_content
method.  This can prevent performance issues when dealing with
large images.

Change-Id: Ie62ebcc895ca893321a10def18ac5d74c7c843b9
2017-03-02 15:45:07 -05:00
Jenkins
30fc99c02f Merge "Update devstack config to point to a valid image" 2017-03-02 01:20:42 +00:00
Brian Curtin
292e297e49 Update devstack config to point to a valid image
The devstack config we link to in the docs has been out of date for
quite some time. I usually just comment out the IMAGE_URLS line so
it doesn't even bother, but we should actually update it. The change
falls in line with what the Heat docs recommend, and it's because of
Heat that we have this configuration line in the first place.

See
https://docs.openstack.org/developer/heat/getting_started/on_devstack.html
for their recommended config.

Change-Id: I3f55c576f0e8aefa776e40509f8b7b098665ff39
2017-03-01 15:32:45 -05:00
tengqm
02d7e1b311 Add wait_for_xxx methods to cluster proxy
The 'wait_for_status' and 'wait_for_delete' proxy methods are heavily
used in the senlin code base. This patch revives the two proxy methods
in case we may forget to add it back when the corresponding ones in
ProxyBase are removed.

Change-Id: I1de6fe031901cf5d319496b881815f0f757c6279
2017-03-01 09:57:45 -05:00
Jenkins
31fc9959d9 Merge "Reorganize workflow docs" 2017-03-01 03:34:12 +00:00
Brian Curtin
87f5b3b3cb Reorganize cluster docs
This change organizes the cluster docs by topic rather than letting
autodoc organize methods by the order they appear in the _proxy.py file.

Change-Id: Ieca92ea97d5bfcb781fcb614275d947e222a8783
2017-02-28 20:54:49 -05:00
Brian Curtin
650c8a5b44 Reorganize object_store docs
This change organizes the object_store docs by topic rather than letting
autodoc organize methods by the order they appear in the _proxy.py file.

Change-Id: I495770aaaa1bf97dd728339b3dde42ad1770e384
2017-02-28 13:29:47 -05:00
Brian Curtin
1ddaa6bef9 Reorganize workflow docs
This change organizes the workflow docs by topic rather than letting
autodoc organize methods by the order they appear in the _proxy.py file.

Change-Id: I3f220829ae7039a38bf76dee59131fce11af95f0
2017-02-28 12:46:03 -05:00
Brian Curtin
baa9008846 Reorganize network docs
This change organizes the network docs by topic rather than letting
autodoc organize methods by the order they appear in the _proxy.py file.

Change-Id: I6366911a8410b43a567ca0d9afc22994639c80c8
2017-02-28 12:44:53 -05:00
Brian Curtin
38c6ba8345 Reorganize telemetry docs
This change organizes the telemetry docs by topic rather than letting
autodoc organize methods by the order they appear in the _proxy.py file.

This also adds telemetry.alarm docs, which weren't previously included.

Change-Id: Id5d8e201f99d9f8fc78d09694e4cdc576af2fefd
2017-02-28 10:31:53 -05:00
Brian Curtin
0e26e7ddd0 Reorganize block store docs
This change organizes the block store docs by topic rather than letting
autodoc organize methods by the order they appear in the _proxy.py file.

Change-Id: I743562a8c9a1dc7aaceef1d14c571c7a07855802
2017-02-28 09:58:45 -05:00
Jenkins
adfbf65c14 Merge "Implement metric docs" 2017-02-28 14:28:50 +00:00
Brian Curtin
6e7840842a Implement metric docs
This change introduces metric docs. There is only one method in the
proxy as of right now, so that was easy.

Change-Id: Ica327f27b26e5dd4b6744566eb09ea81a6e9583e
2017-02-17 12:51:55 -05:00
Jenkins
645f06d050 Merge "Reorganize identity docs" 2017-02-17 01:35:11 +00:00
Jenkins
363ad640aa Merge "Reorganize key_manager docs" 2017-02-17 01:34:05 +00:00
Jenkins
6801576e08 Merge "Implement message docs" 2017-02-17 01:32:50 +00:00
Brian Curtin
693bdaf947 Reorganize orchestration docs
This change organizes the orchestration docs by topic rather than
letting autodoc organize methods by the order they appear in the
_proxy.py file.

Change-Id: Ia7df2887c0b1fa1d4eb04a9372dab247f21311a4
2017-02-16 16:47:52 -05:00
Brian Curtin
6f59061ec4 Implement message docs
This change organizes the message docs by topic rather than letting
autodoc organize methods by the order they appear in the _proxy.py file.

These were not previously included so they're technically all brand new.
There are some minor adjustments made to the docstrings as they weren't
known to be raising warnings before due to not actually being included
anywhere.

Change-Id: Id4b8f08015a6f00b8134fcd2a01506562d9787fb
2017-02-16 15:39:31 -05:00
Brian Curtin
3f8f5fd5c5 Reorganize key_manager docs
This change organizes the key_manager docs by topic rather than letting
autodoc organize methods by the order they appear in the _proxy.py file.

Change-Id: I9caefcd9d1847da6689f6680fb420a9ea41a1c93
2017-02-16 14:11:35 -05:00
Brian Curtin
2db90b4033 Reorganize identity docs
This change organizes the identity docs by topic rather than letting
autodoc organize methods by the order they appear in the _proxy.py file.

Change-Id: I991b810bad8e5932764186e52970748d47e0e4b4
2017-02-16 08:06:03 -05:00
Jenkins
5ca2fa80ad Merge "Remove unnecessary coding format in the head of files" 2017-02-16 03:05:09 +00:00
Jenkins
35cb88a2e7 Merge "Reorganize bare_metal docs" 2017-02-16 02:58:07 +00:00
Jenkins
a6c9ffc192 Merge "Reorganize database docs" 2017-02-16 02:56:32 +00:00
Jenkins
61c1cf68b2 Merge "Reorganize compute docs" 2017-02-16 02:56:27 +00:00
Brian Curtin
059d89c4a1 Reorganize image docs
This change organizes the image docs by topic rather than letting
autodoc organize methods by the order they appear in the _proxy.py file.

Change-Id: I798931fd3fecf51b922526fadb2ae243c4fc8c52
2017-02-15 17:15:55 -05:00
Brian Curtin
ce2627d327 Reorganize database docs
This change organizes the database docs by topic rather than letting
autodoc organize methods by the order they appear in the _proxy.py file.

Change-Id: I79e9ab9abb33fde72f48c10227a6b6140b2133ba
2017-02-15 15:28:29 -05:00
Brian Curtin
50fedcd50f Reorganize compute docs
This change organizes the compute docs by topic rather than letting
autodoc organize methods by the order they appear in the _proxy.py file.

Change-Id: Ie4955223a07c5ddbf0c5a06330521c69063bde28
2017-02-15 15:22:09 -05:00
Brian Curtin
8858995c97 Update intersphinx linking to python.org
We're getting a message in the docs build about the intersphinx location
having moved. This moves it accordingly.

Running Sphinx v1.5.2
loading pickled environment... not yet created
loading intersphinx inventory from
http://docs.python.org/3/objects.inv...
intersphinx inventory has moved: http://docs.python.org/3/objects.inv ->
https://docs.python.org/3/objects.inv

Change-Id: I9ae3fd19a157dfcee0357ddfaab9e8933af7624c
2017-02-15 14:42:39 -05:00
Brian Curtin
f211be85ea Reorganize bare_metal docs
This change organizes the bare_metal docs by topic rather than letting
autodoc organize methods by the order they appear in the _proxy.py file.

Change-Id: I24ec3db3fc24f1417d13c91a344e3ebeb622bb40
2017-02-15 13:47:49 -05:00
Brian Curtin
3c8c7299f8 Deprecate port and ping methods in Network proxy
The Network proxy contains two methods that are mostly there for example
purposes: security_group_allow_ping and security_group_open_port.
They haven't been included in documentation due to missing docstrings,
and they aren't used anywhere in the SDK or within OSC. They're better
off as actual examples in our documentation than being within code that
we need to support throughout the future.

Change-Id: I4c6b47860b0c2b952e50d4b564451780008b631a
2017-02-15 08:05:19 -05:00
Brian Curtin
ad3a0fcf44 Enforce inclusion of pulic proxy methods in docs
Per the approach on https://review.openstack.org/#/c/428276/, and in
general even outside of that change, we should have more strict
enforcement on the inclusion of our public proxy APIs in the
documentation. This tool runs as a part of our doc build, via `tox -e
docs`, and collects all of the public proxy methods and then compares
that list to the list of methods that were produced by Sphinx.

For right now this will only output warnings, but we should eventually
turn on enforcer_warnings_as_errors in doc/source/conf.py so that we can
truly enforce these things. If you don't document something, it'll kill
the doc build and then kill the docs gate job, so undocumented code
won't be accepted. We'll need to leave it off for the time
being as we transition into it.

Change-Id: I96743de7e0790da98d758415e084a26a92aa3c70
2017-02-10 09:24:39 -05:00
Brian Curtin
adc2cb8904 Cleanup more Sphinx warnings during doc build
This is a second pass at cleaning up Sphinx issues with the doc build.
These ones only show themselves on a full rebuild after you blow away
doc/build/* so they weren't always seen.

Change-Id: I44e39b7e1f2bcf7a5eb420dee1569eb0b84929a4
2017-02-08 12:00:30 -05:00
Brian Curtin
93894627ec Cleanup various Sphinx warnings during doc build
This primarily cleans up doc files and mentions for modules which no
longer exist. There's one cleanup to a docstring in the Compute proxy
about a long class being split on two lines without a continuation
backslash.

Change-Id: I9f40d17789d7587e6964c3b655f4dae226dfc6a8
2017-02-02 14:35:48 -05:00
Jenkins
ccb3ad9839 Merge "Add docs for the workflow service" 2017-01-24 18:27:50 +00:00
Brian Curtin
6854e05a5f Add docs for the workflow service
Initial docs for workflow. Doesn't include a user guide as I don't know
how to use it.

Change-Id: I7fa19fbb4cd6684782b8fc7a424d871a8b5d93ad
2017-01-24 12:43:37 -05:00
tengqm
54e405552a Initial docs for bare-metal service
Change-Id: Ie7304ef5272869060d520c23181f19de81da5006
2017-01-24 11:53:27 -05:00