From 034bd6859c07e6cca42309b9ceb83433a0605114 Mon Sep 17 00:00:00 2001 From: Jamo Luhrsen Date: Wed, 10 Jun 2015 14:38:25 -0700 Subject: [PATCH] skip clear-actions check element in flow compare 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 --- test/csit/libraries/XmlComparator.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/csit/libraries/XmlComparator.py b/test/csit/libraries/XmlComparator.py index b5fd28e5de..5669bf6297 100644 --- a/test/csit/libraries/XmlComparator.py +++ b/test/csit/libraries/XmlComparator.py @@ -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), -- 2.36.6