def METHOD_NAME(vol_name, pool_name, virsh_instance=base.virsh):
    """
    Return volume xml dictionary by Vol's uuid or name.
    :param vol_name: Vol's name
    :return: volume xml dictionary
    """
    volume_xml = {}
    vol_xml = VolXML.new_from_vol_dumpxml(vol_name, pool_name,
                                          virsh_instance)
    volume_xml['key'] = vol_xml.key
    volume_xml['path'] = vol_xml.path
    volume_xml['capacity'] = vol_xml.capacity
    volume_xml['allocation'] = vol_xml.allocation
    try:
        volume_xml['format'] = vol_xml.format
    except LibvirtXMLNotFoundError:
        volume_xml['format'] = None
    return volume_xml