Fixed MPLS testcase
diff --git a/accton/accton_util.py b/accton/accton_util.py
index 1eb2946..371a5ea 100755
--- a/accton/accton_util.py
+++ b/accton/accton_util.py
@@ -730,7 +730,7 @@
return request
-def add_mpls_flow(ctrl, action_group_id, label=100 ,ethertype=0x0800, bos=True, send_barrier=False):
+def add_mpls_flow(ctrl, action_group_id, label=100 ,ethertype=0x0800, bos=1, send_barrier=False):
match = ofp.match()
match.oxm_list.append(ofp.oxm.eth_type(0x8847))
match.oxm_list.append(ofp.oxm.mpls_label(label))
@@ -1324,4 +1324,4 @@
print "idle_timeout", obj.idle_timeout
print "hard_timeout", obj.hard_timeout
#obj.actions
- print "packet count: %lx"%obj.packet_count
\ No newline at end of file
+ print "packet count: %lx"%obj.packet_count