<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/python-troveclient.git/troveclient/tests/test_instances.py, branch queens-eol</title>
<subtitle>opendev.org: openstack/python-troveclient.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-troveclient.git/'/>
<entry>
<title>Add module-instance-count command</title>
<updated>2017-01-05T00:11:59+00:00</updated>
<author>
<name>Peter Stachowski</name>
<email>peter@tesora.com</email>
</author>
<published>2016-11-04T14:45:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-troveclient.git/commit/?id=714c6e781c0bf6ad84015061c397bedce8eccd1e'/>
<id>714c6e781c0bf6ad84015061c397bedce8eccd1e</id>
<content type='text'>
Added a --count_only flag to the call for module instances
to return a summary of the applied instances
based on the MD5 of the module (this is most useful
for live_update modules, to see which ones haven't been
updated).

Added a new module-instance-count command.  This was done
to facilitate getting the summary, since it returns
a different result set.  It basically calls the
same python interface as module-instances, but adds
the --count_only flag.

Also added some missing tests.

Change-Id: Iea661166bf3a4f3520a590da5954aedcd0036243
Partial-Bug: #1554900
Depends-On: I4caf4a57226dd711575cde766076fa25d16792e2
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Added a --count_only flag to the call for module instances
to return a summary of the applied instances
based on the MD5 of the module (this is most useful
for live_update modules, to see which ones haven't been
updated).

Added a new module-instance-count command.  This was done
to facilitate getting the summary, since it returns
a different result set.  It basically calls the
same python interface as module-instances, but adds
the --count_only flag.

Also added some missing tests.

Change-Id: Iea661166bf3a4f3520a590da5954aedcd0036243
Partial-Bug: #1554900
Depends-On: I4caf4a57226dd711575cde766076fa25d16792e2
</pre>
</div>
</content>
</entry>
<entry>
<title>Time to get rid of slave_of</title>
<updated>2016-12-23T01:56:26+00:00</updated>
<author>
<name>jiansong</name>
<email>jian.song@easystack.cn</email>
</author>
<published>2016-12-15T01:53:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-troveclient.git/commit/?id=bd8e56f0e1a2eec43d8310874a8aa45a00f4a638'/>
<id>bd8e56f0e1a2eec43d8310874a8aa45a00f4a638</id>
<content type='text'>
Now liberty is end of life,so we can get rid of slave_of

Change-Id: I429a95018a58a92576c52e0a9bc6b1b817c408ea
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now liberty is end of life,so we can get rid of slave_of

Change-Id: I429a95018a58a92576c52e0a9bc6b1b817c408ea
</pre>
</div>
</content>
</entry>
<entry>
<title>Implement Instance Upgrade</title>
<updated>2016-08-16T14:44:29+00:00</updated>
<author>
<name>Morgan Jones</name>
<email>morgan@parelastic.com</email>
</author>
<published>2016-06-06T17:38:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-troveclient.git/commit/?id=4f3ab586870600201400f2aaf49895afcc377142'/>
<id>4f3ab586870600201400f2aaf49895afcc377142</id>
<content type='text'>
This change includes a new "trove upgrade" CLI command and
a new "Instances.upgrade" python API method to implement
the new Instance Upgrade feature.

Change-Id: I6ec2ebb78019c014f87ba5d8cbfd284686c64f30
Implements: blueprint image-upgrade
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This change includes a new "trove upgrade" CLI command and
a new "Instances.upgrade" python API method to implement
the new Instance Upgrade feature.

Change-Id: I6ec2ebb78019c014f87ba5d8cbfd284686c64f30
Implements: blueprint image-upgrade
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Locality support for replication"</title>
<updated>2016-06-24T20:26:05+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2016-06-24T20:26:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-troveclient.git/commit/?id=417af237c9943e31891114e315b902f23d084cd9'/>
<id>417af237c9943e31891114e315b902f23d084cd9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix troveclient to support Mistral</title>
<updated>2016-05-26T20:14:37+00:00</updated>
<author>
<name>Morgan Jones</name>
<email>morgan@parelastic.com</email>
</author>
<published>2016-05-25T16:29:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-troveclient.git/commit/?id=ea0e472edd194243392fd51a5af3a3a77101fddd'/>
<id>ea0e472edd194243392fd51a5af3a3a77101fddd</id>
<content type='text'>
Mistral gets confused by Trove's (aguably wrong) inclusion
of a member called 'items' in the Pagenated object that
Trove returns as the result of 'list' client methods.

