testutils: remove out_port arg from verify_flow_stats
This was never used and caused problems with OF 1.3.
diff --git a/src/python/oftest/testutils.py b/src/python/oftest/testutils.py
index 104d3b5..f2d4b3d 100644
--- a/src/python/oftest/testutils.py
+++ b/src/python/oftest/testutils.py
@@ -1377,7 +1377,6 @@
return get_stats(test, req)
def verify_flow_stats(test, match, table_id=0xff,
- out_port=None,
initial=[],
pkts=None, bytes=None):
"""
@@ -1387,8 +1386,6 @@
get_flow_stats(). If 'initial' is not given the counters are assumed to
begin at 0.
"""
- if out_port == None:
- out_port = ofp.OFPP_NONE
def accumulate(stats):
pkts_acc = bytes_acc = 0
@@ -1402,7 +1399,7 @@
# Wait 10s for counters to update
pkt_diff = byte_diff = None
for i in range(0, 100):
- stats = get_flow_stats(test, match, table_id=table_id, out_port=out_port)
+ stats = get_flow_stats(test, match, table_id=table_id)
pkts_after, bytes_after = accumulate(stats)
pkt_diff = pkts_after - pkts_before
byte_diff = bytes_after - bytes_before