summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update the README.rst with latest help1.0.7Nikhil Manchanda2014-09-081-121/+127
| | | | | | | | | The help has substantially changed since the last time the trove client was published to pypi. Updated the README.rst with the latest help information. Closes-Bug: 1366981 Change-Id: I3e2533b4c57f63d20e804c1fca5731fe6a522199
* Merge "Use 'replica' instead of 'slave'"Jenkins2014-09-082-11/+16
|\
| * Use 'replica' instead of 'slave'Greg Lucas2014-09-052-11/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | Replace the mysql-specific term 'slave' with the more general term 'replica'. In order to merge properly the client currently handles both 'slave' and 'replica' in certain cases. The 'slave' support will be removed completely once the trove runtime is updated to be in sync. Change-Id: Id22d18a84a4ac104ff8af09959e8eb2ae0102e97 Co-Authored-By: Nikhil Manchanda <SlickNik@gmail.com> Partial-Bug: 1360310
* | adding configuration parameters mgmt apiCraig Vyvial2014-09-035-8/+270
|/ | | | | | | add the CRUD calls of configuration parameters mgmt calls partially implements blueprint configuration-parameters-in-db Change-Id: Iaaea946bdbcab91ca02e5e2cbf956a3980a461ab
* Clusters troveclient Implementationamcrn2014-09-028-4/+387
| | | | | | | | | | | | adds clusters support to the troveclient. Co-Authored-By: Ranjitha Vemula <rvemula@ebaysf.com> Co-Authored-By: Michael Yu <michayu@ebaysf.com> Co-Authored-By: Mat Lowery <mlowery@ebaysf.com> Partially implements: blueprint clustering Change-Id: I6ed2c4c79a17fcf8f14c587cab6a8ec3acaf319f
* Add a drop config-grp command in update instance1.0.6ridhi.j.shah@gmail.com2014-09-012-3/+13
| | | | | | | | | | As per the current code in the client, there is no option to detach the configuration group of the instance. This change gives a user the option to explicitly drop the config group of the instance as part of the instance update call. Change-Id: I7defd110549df87afd267d3ebe998904ff6b7483 Closes-Bug: 1359359
* Merge "Updated from global requirements"Jenkins2014-08-311-1/+1
|\
| * Updated from global requirementsOpenStack Proposal Bot2014-08-301-1/+1
| | | | | | | | Change-Id: Ic0a0f060a974fbf605a135f473d55c0a8f5eb4da
* | Merge "Add new command: detach-replica"Jenkins2014-08-313-3/+33
|\ \ | |/ |/|
| * Add new command: detach-replicaGreg Lucas2014-08-263-3/+33
| | | | | | | | | | | | | | | | | | Add new command to detach a replica from its replication source. Partially Implements: blueprint replication-v1 Co-Authored-By: Nikhil Manchanda <SlickNik@gmail.com> Change-Id: Ieca67f042c6bcb33f2a4de1acbb330d3eefc0600
* | Merge "Clean up shell display of slave info"Jenkins2014-08-291-39/+41
|\ \
| * | Clean up shell display of slave infoGreg Lucas2014-08-251-39/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Suppress links and improve display of slave information for the 'show' and 'create' commands. Also refactor shell.py to avoid repeating the code for displaying an instance. The revised print_instance method also avoids bug 1322822 where the order in which attributes are queried can affect the display output. Depends-On: If8a154083d0095606fb3ee115cc9b66ab788cbb4 Partially-Implements: blueprint replication-v1 Partial-Bug: 1322822 Change-Id: Ie1ac42d61e920ac8ea1ebab35c2db096fd313077
* | | Merge "Add visibility filter to datastore versions"Jenkins2014-08-273-2/+71
|\ \ \ | |_|/ |/| |
| * | Add visibility filter to datastore versionsTheron Voran2014-08-263-2/+71
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allows datastore versions to be hidden from all users except those explicitly allowed by their tenant. Implemented via a visibility attribute for datastore versions (defaulting to 'public'), and a datastore version member table for controlling access to non-public datastore versions by tenant. This commit provides the client functionality for integration tests related to the datastore-visibility feature. Implements: blueprint datastore-visibility Docimpact: change to datastore version payload Change-Id: Ic8024a631530ba295688d7e49e895f50cb2f32ef
* | Updated from global requirementsOpenStack Proposal Bot2014-08-131-1/+1
|/ | | | Change-Id: Ifa3413813acf3d5b1d619907469bb129e320200e
* Improve help text for --size optionGreg Lucas2014-07-241-1/+2
| | | | | | | Update help text to indicate that --size may be a required parameter. Change-Id: If1a40475a8d4a8e1c71c2c1e61a87bacb6e42e00 Closes-Bug: 1336807
* Merge "Fix trove help for show and flavor-show"Jenkins2014-07-181-2/+3
|\
| * Fix trove help for show and flavor-showSushilKM2014-05-241-2/+3
| | | | | | | | | | | | | | Added 'name' to the help for the CLI commands show and flavor-show Change-Id: I845e648cbb371bf134d98de44e7f966172dc634a Closes-Bug: #1322814
* | Use JSON instead of json in the parameter descriptionsChristian Berendt2014-07-162-2/+2
| | | | | | | | | | | | | | This change only changes the wording of a help string. It should be 'JSON' instead of 'json'. Change-Id: I11796e8aa6e475790838db44206e8ed85ebb1505
* | Add CONTRIBUTING.rstliuqing2014-07-081-0/+16
| | | | | | | | | | | | | | There is no CONTRIBUTING.rst file, the patch will add it. Change-Id: I493e9d10b91c809af62ccb07c9bd99ae7ed3bdae Closes-Bug: #1337182
* | Merge "Fix shell view for secgroup-* commands"Jenkins2014-06-272-3/+17
|\ \
| * | Fix shell view for secgroup-* commandsDenis Makogon2014-06-242-3/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reasons: - currect code writes list of dict as they are, without any formatting, actually _print_ method calls str() on each attribute, this issue spoils human-readable form of the shell output. Changes: - updated "secgroup-list" (`rules` attributes was ignored); - updated "secgroup-show" (`rules` attribute was ripped off); - proposed new call "secgroup-list-rules <secgroup-id>"; Change-Id: Ic3f51b93af106c39de7eb3238f8bcffa3ea3cb95 Closes-Bug: #1300164 DocImpact: added new CLI command.
* | | Merge "Add datatore/version name into configuration view"Jenkins2014-06-271-2/+5
|\ \ \
| * | | Add datatore/version name into configuration viewDenis Makogon2014-06-261-2/+5
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reasons: - Both ConfigurationView and DetailedConfigurationView for configuration-groups return only the Datastore Version ID and not human the readable Datastore Name / Version Changes: - adding datastore version name to configuration show response. Change-Id: I8fbefd57d40838dafcead0077bfbc6b49c27a8eb Closes-Bug: #1326584 DocImpact: configuration response and shell view were updated.
* | | Merge "Adding command for copying backups"Jenkins2014-06-273-3/+40
|\ \ \
| * | | Adding command for copying backupsSteve Leon2014-06-033-3/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Updated from global requirementsOpenStack Proposal Bot2014-06-272-2/+2
| | | | | | | | | | | | | | | | Change-Id: I2e2333c948ecfca638f4a1004e5256611735a03c
* | | | Merge "Add 'slave_of' option for enabling replication"Jenkins2014-06-242-2/+10
|\ \ \ \
| * | | | Add 'slave_of' option for enabling replicationGreg Lucas2014-06-102-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a new create option (--slave_of) that can be used to enable replication and configure the newly created instance as a slave of the specified existing instance. DocImpact Introduces new option when creating an instance. partially Implements: blueprint replication-v1 Change-Id: Idf22d3d9e676138969cbdf3afd4903b8e475c313
* | | | | Merge "Updates root-enable & root-show help messages"Jenkins2014-06-242-4/+4
|\ \ \ \ \ | |_|_|/ / |/| | | |
| * | | | Updates root-enable & root-show help messagesSushil Kumar2014-06-032-4/+4
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reasons: - Help message for root-enable does not gives complete information, it misses that API also resets root, on existence. - Current help message for root-show makes it feel like current status of root user is fetched, but instead we are also returning True for historical root access enabled. Changes: - Updated the root-enable and root-show API help message. - Updated README for updated help messages. Change-Id: Ide7c331bdfe5437e6966f6cd4f331cb3b22d0c3f Closes-Bug: #1277308
* | | | Merge "Added optional marker/limit to list command"Jenkins2014-06-111-1/+7
|\ \ \ \
| * | | | Added optional marker/limit to list commandPeter Stachowski2014-06-041-1/+7
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The trove client did not allow you to pass in a marker or limit for list instances. These arguments are now allowed, and the resulting list filtered accordingly. Both arguments are optional. Change-Id: I7cb697d57d11f72c0349fbe50c48d8b33593721b Closes-Bug: #1294950
* | | | Merge "Overwrite HelpFormatter constructur to extend argument column"Jenkins2014-06-111-0/+5
|\ \ \ \ | |_|/ / |/| | |
| * | | Overwrite HelpFormatter constructur to extend argument columnChristian Berendt2014-06-051-0/+5
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Overwrite the HelpFormatter constructor in the class OpenStackHelpFormatter to modify the default value of the max_help_position to extend the width of the argument column in the help output. example output before this patch: configuration-attach Attaches a configuration group to an instance. configuration-create Creates a configuration group. configuration-default Shows the default configuration of an instance. configuration-delete Deletes a configuration group. configuration-detach Detaches a configuration group from an instance. example output after this patch: configuration-attach Attaches a configuration group to an instance. configuration-create Creates a configuration group. configuration-default Shows the default configuration of an instance. configuration-delete Deletes a configuration group. configuration-detach Detaches a configuration group from an instance. Change-Id: Ia3ad8e9fefca6da40f55ab3de902c015a0d17006 Closes-Bug: #1326471
* | | Merge "Add datastore filter to backup-list"Jenkins2014-06-107-23/+65
|\ \ \
| * | | Add datastore filter to backup-listSteve Leon2014-06-037-23/+65
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge "Add instance_metadata functionality to the trove python library"Jenkins2014-06-109-0/+343
|\ \ \
| * | | Add instance_metadata functionality to the trove python libraryDaniel Salinas2014-05-249-0/+343
| | |/ | |/| | | | | | | | | | | | | Implements: blueprint trove-metadata Change-Id: I4e498844afd2d2730fad2176dccaf1d61d8798c1
* | | Rename resize-flavor subcommand to resize-instanceSimon Chang2014-06-022-6/+16
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The trove resize-flavor <instance> <flavor_id> subcommand actually changes the flavor of an instance, not the size of the flavor itself. To improve clarity, the resize-flavor subcommand was renamed as resize-instance. To avoid backward compatibility issues, marked deprecated the resize-flavor subcommand while we introduce the new resize-instance subcommand. DocImpact: This potentially affects any user scripts that may exist. Any instructions like: 'trove resize-flavor <instance> <flavor_id>' should be changed to: 'trove resize-instance <instance> <flavor_id>' Change-Id: Ie801d5632383b67c3f777487f4b6bc608b4a69e8 Closes-Bug: #1324719
* | Merge "Updated from global requirements"Jenkins2014-05-301-1/+1
|\ \
| * | Updated from global requirementsOpenStack Proposal Bot2014-05-281-1/+1
| | | | | | | | | | | | Change-Id: Iebb53ff60de51a140c7684ecfd2dbc6a15f3c04c
* | | Merge "Fixed positional order of arguments"Jenkins2014-05-301-6/+6
|\ \ \
| * | | Fixed positional order of argumentsPeter Stachowski2014-05-261-6/+6
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The positional arguments of backup-create and configuration-attach were different from all other commands. 'Instance' is now the first argument for these commands as well. DocImpact: This potentially affects any user scripts that may exist. Any instructions like: 'trove backup-create mybackup myinstance' 'trove configuration-attach myconfig myinstance' should be changed to: 'trove backup-create myinstance mybackup.' 'trove configuration-attach myinstance myconfig' Change-Id: I2ff93a1a6e26f3e33a60cbf3d9ad5ee074307e8f Closes-Bug: #1281878
* | | Merge "Updates README with current trove help output"Jenkins2014-05-302-13/+13
|\ \ \ | |_|/ |/| |
| * | Updates README with current trove help outputSushilKM2014-05-272-13/+13
| |/ | | | | | | | | | | | | | | | | | | | | | | | | Reasons: - trove help section in README shows old options, trove help message has changed now, and the section needs the update. Changes: - Updates the trove help section in README. - The updates have been picked up from latest trove help output. Change-Id: I37b6f3ad5d3ac0497eec179a4de447e5b39fb215 Closes-Bug: #1322819
* | Merge "fixed several pep8 issues"Jenkins2014-05-287-18/+18
|\ \
| * | fixed several pep8 issuesChristian Berendt2014-05-137-18/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * E265 block comment should start with '# ' * E128 continuation line under-indented for visual indent * E713 test for membership should be 'not in' Tested with pep8 version 1.5.6 (2014-04-14). Change-Id: If2853c79bea91ebef5cd97dff66788b46b174a9a
* | | Merge "Allow users the ability to update the instance name"Jenkins2014-05-273-0/+45
|\ \ \
| * | | Allow users the ability to update the instance nameIccha Sethi2014-05-083-0/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implements: blueprint update-instance-name This review provides the user the ability to update the instance name or/and configuration using the trove client. Change-Id: If404d4d47c83ca36d7a08ed2a8f1f8dddb7ed677