import logging


def get_ovf_descriptor(ovf_path):
    """
    Read in the OVF descriptor.
    """
    with open(ovf_path, 'r') as f:
        try:
            ovfd = f.read()
            f.close()
            return ovfd
        except:
            logging.info("Could not read file: %s" % ovf_path)