mirror of
https://github.com/faucetsdn/ryu.git
synced 2026-05-09 22:36:10 +02:00
of14: default ethernet type for PUSH_VLAN action
0x8100 in most cases. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Reviewed-by: Simon Horman <horms@verge.net.au>
This commit is contained in:
parent
1f590c0411
commit
7ac5282974
@ -3552,10 +3552,10 @@ class OFPActionPushVlan(OFPAction):
|
||||
================ ======================================================
|
||||
Attribute Description
|
||||
================ ======================================================
|
||||
ethertype Ether type
|
||||
ethertype Ether type. The default is 802.1Q. (0x8100)
|
||||
================ ======================================================
|
||||
"""
|
||||
def __init__(self, ethertype, type_=None, len_=None):
|
||||
def __init__(self, ethertype=ether.ETH_TYPE_8021Q, type_=None, len_=None):
|
||||
super(OFPActionPushVlan, self).__init__()
|
||||
self.ethertype = ethertype
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user