

def handle_set_port_property(self, handle, connection, match, data, hdr):
    try:
        self.node.am.set_port_property(actor_id=data['actor_id'], port_type=data['port_type'], port_name=data['port_name'], port_property=data['port_property'], value=data['value'])
        status = calvinresponse.OK
    except:
        status = calvinresponse.NOT_FOUND
    self.send_response(handle, connection, None, status=status)

dataset/ETHPy150Open EricssonResearch/calvin-base/calvin/runtime/north/calvincontrol.py CalvinControl.handle_set_port_property/original