def get_property_mapping():
    properties = {}
    for property in lfs.catalog.models.Property.objects.all():
        properties[property.id] = property

    return properties
Returns xml for libvirt.
dataset/ETHPy150Open diefenbach/django-lfs/lfs/catalog/utils.py/get_property_mapping--crossover with--dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/virt/libvirt/volume/volume.py/LibvirtFakeVolumeDriver.get_config