Added end to end test of fabric
diff --git a/ofdpa/accton_util.py b/ofdpa/accton_util.py
index e5a7e41..fabcab7 100755
--- a/ofdpa/accton_util.py
+++ b/ofdpa/accton_util.py
@@ -421,11 +421,15 @@
match = ofp.match()
match.oxm_list.append(ofp.oxm.in_port(of_port))
match.oxm_list.append(ofp.oxm.vlan_vid(0x1000+vlan_id))
+ actions.append(ofp.action.set_field(ofp.oxm.vlan_vid(value=vlan_id)))
request = ofp.message.flow_add(
table_id=10,
cookie=42,
match=match,
instructions=[
+ ofp.instruction.apply_actions(
+ actions=actions
+ ),
ofp.instruction.goto_table(20)
],
priority=0)