'Loads metadata into an internal structure'

def load_metadata(self, metadata_conf):

    acs = self.attribute_converters
    if (acs is None):
        raise ConfigurationError('Missing    attribute    converter    specification')
    try:
        ca_certs = self.ca_certs
    except:
        ca_certs = None
    try:
        disable_validation = self.disable_ssl_certificate_validation
    except:
        disable_validation = False
    mds = MetadataStore(ONTS.values(), acs, self, ca_certs, disable_ssl_certificate_validation=disable_validation)
    mds.imp(metadata_conf)
    return mds
