def METHOD_NAME(self, opts):
    config = {}
    if not opts:
        return config
    for s in opts:
        s = s.strip()
        k, v = s.split('=', 1)
        if '.' not in k:
            config[k] = yaml.load(v, Loader=yaml.Loader)
        else:
            keys = k.split('.')
            if keys[0] not in config:
                config[keys[0]] = {}
            cur = config[keys[0]]
            for idx, key in enumerate(keys[1:]):
                if idx == len(keys) - 2:
                    cur[key] = yaml.load(v, Loader=yaml.Loader)
                else:
                    cur[key] = {}
                    cur = cur[key]
    return config