6 Commits

Author SHA1 Message Date
Jenkins
141d433ceb Merge "Adding command for copying backups" 2014-06-27 12:06:36 +00:00
Steve Leon
fcd19b08a7 Adding command for copying backups
Added sub-command 'backup-copy' that will take a backup ID (could
be from a different region) and copies it to its own region.

Partially implements: blueprint cross-region-backup-availability

Change-Id: Ia9561ead98762fa817e07098a104c39e211315e0
2014-06-03 09:06:42 -07: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
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
Robert Myers
b23b9fbd87 Adding support for incremental backups
* Adds a parent argument to backup-create.
* Adds parent_id to the backup create body if present.

Implements: blueprint incremental-backups

Change-Id: I76f720ae4eadf2a1977c4c2cbf286db4db079b63
2014-01-28 15:24:26 -06: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