This change changes Pagenated to inherit from the 'list'
class so that the items method is not required (and has
the additional benefit of just generally being a better
implementation of a list type result).

Change-Id: I683120451f69f07f131e6fa422c082f85735b196
Closes-bug: 1585705
Depends-On: Id674ae57bfcdc5e09bde1e323a614b3a03a7cad3
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Mistral gets confused by Trove's (aguably wrong) inclusion
of a member called 'items' in the Pagenated object that
Trove returns as the result of 'list' client methods.

This change changes Pagenated to inherit from the 'list'
class so that the items method is not required (and has
the additional benefit of just generally being a better
implementation of a list type result).

Change-Id: I683120451f69f07f131e6fa422c082f85735b196
Closes-bug: 1585705
Depends-On: Id674ae57bfcdc5e09bde1e323a614b3a03a7cad3
</pre>
</div>
</content>
</entry>
<entry>
<title>Locality support for replication</title>
<updated>2016-05-02T22:18:53+00:00</updated>
<author>
<name>Peter Stachowski</name>
<email>peter@tesora.com</email>
</author>
<published>2016-04-01T21:01:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-troveclient.git/commit/?id=358dbf3c80cd444fcd3667d2d7a43ef725a9c748'/>
<id>358dbf3c80cd444fcd3667d2d7a43ef725a9c748</id>
<content type='text'>
In order to allow replication sets to be all on the same hypervisor
(affinity) or all on different hypervisors (anti-affinity) a new
argument (locality) needed to be added to the Trove create API.

This changeset addresses the Trove client part of this feature.
A --locality flag is now available on the 'create' command and
is passed to the server for processing.

The --replica_count argument was also cleaned up in that it's not
passed on unless it is set. If --replica_of is specified, the
default is set to '1.'

DocImpact: New functionality

Partially implements: blueprint replication-cluster-locality
Change-Id: I18f242983775526a7f1e2644302ebdc0dac025cf
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In order to allow replication sets to be all on the same hypervisor
(affinity) or all on different hypervisors (anti-affinity) a new
argument (locality) needed to be added to the Trove create API.

This changeset addresses the Trove client part of this feature.
A --locality flag is now available on the 'create' command and
is passed to the server for processing.

The --replica_count argument was also cleaned up in that it's not
passed on unless it is set. If --replica_of is specified, the
default is set to '1.'

DocImpact: New functionality

Partially implements: blueprint replication-cluster-locality
Change-Id: I18f242983775526a7f1e2644302ebdc0dac025cf
</pre>
</div>
</content>
</entry>
<entry>
<title>Client support for instance module feature</title>
<updated>2016-03-11T23:10:50+00:00</updated>
<author>
<name>Peter Stachowski</name>
<email>peter@tesora.com</email>
</author>
<published>2016-03-08T05:22:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-troveclient.git/commit/?id=457360c69f651aea92769c9e543492d770b84595'/>
<id>457360c69f651aea92769c9e543492d770b84595</id>
<content type='text'>
This adds support in the python API and Trove CLI
for instance module commands.  These commands include:

    - module-apply
    - module-remove
    - module-query
    - module-retrieve
    - module-list-instance

The parsing of --instance was modified to allow multiple
modules to be specified.  This was extended to 'nics' as well.

Partially Implements: blueprint module-management
Change-Id: If62f5e51d4628cc6a8b10303d5c3893b3bd5057e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This adds support in the python API and Trove CLI
for instance module commands.  These commands include:

    - module-apply
    - module-remove
    - module-query
    - module-retrieve
    - module-list-instance

The parsing of --instance was modified to allow multiple
modules to be specified.  This was extended to 'nics' as well.

