def get_action_instruction(self, qid: int):
    if ((qid < self._start_idx) or (qid > (self._max_idx - 1))):
        LOG.error('invalid qid %d, no action/inst returned', qid)
        return (None, None)
    parser = self._datapath.ofproto_parser
    return (parser.OFPActionSetField(pkt_mark=qid), None, qid)
def get_action_instruction(self, qid: int):
    if ((qid < self._start_idx) or (qid > (self._max_idx - 1))):
        LOG.error('invalid qid %d, no action/inst returned', qid)
        return (None, None)
    parser = self._datapath.ofproto_parser
    return (parser.OFPActionSetField(pkt_mark=qid), None, qid)