Remove obj_relationships from objects

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
This commit is contained in:
Dan Smith
2015-10-05 16:50:06 -07:00
committed by Dan Smith
parent 4e8706c179
commit 45499ccf26
4 changed files with 0 additions and 19 deletions

View File

@@ -101,10 +101,6 @@ class InstanceFaultList(base.ObjectListBase, base.NovaObject):
fields = {
'objects': fields.ListOfObjectsField('InstanceFault'),
}
# NOTE(danms): InstanceFault was at 1.1 before we added this
obj_relationships = {
'objects': [('1.0', '1.1'), ('1.1', '1.2')],
}
@base.remotable_classmethod
def get_by_instance_uuids(cls, context, instance_uuids):