def setparam(self, key, value):
        if key in self._params:
            if self._params[key] == value:
                return False
            elif self._params[key] <= 0 and value <= 0:
                # treat None and 0 as unchanged values
                return False
        self._params[key] = value
        return True
Set a parameter in the _params dict.
dataset/ETHPy150Open coreemu/core/daemon/core/coreobj.py/PyCoreNetIf.setparam