def push_vlan(eth_type): return action( type=PUSH_VLAN, push=ofp.ofp_action_push(ethertype=eth_type) )