skip clear-actions check element in flow compare 19/22319/1
authorJamo Luhrsen <james.luhrsen@hp.com>
Wed, 10 Jun 2015 21:38:25 +0000 (14:38 -0700)
committerLuis Gomez <ecelgp@gmail.com>
Thu, 11 Jun 2015 04:34:55 +0000 (04:34 +0000)
the newer flow test suites has some flows that does a clear-actions
but that does not show up in the switch, as it just clears out all
existing actions.  So that element will not show up in operational
so we can skip it.

Change-Id: Iced26004df2c40c88ead5c92fa777d7178723d16
Signed-off-by: Jamo Luhrsen <james.luhrsen@hp.com>
(cherry picked from commit 79c3ca4653af8729eeee9c1d6870e64ed8eb07a5)

test/csit/libraries/XmlComparator.py

index b5fd28e5de9a3751af08a109a09f8957b3e9ac1b..5669bf6297dad4ce9d6f0f8ea18461f15aad54dd 100644 (file)
@@ -176,7 +176,10 @@ class XMLtoDictParserTools():
                 diff[key] = (KEY_NOT_FOUND, key)
         return diff
 
-IGNORED_TAGS_FOR_OPERATIONAL_COMPARISON = ['id', 'flow-name', 'barrier', 'cookie_mask', 'installHw', 'flags', 'strict', 'byte-count', 'duration', 'packet-count', 'in-port', 'vlan-id-present', 'out_group', 'out_port', 'hard-timeout', 'idle-timeout', 'flow-statistics', 'cookie']  # noqa
+IGNORED_TAGS_FOR_OPERATIONAL_COMPARISON = ['id', 'flow-name', 'barrier', 'cookie_mask', 'installHw', 'flags',
+                                           'strict', 'byte-count', 'duration', 'packet-count', 'in-port',
+                                           'vlan-id-present', 'out_group', 'out_port', 'hard-timeout', 'idle-timeout',
+                                           'flow-statistics', 'cookie', 'clear-actions']  # noqa
 
 IGNORED_PATHS_FOR_OC = [(['flow', 'instructions', 'instruction', 'apply-actions', 'action', 'controller-action'], True),  # noqa
                         (['flow', 'instructions', 'instruction', 'clear-actions', 'action'], False),