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:
YAMAMOTO Takashi 2014-02-07 12:42:47 +09:00 committed by FUJITA Tomonori
parent 57d14a3526
commit 4d9382ce7a

View File

@ -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:])