X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=tests%2Fsuites%2Fhoneycomb%2Fresources%2Fnetconf%2Ftriggers.py;fp=tests%2Fsuites%2Fhoneycomb%2Fresources%2Fnetconf%2Ftriggers.py;h=77596bd0527984d480123ec4956247be91004834;hp=0000000000000000000000000000000000000000;hb=c10eda554529ac5433216a18d30e9964c6af7976;hpb=28e17b8002b50a04cdd6c9e74c15cdc4aa33a5e2
diff --git a/tests/suites/honeycomb/resources/netconf/triggers.py b/tests/suites/honeycomb/resources/netconf/triggers.py
new file mode 100644
index 0000000000..77596bd052
--- /dev/null
+++ b/tests/suites/honeycomb/resources/netconf/triggers.py
@@ -0,0 +1,336 @@
+# 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
+
+
+
+
+
+
+]]>]]>
+
+
+
+
+]]>]]>
+
+
+
+
+
+
+
+
+]]>]]>
+
+
+
+
+
+
+
+
+]]>]]>
+
+
+
+
+
+
+
+
+]]>]]>"""