def METHOD_NAME(self, opts, conf_path):
    f = open(conf_path)
    config = yaml.load(f, Loader=yaml.Loader)
    if not opts:
        return config
    for s in opts:
        s = s.strip()
        k, v = s.split('=')
        v = self._parse_helper(v)
        if "devices" in k:
            v = str(v)
        print(k, v, type(v))
        cur = config
        parent = cur
        for kk in k.split("."):
            if kk not in cur:
                cur[kk] = {}
                parent = cur
                cur = cur[kk]
            else:
                parent = cur
                cur = cur[kk]
        parent[k.split(".")[-1]] = v
    return config