pbb: add a comment
Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
parent
57d14a3526
commit
4d9382ce7a
@ -52,6 +52,7 @@ class itag(packet_base.PacketBase):
|
||||
dei = data >> 28 & 1
|
||||
uca = data >> 27 & 1
|
||||
sid = data & 0x00ffffff
|
||||
# circular import: ethernet -> vlan -> pbb
|
||||
from ryu.lib.packet import ethernet
|
||||
return (cls(pcp, dei, uca, sid), ethernet.ethernet,
|
||||
buf[cls._MIN_LEN:])
|
||||
|
Loading…
Reference in New Issue
Block a user