Esempio n. 1
0
def loxi_output_action_to_ofp_action(lo):
    return pb2.ofp_action(type=pb2.OFPAT_OUTPUT,
                          output=pb2.ofp_action_output(port=lo.port,
                                                       max_len=lo.max_len))
Esempio n. 2
0
def loxi_output_action_to_ofp_action(lo):
    return pb2.ofp_action(
        type=pb2.OFPAT_OUTPUT,
        output=pb2.ofp_action_output(port=lo.port, max_len=lo.max_len))