There was a typo in the Authentication section of the usage.rst
file.
This has been fixed, along with some lining up of comments in the
test code to make it easier to read.
Change-Id: I342a286055246beaeadc7e763d3b75bd17c32a60
Add oslosphinx to get OpenStack branding.
Remove html_static_path since it's unused and issues a warning.
Update copyright year.
Change-Id: I0bdcab8ebc5a201a3f91b4a6c4724536d1157901
the refactoring in Ie1ac42d61e920ac8ea1ebab35c2db096fd313077
broke the responses for the aforementioned commands,
resulting in stacktraces.
Change-Id: Idb6d5677cb854b9dc76ad621910277b687c111a1
Closes-Bug: #1368982
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
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
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
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
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
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
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
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.
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.
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
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
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
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
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
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
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