'Find the OVF properties config file and load it.
OVF properties config file specifies which metadata of interest to
extract. Reads in a JSON file named \'ovf-metadata.json\' if available.
See example file at etc/ovf-metadata.json.sample.'

def _load_interested_properties(self):

    filename = 'ovf-metadata.json'
    match = CONF.find_file(filename)
    if match:
        with open(match, 'r') as properties_file:
            properties = json.loads(properties_file.read())
            self.interested_properties = properties.get('cim_pasd', [])
            if (not self.interested_properties):
                LOG.warn(_LW('OVF    metadata    of    interest    was    not    specified    in    ovf-metadata.json    config    file.    Please    set    "cim_pasd"    to    a    list    of    interested    CIM_ProcessorAllocationSettingData    properties.'))
    else:
        LOG.warn(_LW('OVF    properties    config    file    "ovf-metadata.json"    was    not    found.'))
