Beispiel #1
0
def loxi_group_action_to_ofp_action(lo):
    return pb2.ofp_action(type=pb2.OFPAT_GROUP,
                          group=pb2.ofp_action_group(group_id=lo.group_id))
Beispiel #2
0
def loxi_group_action_to_ofp_action(lo):
    return pb2.ofp_action(
        type=pb2.OFPAT_GROUP,
        group=pb2.ofp_action_group(group_id=lo.group_id))