| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
There can be situations where the auth_type=token_endpoint, we
should use the appropriate attributes from the auth plugin when
creating heatclient.
Change-Id: Ic929f6ceaa92002eb2b3443934d1f541758e4dda
Closes-Bug: #1632341
|
|
|
|
|
|
|
| |
Stevedore Sphinx extension handles this comment.
http://docs.openstack.org/developer/python-openstackclient/plugin-commands.html
Change-Id: I4958ec1dfda96f54b75963a04b5a4fc9eec09d84
|
|
|
|
|
|
|
| |
Use region_name and interface with session. Also use
public attributes of ClientManager for them.
Change-Id: Id836f503ff4d5189f90c4eaf68769bfbaa9dbd2f
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We should not use endpoint_override by default and rather
use service_type with session. This also refactors some of
the associated code.
However, if one wants to override the endpoint they can pass
endpoint_override to the client constructor along with session.
Change-Id: I7c27d8ff827de3b4bb3e70457c0b6a3f47b6d7bb
Co-Authored-By: Rabi Mishra <ramishra@redhat.com>
Closes-Bug: #1621505
|
|
|
|
|
|
|
|
|
|
|
|
| |
python-openstackclient-2.6.1 has been changed
to use osc-lib ClientManager which removes
some private attributes.
We can change '_interface' and '_region_name'
once the requirements change to 2.6.1.
Change-Id: I17fbe2250fdeb60ffb9b2f94df26d9edef00bea6
Closes-Bug: #1605876
|
|
|
|
|
|
|
|
|
| |
Pass session or auth_token based on whether using
a session or not. SessionClient can't accept
auth_token in kwargs.
Change-Id: Ib30aeac0ec0a12faf1ae874b0a97e936f12cd61a
Closes-Bug: #1597691
|
|
|
|
|
|
|
|
|
|
|
| |
osc-lib is a package of common support modules for writing
OSC plugins. All common functions, classes such as exceptions,
utils, logs and so on have been moved from openstackclient to
osc-lib.
So use osc-lib instead of openstackclient.
Change-Id: I14323d43d0e5b41ce0611590f5f6a375cdc3dc2d
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes the OSC plugin so that if region is specified or if the
interface is specified (public, internal, admin) then those will be
passed into the heat_client when instantiated. Without this the
client will pick the endpoint for the first region returned instead of
the one specified.
Closes-Bug: #1556263
Change-Id: I9c15719e7711c93e7fd076d38d66011bb20f988d
|
|
This change was derived from Id188cdc0e97b480875a7626443f68e69863f0647
which added stack support to python-openstackclient, but adapting it
to be an openstackclient plugin which lives in the python-heatclient
tree.
This change only implements the "openstack stack show". Subsequent
commands will remain in WIP changes at the end of this series until they
are ready to merge.
The stack show formatting has the following behaviour:
- specifying key order for important values, but adding all other
stack keys in default order (future proofing for new values)
- exclude template_description, its a dupe of 'description'
- complex values like parameters, outputs and links get a special formatter
depending on the output format ('table' formats them as yaml,
'shell', 'value', 'html' formats them as json)
Co-Authored-By: Ryan S. Brown <rybrown@redhat.com>
Co-Authored-By: Rico Lin <rico.l@inwinstack.com>
Change-Id: I3096b94146a94d184c29b8c7c9f6c032eed5281d
|