Customize the volume list per layer
[validation.git] / bluval / volumes.yaml
diff --git a/bluval/volumes.yaml b/bluval/volumes.yaml
new file mode 100644 (file)
index 0000000..0e062ea
--- /dev/null
@@ -0,0 +1,67 @@
+##############################################################################
+# Copyright (c) 2019 AT&T, ENEA AB, Nokia and others                         #
+#                                                                            #
+# Licensed under the Apache License, Version 2.0 (the "License");            #
+# you maynot 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.                                             #
+##############################################################################
+
+# Full list of volumes that can be mounted to the containers when running the tests.
+# When adding volumes, add file or dir at the end of the keyword to ease identifying
+# the type of the volume
+#
+# When running the tests, fill in the 'local' sections only for the volumes that are
+# applicable to your setup
+
+volumes:
+    # location of the ssh key to access the cluster
+    ssh_key_file:
+        local: ''
+        target: '/root/.ssh'
+    # location of the k8s access files (config file, certificates, keys)
+    kube_config_dir:
+        local: ''
+        target: '/root/.kube/'
+    # location of the customized variables.yaml
+    custom_variables_file:
+        local: ''
+        target: '/opt/akraino/validation/tests/variables.yaml'
+    # location of the bluval-<blueprint>.yaml file
+    blueprint_dir:
+        local: ''
+        target: '/opt/akraino/validation/bluval'
+    # location on where to store the results on the local jumpserver
+    results_dir:
+        local: ''
+        target: '/opt/akraino/results'
+
+# parameters that will be passed to the container at each layer
+layers:
+    # volumes mounted at all layers; volumes specific for a different layer are below
+    common:
+        - custom_variables_file
+        - blueprint_dir
+        - results_dir
+    hardware:
+        - ssh_key_file
+    os:
+        - ssh_key_file
+    networking:
+        - ssh_key_file
+    k8s:
+        - ssh_key_file
+        - kube_config_dir
+    k8s_networking:
+        - ssh_key_File
+        - kube_config_dir
+    sds:
+    sdn:
+    vim: