Two new commands are now available for the trove-manage utility.
They are:
datastore_version_flavor_add
datastore_version_flavor_delete
These were added to the clients.yaml file so they're processed properly
when generating the CLI reference documentation.
Change-Id: Ibaff3c14485dec2d31e46f494e6acaf380dc7150
In patch 221559 with change id Ic3fc9ed5f3644497e4dd25a92ded01ee0224cdef,
a couple of calls to generate_subcommands() were not replaced with the
new method discover_and_generate_subcommands(). Fixing it in this patch.
Change-Id: I4f46d275a15685dc76e42b24b21b4930a94bc184
The current client reference manual contains openstackclient subcommands for
default versions of all project APIs. For identity API, the default is v2.
Which means subcommands related to "domain" and other identity v3 concepts are
not listed. This patch generates a separate section for the new openstack
subcommands obtained by using v3 identity API. Note that we list only the
diff in the new section rather than the complete subcommand list since
non-identity subcommands (e.g. neutron, glance, etc) will not vary by changing
identity API version.
An alternate solution might be to simply change identity API version to v3
instead of the current v2 and not bother about generating separate sections
for v2 and v3. I verified that v3 subcommands are not a strict superset of
v2 commands (we lose 2 subcommands). So, we need separate sections.
Change-Id: Ic3fc9ed5f3644497e4dd25a92ded01ee0224cdef
Co-Authored-By: Shashirekha Gundur <shashirekha.j.gundur@intel.com>
Closes-Bug: #1477935
MagnetoDB will be dropped after the Tokyo summit. No more need to keep
it in the clients.yaml file.
Change-Id: Ic6b8950a6d9282220e74519f56e6a99d7045623d
* explicitly set --os-image-api-version 1
This is necessary because python-glanceclient 1.0.0 will use v2 when v2
is accessible.
* only extract subcommands from lastline of bash-completion output
This is necessary because 'glance bash-completion' outputs a
warning starting with python-glanceclient 1.0.0.
---snip---
WARNING: The client is falling back to v1 because the accessing to v2
failed. This behavior will be removed in future versions
---snap---
Change-Id: I936f5704e3badd4cb12d3d9c0753eb154bf594b2
Since the hot-ref and hot-guide are going back to the heat repository,
some tools are not needed anymore:
- dn2osdbk
- the hotref sphinx extension
Change-Id: I9f8539f73b4dedc5236f8ff5d5b03c93c602c661
Depends-On: Ie2240d2fca5d6e43b1d186645e7ff9107514f289
Fix os_doc_tools/commands.py for python 3:
* check_output needs to return unicode
* Remove extra whitespace for print
Change-Id: I6edf08cf2efd3fb5dd77309d10883786a9e320de
check_output returns bytes, add extra argument universal_newlines so
that the output is a string and thus can be used by other functions.
openstack-doc-test should work now using python 3 and python 2, thus
enhance setup.cfg to mark python 3 support.
Change-Id: Ic9873702977acad63d94c426c0c7e69f331a1360
Remove check_output that is in python 2.7 and newer but not in
python 2.6. Thus, we do not support python 2.6 anymore.
Change-Id: Ie953ce43d792b95e348a55fea4665b1ef59b468d
Always build the index files during checkbuild. With RST guides, the
index was not build everytime.
Also, update the Release Notes.
Change-Id: I2b7f2e02e81de8255307d5a0b1b3f10f73c13273
Disable building of the Guide by default, add a switch to enable it.
We're not publishing the Guide in current releases at all, so no
need to build it.
Change-Id: I31f235bce2e65b5de4ca2528c85c8c06d8550626
* new command for trove-manage
* automatically identify deprecated subcommands
* move client definitions into a YAML resource file
* support of the complete subcommand
* add new clients: barbican, designate, manila, magnetodb,
manila, mistral, tuskar
Clients to be added in the future:
* congress (module for python-openstackclient)
* magnum (no released version)
* murano (missing --version parameter)
* zaqar (module for python-openstackclient)
Change-Id: I5ccb5af887749ec22a9d980e3b031de6a247041e
* add support for bash-completion for python-glanceclient
* add missing commands for python-swiftclient
Change-Id: I495ab17e0acbf0f33c3d306ec0a5bdf0d5d41560
The Oslo libraries have moved all of their code out of the 'oslo'
namespace package into per-library packages. The namespace package was
retained during kilo for backwards compatibility, but will be removed by
the liberty-2 milestone. This change removes the use of the namespace
package, replacing it with the new package names.
The patches in the libraries will be put on hold until application
patches have landed, or L2, whichever comes first. At that point, new
versions of the libraries without namespace packages will be released as
a major version update.
Please merge this patch, or an equivalent, before L2 to avoid problems
with those library releases.
Blueprint: remove-namespace-packages
https://blueprints.launchpad.net/oslo-incubator/+spec/remove-namespace-packages
Change-Id: Ib17a74ada3122ce45c52fdd7dcf8d27fafbb1d70
Handle guides that have no content subdirectory for creation of the
preview index.html file. Examples are the User Guides.
Change-Id: I4c647ee997a4776011db2677d2a84237989f0a06
With the deprecation of python-keystoneclient the output of keystone
--version changed to:
DeprecationWarning: The keystone CLI is deprecated in favor of
python-openstackclient. For a Python library, continue using
python-keystoneclient. 'python-keystoneclient.', DeprecationWarning)
1.3.0
Because of that it is necessary to only handle the last line of the
output to extract the version string.
Change-Id: Ibdfaa1de4f1c8880ce1a049fec9bea3004c11fea
After the merge of I14c9479ef7ded7b7c62b0d976706e3d7e26a6cd6 the
additional parameter --os-auth-type token is used for every client. This
is wrong, the additonal parameter should only be used when generating
documentation for the python-openstackclient.
Change-Id: I801637691bfd4298859ee539c5adaf0943330836
* suppress deprecation warning messages
UserWarning: Module novaclient.v1_1 is deprecated (taken as a basis for
novaclient.v2). The preferable way to get client class or object you can
find in novaclient.client module.
warnings.warn("Module novaclient.v1_1 is deprecated (taken as a basis
for "
* use --os-auth-type token to make the openstack help command workable
ERROR: openstack Authentication type must be selected with
--os-auth-type
* add new commands
Change-Id: I14c9479ef7ded7b7c62b0d976706e3d7e26a6cd6
This allows for example to properly ignore the Install Guides from getting
build and published.
Change-Id: Id957ec3cdfc2f67f039bbca76950dd4a1d8c34a6
Partial-Bug: #1423302
After https://review.openstack.org/#/c/144685 merges,
the automatically generated configuration reference
tables will be marked up as
<option>option_name</option> = <replaceable>default_value</replaceable>
As none of this should be translated (option_name is the same
regardless of language), this patch updates generatepot to ignore
option_name s tagged with <option> for translation.
This should significantly reduce the number of strings required for
translation from the common directory in particular, where
many of the 8000-odd strings do not actually need translation.
Change-Id: I27a71fd00759c883833a7061186c93f11efac68a
The JSON formatting created by jsoncheck.py omits the file's final
newline. It claims that files with such a newline need reformatting
and removes the final newline in a file when reformatting.
This patch brings jsoncheck.py in line with the rest of the tools
which prefer text files to end with a newline.
Update release notes for pushing out the bug fix.
Closes-Bug: #1403159
Change-Id: I35eab544b183c05b167ce9917d92f0f1f919b745
There exists URLs that are not reachable but are still valid URLs.
Those URLs should not be checked for reachability.
Change-Id: I268ef741f20200d59191a383d20a8fbeba134fb3
This patch makes doctest use jsoncheck.
It offers:
- more helpful syntax error messages (courtesy of demjson)
- additional niceness checks for standardized formatting
Change-Id: Id92c43daeb6ee17ed03052b3c9b92cbf60f3f4a5
blueprint modularize-doctest
Split out some functions from the large find_affected_books function to
make the flow easier to understand.
Change-Id: I3fe34d01d0a7277db51ccf5fea0852cd86b59589
The internal references were not properly created. This patches make the
:ref: inline markup create a <xref> tag when the reference is internal.
This patch also reworks the sphinx extension to handle the URLs that
will be generated in the hot-reference with the new :ref: behavior.
Closes-Bug: #1378073
Change-Id: I84bf268dc1055dc6b39f23c4415734184ec57eec