Stripped flow before comparison
Change-Id: I7579433194e2a839c1596c7882e3741d5f5f960e
diff --git a/TestON/drivers/common/cli/emulator/mininetclidriver.py b/TestON/drivers/common/cli/emulator/mininetclidriver.py
index f05c44e..95e6ee5 100644
--- a/TestON/drivers/common/cli/emulator/mininetclidriver.py
+++ b/TestON/drivers/common/cli/emulator/mininetclidriver.py
@@ -1907,6 +1907,10 @@
main.log.warn( "Flow table lengths do not match" )
return main.FALSE
+ dFields = ["n_bytes", "cookie", "n_packets", "duration"]
+ for flow1, flow2 in zip(flowTable1, flowTable2):
+ map( lambda a: map(a.pop, dFields), [flow1, flow2] )
+
for i in range( len(flowTable1) ):
if flowTable1[i] not in flowTable2:
main.log.warn( "Flow tables do not match:" )