79af02046d
It is not sufficient to just pass a filename into the libguestfs APIs. There needs to be various pieces of metadata passed in order to support network based images. This introduces a simple data model to describe images when passing info from virt drivers to the VFS APIs. These classes are only intended to contain identifying attributes for the various storage backends used as images. They are not intended to hold any functional logic, as that will remain in the libvirt driver private image backend classes. This separates generic description of storage backends, from driver specific implementation details. Related-Bug: #1257674 Change-Id: I5f86d91aa2bcef2385d5d16022a9bd4ea7b0485e
0 lines
Python
0 lines
Python