Modified Vlan support test
diff --git a/ofdpa/accton_util.py b/ofdpa/accton_util.py
index 342800c..338ab91 100755
--- a/ofdpa/accton_util.py
+++ b/ofdpa/accton_util.py
@@ -569,8 +569,10 @@
def add_bridge_flow(ctrl, dst_mac, vlanid, group_id, send_barrier=False):
match = ofp.match()
+ priority=1000
if dst_mac!=None:
match.oxm_list.append(ofp.oxm.eth_dst(dst_mac))
+ priority=2000
match.oxm_list.append(ofp.oxm.vlan_vid(0x1000+vlanid))
@@ -585,7 +587,7 @@
ofp.instruction.goto_table(60)
],
buffer_id=ofp.OFP_NO_BUFFER,
- priority=1000)
+ priority=priority)
logging.info("Inserting Brdige flow vlan %d, mac %s", vlanid, dst_mac)
ctrl.message_send(request)