| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Allow CLI to take instance name as well as instance id for
sub-commands where instance can be specified. This commit
does not include the metadata-* commands as the backend for
that feature isn't merged. The spec will be adjusted to
reflect that they commands will be out of scope.
Affected sub-commands are:
backup-create
backup-list-instance
configuration-attach
configuration-default
configuration-detach
create (just for --replica_of)
database-create
database-delete
database-list
detach-replica
delete
resize-flavor
resize-instance
resize-volume
restart
root-enable
root-show
update
user-create
user-delete
user-grant-access
user-list
user-revoke-access
user-show
user-show-access
user-update-attributes
Unit tests were added to test passing in an instance object
for the affected sub-commands. A new set of unit tests were
added for databases.py (doesn't look like any existed before).
Change-Id: I5554a7d423990ff9cb24437a893d90d212b022b1
blueprint: add-instance-name-to-cli
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Reasons:
- F821 is disabled.
- H306 is disabled.
- H402 is disabled.
- H404 is disabled.
Changes:
- Updates tox.ini to enable F821, H306, H402 and H404 rules.
- Updates code for F821, H306, H402 and H404 violation.
Change-Id: I772270bb833ac774e080fc63e330d6b333f23de2
|
| |
|
|
|
|
|
|
|
|
|
| |
No need to set tabstop tons of times, this can be set in your vimrc
file instead.
More disucssion:
http://openstack.10931.n7.nabble.com/Remove-vim-modelines-td21780.html
Change-Id: I45766d91f0c0b3622bbdc7dc5517497c87ebee8c
Closes-Bug: #1229324
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Reasons:
- exceptions.from_response has 3 arguments but is being called with
one argument less, which is url.
Changes:
- Updated common.check_for_exceptions to support urls as needed by
troveclient.openstack.common.apiclient.exceptions.from_response.
- Adds url to exceptions.from_response calls in troveclient.
Closes-Bug: #1266239
Change-Id: Ie18c90349479f740369f63c48a8d9b463641f84d
|
| |
|
|
|
|
|
|
|
|
| |
* add a _pagination method to base Manager
* switched existing paginated list to use the new method
* removed description from backup list and added updated
Implements: blueprint paginate-backup-list
Change-Id: If33c55a35bae8ebd6ed654af5ce6dfd7f9e40096
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Reasons:
- code should be pythonicaly clean,
that is why number of ignored rules should reduced
Changes:
- E125, F811, H102, H103, F201, H23,
H302, F841, H301, H702, H703 rules are now enabled
Change-Id: Ibf4025162244d3c2f1278b49a76ec1527a729042
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
urlutils defines a series of urllib/urlparse modules for Python 2&3
compatability.
Partial implements: blueprint py33-support
Change-Id: I55c2c5d479d2f7a86d3a0c207dc40794006d951c
|
| |/
|
|
|
|
| |
* Added HP copyrights as appropriate
Change-Id: If4f30b0caf03b16f5fb4f54185ba80d9fa41d0b0
|
|
|
The new client adheres to the standards of the other clients
now. It prints out tables, uses ENVVAR's for auth, no longer
stores pickled json in a login token, uses openstack common,
and moves the cli operations into a v1 module for the future
of trove when it has a v2 api.
Please note for compatibility, the troveclient.compat module
has the old cli. In order to deploy it, amend the setup.cfg
to include the compat module.
implements blueprint cli-compliance-upgrade
Change-Id: Ie69d9dbc75ce90496da316244c97acca1877a327
|