def setconfig_keyvalues(self, nodenum, conftype, keyvalues):
        if conftype not in self._modelclsmap:
            self.warn("Unknown model type '%s'" % (conftype))
            return
        model = self._modelclsmap[conftype]
        keys = model.getnames()
        # defaults are merged with supplied values here
        values = list(model.getdefaultvalues())
        for key, value in keyvalues:
            if key not in keys:
                self.warn("Skipping unknown configuration key for %s: '%s'" % \
                          (conftype, key))
                continue
            i = keys.index(key)
            values[i] = value
        self.setconfig(nodenum, conftype, values)
keyvalues list of tuples
dataset/ETHPy150Open coreemu/core/daemon/core/conf.py/ConfigurableManager.setconfig_keyvalues