<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/nova.git/nova/objects/bandwidth_usage.py, branch 23.2.2</title>
<subtitle>opendev.org: openstack/nova.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/nova.git/'/>
<entry>
<title>virt: Remove 'get_all_bw_counters' API</title>
<updated>2020-11-24T15:29:21+00:00</updated>
<author>
<name>Stephen Finucane</name>
<email>stephenfin@redhat.com</email>
</author>
<published>2020-08-31T16:27:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/nova.git/commit/?id=9d1683f70f2c11c3c866ff457aa23a7a38421afe'/>
<id>9d1683f70f2c11c3c866ff457aa23a7a38421afe</id>
<content type='text'>
This one is a little more involved because there are persistent objects
and versioned notifications to worry about, neither of which we can
remove right now.

Change-Id: Ic7c330ee1cccdc44a2a555c16cb6090eecbf6ce1
Signed-off-by: Stephen Finucane &lt;stephenfin@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This one is a little more involved because there are persistent objects
and versioned notifications to worry about, neither of which we can
remove right now.

Change-Id: Ic7c330ee1cccdc44a2a555c16cb6090eecbf6ce1
Signed-off-by: Stephen Finucane &lt;stephenfin@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Stop handling 'update_cells' on 'BandwidthUsage.create'</title>
<updated>2019-05-20T09:29:16+00:00</updated>
<author>
<name>Stephen Finucane</name>
<email>sfinucan@redhat.com</email>
</author>
<published>2019-04-05T08:16:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/nova.git/commit/?id=14cc25552a52e6898a81b9877c6d2c0423a95d57'/>
<id>14cc25552a52e6898a81b9877c6d2c0423a95d57</id>
<content type='text'>
Part of blueprint remove-cells-v1

Change-Id: I27719a2c44ebea90161c3032485581a6d8e4ba68
Signed-off-by: Stephen Finucane &lt;sfinucan@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Part of blueprint remove-cells-v1

Change-Id: I27719a2c44ebea90161c3032485581a6d8e4ba68
Signed-off-by: Stephen Finucane &lt;sfinucan@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Use nova.db.api directly</title>
<updated>2018-07-10T14:56:27+00:00</updated>
<author>
<name>Chris Dent</name>
<email>cdent@anticdent.org</email>
</author>
<published>2018-02-11T21:58:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/nova.git/commit/?id=def4b17934a3b2cf783d0177d6a9632916dfd10f'/>
<id>def4b17934a3b2cf783d0177d6a9632916dfd10f</id>
<content type='text'>
nova/db/__init__.py was importing * from nova.db.api. This meant that
any time any code anywhere within the nova.db package was imported
then nova.db.api was too, leading to a cascade of imports that may
not have been desired. Also, in general, code in __init__.py is a pain.

Therefore, this change adjusts code that so that either:

* nova.db.api is used directly
* nova.db.api is imported as 'db'

In either case, the functionality remains the same.

The primary goal of this change was to make it possible to import the
model files without having to import the db api. Moving the model files
to a different place in the directory hierarchy was considered, but
given that "code in __init__.py is a pain" this mode was chosen.

This looks like a very large change, but it is essentially adjusting
package names, many in mocks.

Change-Id: Ic1fd7c87ceda05eeb96735da2a415ef37060bb1a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
nova/db/__init__.py was importing * from nova.db.api. This meant that
any time any code anywhere within the nova.db package was imported
then nova.db.api was too, leading to a cascade of imports that may
not have been desired. Also, in general, code in __init__.py is a pain.

Therefore, this change adjusts code that so that either:

* nova.db.api is used directly
* nova.db.api is imported as 'db'

In either case, the functionality remains the same.

The primary goal of this change was to make it possible to import the
model files without having to import the db api. Moving the model files
to a different place in the directory hierarchy was considered, but
given that "code in __init__.py is a pain" this mode was chosen.

This looks like a very large change, but it is essentially adjusting
package names, many in mocks.

Change-Id: Ic1fd7c87ceda05eeb96735da2a415ef37060bb1a
</pre>
</div>
</content>
</entry>
<entry>
<title>Cleanup NovaObjectDictCompat from BandwidthUsage</title>
<updated>2016-04-04T10:26:55+00:00</updated>
<author>
<name>Stephen Finucane</name>
<email>stephen.finucane@intel.com</email>
</author>
<published>2016-01-05T08:54:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/nova.git/commit/?id=a5851f95bc248adaa99f868e7c964c5a3fd76807'/>
<id>a5851f95bc248adaa99f868e7c964c5a3fd76807</id>
<content type='text'>
Cleanup subclassing on NovaObjectDictCompat. A minor change to a unit
tests is also required.

Change-Id: I4ac17ccaa54424ac52fe0d1a83fc062c180f11db
Partially-Implements: bp rm-object-dict-compat-newton
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Cleanup subclassing on NovaObjectDictCompat. A minor change to a unit
tests is also required.

Change-Id: I4ac17ccaa54424ac52fe0d1a83fc062c180f11db
Partially-Implements: bp rm-object-dict-compat-newton
</pre>
</div>
</content>
</entry>
<entry>
<title>enginefacade: 'bw_usage', 'vol_usage' and 's3_image'</title>
<updated>2015-12-22T11:38:00+00:00</updated>
<author>
<name>Pavel Kholkin</name>
<email>pkholkin@mirantis.com</email>
</author>
<published>2015-12-22T11:38:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/nova.git/commit/?id=f9b4fbb8ee3dab37678f26d5d6d132320b4d1a69'/>
<id>f9b4fbb8ee3dab37678f26d5d6d132320b4d1a69</id>
<content type='text'>
Use enginefacade in 'bw_usage', 'vol_usage' and 's3_image' sections.

Implements: blueprint new-oslodb-enginefacade

