From: Alfredo Deza Date: Thu, 27 Oct 2016 19:43:35 +0000 (-0400) Subject: tests: create an example scenario file X-Git-Tag: v2.0~11^2~12 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ab805824ea2360c51a0e6943c930344ee75dc2a7;p=ceph-ansible.git tests: create an example scenario file Signed-off-by: Alfredo Deza Resolves: pytest#harness --- 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'] + }, +}