Add robot test basic22 for feature 10887
[osm/tests.git] / robot-systest / resources / basic_22-cross_model_relations.py
diff --git a/robot-systest/resources/basic_22-cross_model_relations.py b/robot-systest/resources/basic_22-cross_model_relations.py
new file mode 100644 (file)
index 0000000..3cd5e42
--- /dev/null
@@ -0,0 +1,29 @@
+#   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.
+
+from pathlib import Path
+
+# Get ${HOME} from local machine
+home = str(Path.home())
+# NS and VNF descriptor package folder
+vnfd_pkg_1 = "charm-packages/cmr_relation_vnf"
+vnfd_pkg_2 = "charm-packages/cmr_no_relation_vnf"
+nsd_pkg = "charm-packages/cmr_relation_ns"
+# NS and VNF descriptor id
+vnfd_name_1 = "cross_model_relation-vnf"
+vnfd_name_2 = "cross_model_no_relation-vnf"
+nsd_name = "cross_model_relation-ns"
+# NS instance name
+ns_name = "basic_22_cross_model_relation_test"
+# SSH keys to be used
+publickey = home + "/.ssh/id_rsa.pub"
+privatekey = home + "/.ssh/id_rsa"