Co-Authored-By: Sergey Nikitin &lt;snikitin@mirantis.com&gt;

Change-Id: I32202f044ebe52276bc44bb5ff22ea012c7373d0
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use enginefacade in 'bw_usage', 'vol_usage' and 's3_image' sections.

Implements: blueprint new-oslodb-enginefacade

Co-Authored-By: Sergey Nikitin &lt;snikitin@mirantis.com&gt;

Change-Id: I32202f044ebe52276bc44bb5ff22ea012c7373d0
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove obj_relationships from objects</title>
<updated>2015-10-30T00:22:23+00:00</updated>
<author>
<name>Dan Smith</name>
<email>dansmith@redhat.com</email>
</author>
<published>2015-10-05T23:50:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/nova.git/commit/?id=93a3017999a6f71e94c86f29c83395e9d220250c'/>
<id>93a3017999a6f71e94c86f29c83395e9d220250c</id>
<content type='text'>
In Liberty, we converted to using the manifest-based class
action and backport methods, which no longer rely on these
object relationship maps. They provide a full manifest of
client-side versions with each call, which is far more
robust than us trying to hand-edit these mappings (which
we get incorrect a lot).

Since we're now in Mitaka, we can drop compatibility with
clients that don't make the version-manifest calls. Those
have also been deprecated in oslo.versionedobjects.

Change-Id: Iea8b6348e3b01aaa335ec5408f07826f1e758d20</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In Liberty, we converted to using the manifest-based class
action and backport methods, which no longer rely on these
object relationship maps. They provide a full manifest of
client-side versions with each call, which is far more
robust than us trying to hand-edit these mappings (which
we get incorrect a lot).

Since we're now in Mitaka, we can drop compatibility with
clients that don't make the version-manifest calls. Those
have also been deprecated in oslo.versionedobjects.

Change-Id: Iea8b6348e3b01aaa335ec5408f07826f1e758d20</pre>
</div>
</content>
</entry>
<entry>
<title>Change List objects to use obj_relationships</title>
<updated>2015-07-31T18:49:50+00:00</updated>
<author>
<name>Ryan Rossiter</name>
<email>rlrossit@us.ibm.com</email>
</author>
<published>2015-06-30T22:19:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/nova.git/commit/?id=25e02700a405642582f4a7c40f75a3653d937162'/>
<id>25e02700a405642582f4a7c40f75a3653d937162</id>
<content type='text'>
List objects used to use child_versions, which was tested in a more
shallow way than test_relationships() tests obj_relationships. This
change moves over all list classes to use obj_relationships (and
therefore are now tested in test_relationships() with all other
objects).

Change-Id: I334dba243de45bf11ccb5ab55e2aa8390fe9d8c2
Closes-Bug: #1470154
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
List objects used to use child_versions, which was tested in a more
shallow way than test_relationships() tests obj_relationships. This
change moves over all list classes to use obj_relationships (and
therefore are now tested in test_relationships() with all other
objects).

Change-Id: I334dba243de45bf11ccb5ab55e2aa8390fe9d8c2
Closes-Bug: #1470154
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Map uuid db field to instance_uuid in BandwidthUsage object"</title>
<updated>2015-06-10T18:24:59+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2015-06-10T18:24:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/nova.git/commit/?id=60106464f44e5161613c3c805e1a01dff97268f3'/>
<id>60106464f44e5161613c3c805e1a01dff97268f3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Map uuid db field to instance_uuid in BandwidthUsage object</title>
<updated>2015-06-08T17:37:56+00:00</updated>
<author>
<name>Andrew Laski</name>
<email>andrew.laski@rackspace.com</email>
</author>
<published>2015-06-08T17:23:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/nova.git/commit/?id=f99af38cade764445fe7a40b4763293a0f91b514'/>
<id>f99af38cade764445fe7a40b4763293a0f91b514</id>
<content type='text'>
The BandwidthUsage database model stores the instance relation as 'uuid'
but the BandwidthUsage Nova Object stores it as instance_uuid.  The
_from_db_object needs to handle this discrepancy.

This wasn't caught before because unit tests were passing back a
simulated db return which didn't match reality.

Change-Id: I9aeac709cbbf0f9ddfa6cf724d55af8fa3a962ee
Closes-Bug: 1463039
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The BandwidthUsage database model stores the instance relation as 'uuid'
but the BandwidthUsage Nova Object stores it as instance_uuid.  The
_from_db_object needs to handle this discrepancy.

This wasn't caught before because unit tests were passing back a
simulated db return which didn't match reality.

Change-Id: I9aeac709cbbf0f9ddfa6cf724d55af8fa3a962ee
Closes-Bug: 1463039
</pre>
</div>
</content>
</entry>
<entry>
<title>Begin the transition to an explicit object registry</title>
<updated>2015-06-08T14:12:34+00:00</updated>
<author>
<name>Dan Smith</name>
<email>dansmith@redhat.com</email>
</author>
<published>2015-06-02T16:54:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/nova.git/commit/?id=31a192f2e12641c58b11dde966fe32f3696b27c2'/>
<id>31a192f2e12641c58b11dde966fe32f3696b27c2</id>
<content type='text'>
In oslo.versionedobjects, the registry is opt-in instead of implicit.
This patch sets the stage for moving to that by defining a no-op
registry with a compatible register method so that we can go ahead and
decorate the object classes and then move the registry underneath them.

Related to blueprint use-oslo-objects

Change-Id: Iddc68a2d8a9b103621bc60a7426fe495edf80aad
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In oslo.versionedobjects, the registry is opt-in instead of implicit.
This patch sets the stage for moving to that by defining a no-op
registry with a compatible register method so that we can go ahead and
decorate the object classes and then move the registry underneath them.

Related to blueprint use-oslo-objects

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