Merge "action for updated flows changed"
authorLuis Gomez <ecelgp@gmail.com>
Fri, 20 Mar 2015 01:14:17 +0000 (01:14 +0000)
committerGerrit Code Review <gerrit@opendaylight.org>
Fri, 20 Mar 2015 01:14:18 +0000 (01:14 +0000)
test/csit/libraries/XmlComparator.py

index 638e56d3a75d7ceb8f631fb7a049bea70aa2cc02..b5fd28e5de9a3751af08a109a09f8957b3e9ac1b 100644 (file)
@@ -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')