ocf/tests/functional/pyocf
Michal Rakowski e5227cef89 Implement pyocf adapter with sample OCF test
PyOCF is a tool written with testing OCF functionality in mind.
It is a Python3 (3.6 version required) package which wraps OCF
by providing Python objects in place of OCF objects (volumes, queues,
etc). Thin layer of translation between OCF objects and PyOCF objects
enables using customized behaviors for OCF primitives by subclassing
PyOCF classes.

This initial version implements only WT and WI modes and single,
synchronously operating Queue.

TO DO:

  - Queues/Cleaner/MetadataUpdater implemented as Python threads
  - Loading of caches from PyOCF Volumes (fix bugs in OCF)
  - Make sure it works multi-threaded for more sophisticated tests

Co-authored-by: Jan Musial <jan.musial@intel.com>
Signed-off-by: Michal Rakowski <michal.rakowski@intel.com>
Signed-off-by: Jan Musial <jan.musial@intel.com>
2019-03-07 12:48:40 +01:00
..
types Implement pyocf adapter with sample OCF test 2019-03-07 12:48:40 +01:00
wrappers Implement pyocf adapter with sample OCF test 2019-03-07 12:48:40 +01:00
__init__.py Implement pyocf adapter with sample OCF test 2019-03-07 12:48:40 +01:00
ocf.py Implement pyocf adapter with sample OCF test 2019-03-07 12:48:40 +01:00
utils.py Implement pyocf adapter with sample OCF test 2019-03-07 12:48:40 +01:00