17 Commits

Author SHA1 Message Date
Jenkins
a48272cb2d Merge "Add datastore filter to backup-list" 2014-06-10 12:26:00 +00:00
Steve Leon
7170b72ceb Add datastore filter to backup-list
This fix enhances the backup-list command to optionally receive
a datastore name or ID to filter the backup list by. The filter
is sent as a query string.

To attach the query string to the URL and have it still work with
the URL for pagination, i have made some changes in the way url
with query strings are constructed. This includes the pagination
URL.

partially implements: blueprint backup-metadata

Change-Id: I0b9ef3ec7f51ed76517a22f9c0edfdce3694a36f
2014-06-03 09:02:49 -07:00
Daniel Salinas
cb5736433b Add instance_metadata functionality to the trove python library
Implements: blueprint trove-metadata

Change-Id: I4e498844afd2d2730fad2176dccaf1d61d8798c1
2014-05-24 22:35:16 -05:00
Sushil Kumar
8bc695bd70 Enabled F821, H306, H402, and H404 flake8 rule
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
2014-05-09 08:54:39 +00:00
Jenkins
d59016901d Merge "Remove dependent module py3kcompat" 2014-04-25 10:24:17 +00:00
llg8212
5c6e00406b Remove dependent module py3kcompat
Module py3kcompat was removed from oslo-incubator, we can use
six directly.

* Sync commit of removing py3kcompat from oslo
* use six replace usage of py3kcompat

Change-Id: I15b9ffb10e2d5765a1ed07dd5fd4e2bf7b21ec49
Closes-Bug: #1280033
2014-02-18 10:48:16 +08:00
He Yongli
59ec2bb433 Remove vim header
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
2014-02-16 13:08:07 +08:00
ekudryashova
b109018d5a Use Resource() class from common Oslo code
In the process of unification of the clients code we should
reuse common functionality from Oslo. Resource() class from trove
duplicates Oslo funclionality, so we replace it with inheritance

Related to blueprint common-client-library-2

Change-Id: I9809bd3036a5b544b8ff011432f64dc5af793f61
2014-01-28 16:28:03 +02:00
Jenkins
da441ca247 Merge "Adding pagination support for backups" 2014-01-09 16:06:28 +00:00
Robert Myers
fba4941fd2 Adding pagination support for backups
* 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
2013-12-11 10:15:50 -06:00
Nikhil Manchanda
c1e46dcd00 Fixed misspellings of common words
Fixed misspelling of common words found by the 'misspellings' tool.

Closes-Bug: #1257531
Change-Id: Ic6bedbce3a242d6e1340ecc442d29605af8be9a4
2013-12-03 15:50:01 -08:00
Michael Basnight
af4d4ed4f7 Fixing copyright and license headers
* Added HP copyrights as appropriate

Change-Id: If4f30b0caf03b16f5fb4f54185ba80d9fa41d0b0
2013-10-22 11:21:33 -07:00
Kui Shi
502f7113a8 change mode to octal for os.makedirs()
Partial implements: blueprint py33-support

Change-Id: I7a4307dfd526821e96b5c04ff636e650f20b753a
2013-10-15 16:59:20 +08:00
Michael Basnight
fd43cbd73b Massive refactoring to the troveclient
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
2013-10-09 19:21:08 -07:00
ZhiQiang Fan
e3a301ff28 Replace OpenStack LLC with OpenStack Foundation
Some files still use trademark OpenStack LLC in header, which
should be changed to OpenStack Foundation.

Change-Id: Ib30cd06cdd13b9f949e028753716aa55736f4a40
Fixes-Bug: #1214176
2013-09-20 05:09:59 +08:00
Denis M
812755e8a0 PEP8 with tox -epep8 check fails
Change-Id: Ife06919f321ab4ad73bece2e6080fbd7d947eeef
Fixes: bug #1219014
2013-08-30 20:32:17 +03:00
Michael Basnight
9916c8f273 Rename from reddwarf to trove.
Implements Blueprint reddwarf-trove-rename

Change-Id: Ib2d694c7466887ca297bea4250eca17cdc06b7bf
2013-06-21 20:15:23 +00:00