from cinder import objects
from cinder.objects import base
from cinder.objects import fields as c_fields
-from cinder import utils
LOG = logging.getLogger(__name__)
'active_backend_id': fields.StringField(nullable=True),
}
- def obj_make_compatible(self, primitive, target_version):
- """Make an object representation compatible with a target version."""
- target_version = utils.convert_version_to_tuple(target_version)
-
@staticmethod
def _from_db_object(context, service, db_service):
for name, field in service.fields.items():