"The Pop PBB header action does not remove the backbone VLAN
header (B-TAG)" as described in openflow spec 1.3.3.
The format of I-TAG TCI is pcp,..,I-SID,C-DA,C-SA as in
802.1Q-2011 Figure 9-3.
---
 ryu/tests/switch/of13/action/27_POP_PBB.json |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/ryu/tests/switch/of13/action/27_POP_PBB.json 
b/ryu/tests/switch/of13/action/27_POP_PBB.json
index 821d3c9..abff5d5 100644
--- a/ryu/tests/switch/of13/action/27_POP_PBB.json
+++ b/ryu/tests/switch/of13/action/27_POP_PBB.json
@@ -53,6 +53,7 @@
                 ],
                 "egress":[
                     "ethernet(dst='22:22:22:22:22:22', 
src='11:11:11:11:11:11', ethertype=34984)",
+                    "svlan(ethertype=34984, vid=10)",
                     "svlan(ethertype=33024, vid=10)",
                     "vlan(pcp=3, cfi=0, vid=100, ethertype=2048)",
                     "ipv4(tos=32, proto=6, src='192.168.10.10', 
dst='192.168.20.20', ttl=64)",
@@ -115,6 +116,7 @@
                 ],
                 "egress":[
                     "ethernet(dst='22:22:22:22:22:22', 
src='11:11:11:11:11:11', ethertype=34984)",
+                    "svlan(ethertype=34984, vid=10)",
                     "svlan(ethertype=33024, vid=10)",
                     "vlan(pcp=3, cfi=0, vid=100, ethertype=34525)",
                     "ipv6(dst='20::20', flow_label=100, src='10::10', nxt=6, 
hop_limit=64, traffic_class=32)",
@@ -176,6 +178,7 @@
                 ],
                 "egress":[
                     "ethernet(dst='22:22:22:22:22:22', 
src='11:11:11:11:11:11', ethertype=34984)",
+                    "svlan(ethertype=34984, vid=10)",
                     "svlan(ethertype=33024, vid=10)",
                     "vlan(pcp=3, cfi=0, vid=100, ethertype=2054)",
                     "arp(dst_ip='192.168.20.20',dst_mac='22:22:22:22:22:22', 
opcode=1, src_ip='192.168.10.10',src_mac='11:11:11:11:11:11')",
-- 
1.7.9


------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to