X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Ftest_data%2Fhoneycomb%2Fnetconf%2Ftriggers.py;h=51a6ab69673847cf101c26f040b74c084c069de2;hb=refs%2Fchanges%2F35%2F5535%2F2;hp=77596bd0527984d480123ec4956247be91004834;hpb=dec1188c7f89f5f8f97085b5f68c6f1d918586b8;p=csit.git diff --git a/resources/test_data/honeycomb/netconf/triggers.py b/resources/test_data/honeycomb/netconf/triggers.py index 77596bd052..51a6ab6967 100644 --- a/resources/test_data/honeycomb/netconf/triggers.py +++ b/resources/test_data/honeycomb/netconf/triggers.py @@ -16,7 +16,7 @@ # Test data for issue: https://jira.fd.io/browse/HONEYCOMB-105 # Creating and removing interfaces may result in duplicated interface indices. trigger_105 = u""" - + @@ -32,7 +32,7 @@ trigger_105 = u""" ]]>]]> - + @@ -41,7 +41,7 @@ trigger_105 = u""" ]]>]]> - + @@ -67,12 +67,12 @@ a:operation="replace"> ]]>]]> - + ]]>]]> - + @@ -81,7 +81,7 @@ a:operation="replace"> ]]>]]> - + @@ -90,7 +90,7 @@ a:operation="replace"> ]]>]]> - + @@ -108,12 +108,12 @@ a:operation="delete"> ]]>]]> - + ]]>]]> - + @@ -122,7 +122,7 @@ a:operation="delete"> ]]>]]> - + @@ -131,7 +131,7 @@ a:operation="delete"> ]]>]]> - + @@ -157,12 +157,12 @@ a:operation="replace"> ]]>]]> - + ]]>]]> - + @@ -171,7 +171,7 @@ a:operation="replace"> ]]>]]> - + @@ -180,7 +180,7 @@ a:operation="replace"> ]]>]]> - + @@ -206,12 +206,12 @@ a:operation="replace"> ]]>]]> - + ]]>]]> - + @@ -220,7 +220,7 @@ a:operation="replace"> ]]>]]> - + @@ -229,7 +229,7 @@ a:operation="replace"> ]]>]]> - + @@ -255,12 +255,12 @@ a:operation="replace"> ]]>]]> - + ]]>]]> - + @@ -269,7 +269,7 @@ a:operation="replace"> ]]>]]> - + @@ -278,7 +278,7 @@ a:operation="replace"> ]]>]]> - + @@ -303,12 +303,12 @@ a:operation="replace"> ]]>]]> - + ]]>]]> - + @@ -317,7 +317,7 @@ a:operation="replace"> ]]>]]> - + @@ -326,7 +326,7 @@ a:operation="replace"> ]]>]]> - + @@ -334,3 +334,198 @@ a:operation="replace"> ]]>]]>""" + +# Test data for issue: https://jira.fd.io/browse/HONEYCOMB-255 +# Reverting transaction fails with "missing writer" +trigger_revert1 = u""" + + + + + + + + +vxlan3 + + v3po:vxlan-tunnel +true + +192.168.1.6 +192.168.1.7 +9 +0 + + + + + + +]]>]]> + + + + + + + + + +vxlan4 + + v3po:vxlan-tunnel +true + +192.168.1.6 +192.168.1.7 +9 +0 + + + + + + +]]>]]> + + + + + ]]>]]>""" + +# Test data for issue: https://jira.fd.io/browse/HONEYCOMB-255, part 2 +# Reverting transaction fails with "transaction has been closed" +trigger_revert2 = u""" + + + + + + + + +tap +v3po:tap +true + +tap + + + + + + +]]>]]> + + + + + + + + + +tap2 +v3po:tap +true + +tap + + + + + + +]]>]]> + + + + +]]>]]>""" + + +# Test data for issue HC2VPP-60 +# Creating Vlan sub-interface over netconf fails due to ODL bug +trigger_vlan = u""" + + + + + + + + +{interface} + + + + + + +]]>]]> + + + + + + + + + +{interface} + + +2420 + + + + + + + +]]>]]> + + + + + + +none + + + +{interface} + + +2420 + + +true + + +802dot1q +false + + +0 + +x:s-vlan +2420 + + + + + + + + + + +]]>]]> + + + + +]]>]]> +""" \ No newline at end of file