Partially Implements: blueprint module-management
Change-Id: If62f5e51d4628cc6a8b10303d5c3893b3bd5057e
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "Time to get rid of any last vestiges of slave_of"</title>
<updated>2016-03-09T01:12:31+00:00</updated>
<author>
<name>Matt Riedemann</name>
<email>mriedem@us.ibm.com</email>
</author>
<published>2016-03-08T18:05:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-troveclient.git/commit/?id=3c71e52b408bbd6c33fca85188db2c8f156fb341'/>
<id>3c71e52b408bbd6c33fca85188db2c8f156fb341</id>
<content type='text'>
This reverts commit a5234f0a07230e0d8195687e033adfe4cc0ad522

The change broke trove on stable/liberty since it's a backward
incompatible change.

To avoid capping python-troveclient&lt;2.1.0 in
stable/liberty global-requirements, we have to revert this
change, blacklist the 2.1.0 version in g-r master and
stable/liberty, and then release 2.2.0.

And the slave_of code can't be removed until the last
supported stable branch that uses it is end of life, which
is liberty-eol. For now we keep the slave_of argument in
the instance.create method, but emit a deprecation warning
if it's specified, and we never pass it to the trove API
for the create or edit operations since the API removed
slave_of in 0c94a5bae0aacff7fde9a9742b7d526096e51767.

Change-Id: I9b3ec6c101a89f30e61fc683808506c404e5474f
Partial-Bug: #1538506
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit a5234f0a07230e0d8195687e033adfe4cc0ad522

The change broke trove on stable/liberty since it's a backward
incompatible change.

To avoid capping python-troveclient&lt;2.1.0 in
stable/liberty global-requirements, we have to revert this
change, blacklist the 2.1.0 version in g-r master and
stable/liberty, and then release 2.2.0.

And the slave_of code can't be removed until the last
supported stable branch that uses it is end of life, which
is liberty-eol. For now we keep the slave_of argument in
the instance.create method, but emit a deprecation warning
if it's specified, and we never pass it to the trove API
for the create or edit operations since the API removed
slave_of in 0c94a5bae0aacff7fde9a9742b7d526096e51767.

Change-Id: I9b3ec6c101a89f30e61fc683808506c404e5474f
Partial-Bug: #1538506
</pre>
</div>
</content>
</entry>
<entry>
<title>Add instance name as parameter to CLI</title>
<updated>2014-12-08T19:29:06+00:00</updated>
<author>
<name>Doug Shelley</name>
<email>doug@parelastic.com</email>
</author>
<published>2014-12-04T17:27:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-troveclient.git/commit/?id=df3afb2abc0d3e7efb1057884e84d8f9a8813881'/>
<id>df3afb2abc0d3e7efb1057884e84d8f9a8813881</id>
<content type='text'>
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>Clusters troveclient Implementation</title>
<updated>2014-09-02T23:38:56+00:00</updated>
<author>
<name>amcrn</name>
<email>amcreynolds@ebaysf.com</email>
</author>
<published>2014-08-12T23:52:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-troveclient.git/commit/?id=6852bdcefc17712b4b57a530adfb406e059e52e2'/>
<id>6852bdcefc17712b4b57a530adfb406e059e52e2</id>
<content type='text'>
adds clusters support to the troveclient.

Co-Authored-By: Ranjitha Vemula &lt;rvemula@ebaysf.com&gt;
Co-Authored-By: Michael Yu &lt;michayu@ebaysf.com&gt;
Co-Authored-By: Mat Lowery &lt;mlowery@ebaysf.com&gt;

Partially implements: blueprint clustering

Change-Id: I6ed2c4c79a17fcf8f14c587cab6a8ec3acaf319f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
adds clusters support to the troveclient.

Co-Authored-By: Ranjitha Vemula &lt;rvemula@ebaysf.com&gt;
Co-Authored-By: Michael Yu &lt;michayu@ebaysf.com&gt;
Co-Authored-By: Mat Lowery &lt;mlowery@ebaysf.com&gt;

Partially implements: blueprint clustering

Change-Id: I6ed2c4c79a17fcf8f14c587cab6a8ec3acaf319f
</pre>
</div>
</content>
</entry>
</feed>
