]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
tests: create an example scenario file
authorAlfredo Deza <adeza@redhat.com>
Thu, 27 Oct 2016 19:43:35 +0000 (15:43 -0400)
committerAlfredo Deza <adeza@redhat.com>
Fri, 4 Nov 2016 17:59:33 +0000 (13:59 -0400)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: pytest#harness

tests/scenarios/example.py [new file with mode: 0644]

diff --git a/tests/scenarios/example.py b/tests/scenarios/example.py
new file mode 100644 (file)
index 0000000..7be1c2b
--- /dev/null
@@ -0,0 +1,24 @@
+# This is the most basic tests that can be executed remotely. It will trigger
+# a series of checks for paths, permissions and flags. Whatever is not
+# dependant on particular component of ceph should go here (for example,
+# nothing related to just OSDs)
+
+# Basic information about ceph and its configuration
+ceph = {
+    'releases': ['jewel', 'infernalis'],
+    'cluster_name': 'ceph'
+}
+
+# remote nodes to test, with anything specific to them that might be useful for
+# tests to get. Each one of these can get requested as a py.test fixture to
+# validate information.
+nodes = {
+    'mon0': {
+        'username': 'vagrant',
+        'components': ['mon']
+    },
+    'osd0': {
+        'username': 'vagrant',
+        'components': ['osd']
+    },
+}