From ab805824ea2360c51a0e6943c930344ee75dc2a7 Mon Sep 17 00:00:00 2001 From: Alfredo Deza Date: Thu, 27 Oct 2016 15:43:35 -0400 Subject: [PATCH] tests: create an example scenario file Signed-off-by: Alfredo Deza Resolves: pytest#harness --- tests/scenarios/example.py | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 tests/scenarios/example.py diff --git a/tests/scenarios/example.py b/tests/scenarios/example.py new file mode 100644 index 000000000..7be1c2b55 --- /dev/null +++ b/tests/scenarios/example.py @@ -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'] + }, +}