def set_param(self, resource_id="", name='', value=''):
        if not hasattr(self, "rpar_%s" % name):
            raise iex.NotFound('Resource parameter not existing: %s' % name)
        pvalue = getattr(self, "rpar_%s" % name)
        setattr(self, "rpar_%s" % name, value)
        return pvalue
dataset/ETHPy150Open ooici/pyon/pyon/agent/simple_agent.py/SimpleResourceAgent.set_param/original