intro.rst 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. Introduction of PbsTestLab
  2. ==========================
  3. Command line tools
  4. ------------------
  5. - :ref:`pbs_benchpress <pbs_benchpress>` used to run unit tests
  6. - :ref:`pbs_loganalyzer <pbs_loganalyzer>` used to analyze PBS logs
  7. - :ref:`pbs_stat <pbs_stat>` used to filter PBS objects based on select properties
  8. - :ref:`pbs_config <pbs_config>` used to configure services, e.g., create vnodes
  9. - :ref:`pbs_py_spawn <pbs_py_spawn>` used to invoke a pbs_py_spawn action associated to a job running on a MoM
  10. Library
  11. -------
  12. - Provides PBS IFL operations through either SWIG-wrappers or PBS CLI e.g. qstat, qsub etc.
  13. - Encapsulated PBS entities: :py:class:`~ptl.lib.pbs_testlib.Server`, :py:class:`~ptl.lib.pbs_testlib.Scheduler`,
  14. :py:class:`~ptl.lib.pbs_testlib.MoM`, :py:class:`~ptl.lib.pbs_testlib.Comm`, :py:class:`~ptl.lib.pbs_testlib.Queue`,
  15. :py:class:`~ptl.lib.pbs_testlib.Job`, :py:class:`~ptl.lib.pbs_testlib.Reservation`, :py:class:`~ptl.lib.pbs_testlib.Hook`,
  16. :py:class:`~ptl.lib.pbs_testlib.Resource`
  17. - Utility class to convert batch status and attributes to Python lists, strings and dictionaries
  18. - High-level PBS operations to operate on PBS entities including nodes, queues, jobs, reservations, resources, and server
  19. Utilities
  20. ---------
  21. - Logging to parse and report metrics from :py:class:`Server <ptl.utils.pbs_logutils.PBSServerLog>`, :py:class:`Scheduler <ptl.utils.pbs_logutils.PBSSchedulerLog>`,
  22. :py:class:`MoM <ptl.utils.pbs_logutils.PBSMoMLog>` and :py:class:`Accounting <ptl.utils.pbs_logutils.PBSAccountingLog>` logs.
  23. - Distributed tools to transparently run commands locally or remotely, including file copying.
  24. Plugins
  25. -------
  26. - Provides utilities to load, run and get info of test cases in form of `Nose framework`_ plugins
  27. Documentation
  28. -------------
  29. - API documentation describing the capabilities of the framework and utilities
  30. - For the command-line tools use the -h option for help
  31. Directory structure
  32. -------------------
  33. ::
  34. fw
  35. |- bin -- Command line tools
  36. |- doc -- Documentation
  37. `- ptl -- PTL package
  38. |- lib -- Library
  39. `- utils -- Utilities
  40. `- plugins -- plugins of PTL for Nose framework
  41. .. _Nose framework: http://readthedocs.org/docs/nose/