mirror of
https://github.com/faucetsdn/ryu.git
synced 2026-05-08 22:06:10 +02:00
sw test tool: fix pop_pbb action
"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. Change the test senario, converting from B-MAC/I-TAG/S-TAG/C-TAG/ethertype/Data to C-MAC/S-TAG/C-TAG/ethertype/Data looks more common. Reported-by: Hiroaki KAWAI <kawai@stratosphere.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
parent
c566ba192c
commit
f3f784e01b
@ -1,7 +1,7 @@
|
||||
[
|
||||
"action: 27_POP_PBB",
|
||||
{
|
||||
"description": "ethernet/svlan/itag/ethernet/svlan/vlan/ipv4/tcp-->'eth_type=0x88e7,actions=pop_pbb,output:2'",
|
||||
"description": "ethernet/itag/ethernet/svlan/vlan/ipv4/tcp-->'eth_type=0x88e7,actions=pop_pbb,output:2'",
|
||||
"prerequisite":[
|
||||
{
|
||||
"OFPFlowMod":{
|
||||
@ -41,8 +41,7 @@
|
||||
"tests":[
|
||||
{
|
||||
"ingress":[
|
||||
"ethernet(dst='22:22:22:22:22:22', src='11:11:11:11:11:11', ethertype=34984)",
|
||||
"svlan(ethertype=35047, vid=10)",
|
||||
"ethernet(dst='22:22:22:22:22:22', src='11:11:11:11:11:11', ethertype=35047)",
|
||||
"itag(sid=100)",
|
||||
"ethernet(dst='22:22:22:22:22:22', src='11:11:11:11:11:11', ethertype=34984)",
|
||||
"svlan(ethertype=33024, vid=10)",
|
||||
@ -63,7 +62,7 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "ethernet/svlan/itag/ethernet/svlan/vlan/ipv6/tcp-->'eth_type=0x88e7,actions=pop_pbb,output:2'",
|
||||
"description": "ethernet/itag/ethernet/svlan/vlan/ipv6/tcp-->'eth_type=0x88e7,actions=pop_pbb,output:2'",
|
||||
"prerequisite":[
|
||||
{
|
||||
"OFPFlowMod":{
|
||||
@ -103,8 +102,7 @@
|
||||
"tests":[
|
||||
{
|
||||
"ingress":[
|
||||
"ethernet(dst='22:22:22:22:22:22', src='11:11:11:11:11:11', ethertype=34984)",
|
||||
"svlan(ethertype=35047, vid=10)",
|
||||
"ethernet(dst='22:22:22:22:22:22', src='11:11:11:11:11:11', ethertype=35047)",
|
||||
"itag(sid=100)",
|
||||
"ethernet(dst='22:22:22:22:22:22', src='11:11:11:11:11:11', ethertype=34984)",
|
||||
"svlan(ethertype=33024, vid=10)",
|
||||
@ -125,7 +123,7 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "ethernet/svlan/itag/ethernet/svlan/vlan/arp-->'eth_type=0x88e7,actions=pop_pbb,output:2'",
|
||||
"description": "ethernet/itag/ethernet/svlan/vlan/arp-->'eth_type=0x88e7,actions=pop_pbb,output:2'",
|
||||
"prerequisite":[
|
||||
{
|
||||
"OFPFlowMod":{
|
||||
@ -165,8 +163,7 @@
|
||||
"tests":[
|
||||
{
|
||||
"ingress":[
|
||||
"ethernet(dst='22:22:22:22:22:22', src='11:11:11:11:11:11', ethertype=34984)",
|
||||
"svlan(ethertype=35047, vid=10)",
|
||||
"ethernet(dst='22:22:22:22:22:22', src='11:11:11:11:11:11', ethertype=35047)",
|
||||
"itag(sid=100)",
|
||||
"ethernet(dst='22:22:22:22:22:22', src='11:11:11:11:11:11', ethertype=34984)",
|
||||
"svlan(ethertype=33024, vid=10)",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user