Beispiel #1
0
def loxi_push_vlan_action_to_ofp_action(lo):
    return pb2.ofp_action(type=pb2.OFPAT_PUSH_VLAN,
                          push=pb2.ofp_action_push(ethertype=lo.ethertype))
Beispiel #2
0
def loxi_push_vlan_action_to_ofp_action(lo):
    return pb2.ofp_action(
        type=pb2.OFPAT_PUSH_VLAN,
        push=pb2.ofp_action_push(ethertype=lo.ethertype))