.. This work is licensed under a Creative Commons Attribution 4.0 International License. .. http://creativecommons.org/licenses/by/4.0 .. (c) CIRV-HDV User Guide =================== Requirements ^^^^^^^^^^^^ * Python3 * pip * git Installation ^^^^^^^^^^^^^ Clone repo as follows: .. code-block:: bash $ git clone "https://gerrit.opnfv.org/gerrit/cirv-hdv" then install required python packages: .. code-block:: bash $ pip install -r cirv-hdv/requirements.txt The command will install following packages * PyYAML * urllib3 * requests * netaddr * openpyxl * pytest * allure-pytest Run ^^^^ The hdv tools uses PDF2.0 to get servers information and cases file to read test cases. Move to the ``/hdv/redfish`` directory and run Validation .. code-block:: bash $ cd /hdv/redfish $ pytest --allure-dir= --config= --cases= hdv_redfish.py $ allure serve * allure-dir: Path to name of the folder which will be used later to create graphical reports using python-allure. .. _link: https://github.com/opnfv/cirv-sdv/tree/master/sdv/pdf/template * config: Path to pdf2.0 file comply CNTT-RI requirement. It is needed to access servers. For more information, follow the link - `link`_. * cases: Path to case file, yaml file which store all the cases to validate. You can look at the configuration guide for further information.