From: Julia Pavlicova Date: Thu, 19 Mar 2015 14:30:48 +0000 (+0100) Subject: action for updated flows changed X-Git-Tag: release/helium-sr3^0 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=commitdiff_plain;h=084b4a36556d6e6c82f189d09f5237a378d08a44;p=integration%2Ftest.git action for updated flows changed there was conflict between match criteria and dec-mpls-ttl, now this conflict was solved by not using this tag. Changes XmlComparator in accordance with PEP8 requirements. Change-Id: Ibc4aa5c0a89e62c7e4bd10f852d23a2b02a86732 Signed-off-by: Julia Pavlicova --- diff --git a/test/csit/libraries/XmlComparator.py b/test/csit/libraries/XmlComparator.py index 638e56d3a7..b5fd28e5de 100644 --- a/test/csit/libraries/XmlComparator.py +++ b/test/csit/libraries/XmlComparator.py @@ -310,6 +310,14 @@ class XmlComparator: if nodeKey != 'drop-action': new_act = child.ownerDocument.createElement('drop-action') else: - new_act = child.ownerDocument.createElement('dec-mpls-ttl') + new_act = child.ownerDocument.createElement('output-action') + onc = child.ownerDocument.createElement('output-node-connector') + onc_content = child.ownerDocument.createTextNode('TABLE') + onc.appendChild(onc_content) + new_act.appendChild(onc) + ml = child.ownerDocument.createElement('max-length') + ml_content = child.ownerDocument.createTextNode('60') + ml.appendChild(ml_content) + new_act.appendChild(ml) child.parentNode.replaceChild(new_act, child) return xml_dom_input.toxml(encoding='utf-8')