X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Ftest_data%2Fhoneycomb%2Fnetconf%2Ftriggers.py;fp=resources%2Ftest_data%2Fhoneycomb%2Fnetconf%2Ftriggers.py;h=0000000000000000000000000000000000000000;hp=7c5fade8dd4501b27d34f03c18ff1caf8af18e44;hb=e7ad66f3147662973039caaac33015de7e0c6f8c;hpb=20cc67d5f23a7f4e05b08012bf3d3a63be4bcf63 diff --git a/resources/test_data/honeycomb/netconf/triggers.py b/resources/test_data/honeycomb/netconf/triggers.py deleted file mode 100644 index 7c5fade8dd..0000000000 --- a/resources/test_data/honeycomb/netconf/triggers.py +++ /dev/null @@ -1,529 +0,0 @@ -# Copyright (c) 2016 Cisco and/or its affiliates. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at: -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -"""Contains RPC sequences to trigger specific issues through Netconf.""" - -# Test data for issue: https://jira.fd.io/browse/HONEYCOMB-105 -# Creating and removing interfaces may result in duplicated interface indices. -trigger_105 = u""" - - - - - - - - -4fe335c8-6fdc-4654-b12c-d256e9b39229 - - - - - -]]>]]> - - - - - - - - -]]>]]> - - - - - - -none - - - -4fe335c8-6fdc-4654-b12c-d256e9b39229 -neutron port -enabled - -client -/tmp/socket_4fe335c8-6fdc-4654-b12c-d256e9b39229 - -x:vhost-user -true - - - - - -]]>]]> - - - - -]]>]]> - - - - - - - - -]]>]]> - - - - - - - - -]]>]]> - - - - - - -none - - - -4fe335c8-6fdc-4654-b12c-d256e9b39229 - - - - - -]]>]]> - - - - -]]>]]> - - - - - - - - -]]>]]> - - - - - - - - -]]>]]> - - - - - - -none - - - -4fe335c8-6fdc-4654-b12c-d256e9b39229 -neutron port -enabled - -client -/tmp/socket_4fe335c8-6fdc-4654-b12c-d256e9b39229 - -x:vhost-user -true - - - - - -]]>]]> - - - - -]]>]]> - - - - - - - - -]]>]]> - - - - - - - - -]]>]]> - - - - - - -none - - - -d7611278-88ff-40e1-81e2-602e94e96fc7 -neutron port -enabled - -client -/tmp/socket_d7611278-88ff-40e1-81e2-602e94e96fc7 - -x:vhost-user -true - - - - - -]]>]]> - - - - -]]>]]> - - - - - - - - -]]>]]> - - - - - - - - -]]>]]> - - - - - - -none - - - -1f96a665-4351-4984-b1a8-dc6f54683123 -neutron port -enabled - -client -/tmp/socket_1f96a665-4351-4984-b1a8-dc6f54683123 - -x:vhost-user -true - - - - - -]]>]]> - - - - -]]>]]> - - - - - - - - -]]>]]> - - - - - - - - -]]>]]> - - - - - - -none - - - -e86740a2-042c-4e64-a43b-cc224e0d5240 -true -true -true -true -false - - - - - -]]>]]> - - - - -]]>]]> - - - - - - - - -]]>]]> - - - - - - - - -]]>]]> - - - - - - - - -]]>]]>""" - -# 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-v2 -true - -tap - - - - - - -]]>]]> - - - - - - - - - -tap2 -v3po:tap-v2 -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