.. This work is licensed under a Creative Commons Attribution 4.0 International License. .. http://creativecommons.org/licenses/by/4.0 ================================== OPNFV FUNCTEST Configuration Guide ================================== .. toctree:: :numbered: :maxdepth: 2 Version history =============== +------------+----------+------------------+----------------------------------+ | **Date** | **Ver.** | **Author** | **Comment** | | | | | | +------------+----------+------------------+----------------------------------+ | 2016-08-17 | 1.0.0 | Juha Haapavirta | Colorado release | | | | Column Gaynor | | +------------+----------+------------------+----------------------------------+ | 2017-01-19 | 1.0.1 | Morgan Richomme | Adaptations for Danube | | | | | * update testcase list | | | | | * update docker command | +------------+----------+------------------+----------------------------------+ Introduction ============ This document describes how to install and configure Functest in OPNFV. The Functest CLI is used during the Functest environment preparation phase. The given example commands should work in both virtual and bare metal cases alike. High level architecture ----------------------- The high level architecture of Functest within OPNFV can be described as follows:: CIMC/Lights+out management Admin Mgmt/API Public Storage Private PXE + + + + + + | | | | | | | +----------------------------+ | | | | | | | | | | | | | +-----+ Jumphost | | | | | | | | +--------+ | | | | | | | | | | | | | | +--------------------+ | | | | | | | | | | | | | | | | | | | Tools | +----------------+ | | | | | | - Rally | | | | | | | | | | - Robot | | | | | | | | | | - TestON | | | | | | | | | | - RefStack | | | | | | | | | | | |-------------------------+ | | | | | Testcases | | | | | | | | | | - VIM | | | | | | | | | | | | | | | | | | | | - SDN Controller | | | | | | | | | | | | | | | | | | | | - Features | | | | | | | | | | | | | | | | | | | | - VNF | | | | | | | | | | | | | | | | | | | +--------------------+ | | | | | | | | Functest Docker + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | +----------------------------+ | | | | | | | | | | | | +----------------+ | | | | | | | 1 | | | | | | +----+ +--------------+-+ | | | | | | | | 2 | | | | | | | | | +--------------+-+ | | | | | | | | | 3 | | | | | | | | | | +--------------+-+ | | | | | | | | | | 4 | | | | | | | +-+ | | +--------------+-+ | | | | | | | | | | 5 +-------------+ | | | | | +-+ | | nodes for | | | | | | | | | | deploying +---------------------+ | | | | +-+ | OPNFV | | | | | | | | | +------------------------------+ | | | +-+ SUT | | | | | | | | +--------------------------------------+ | | | | | | | | | | | +----------------------------------------------+ | +----------------+ | | | | | | | | | | | + + + + + + SUT = System Under Test All the libraries and dependencies needed by all of the Functest tools are pre-installed into the Docker image. This allows running Functest on any platform on any Operating System. The automated mechanisms inside the Functest Docker container will: * Retrieve OpenStack credentials * Prepare the environment according to the System Under Test (SUT) * Perform the appropriate functional tests * Push the test results into the OPNFV test result database This Docker image can be integrated into CI or deployed independently. Please note that the Functest Docker container has been designed for OPNFV, however, it would be possible to adapt it to any OpenStack based VIM + controller environment, since most of the test cases are integrated from upstream communities. The functional test cases are described in the Functest User Guide `[2]`_ .. include:: ./prerequisites.rst .. include:: ./configguide.rst .. include:: ./ci.rst References ========== `[1]`_ : Keystone and public end point constraint `[2]`_ : Functest User guide `[3]`_ : Functest Jenkins jobs `[4]`_ : Functest Configuration guide `OPNFV main site`_ `Functest page`_ IRC support channel: #opnfv-functest .. _`[1]`: https://ask.openstack.org/en/question/68144/keystone-unable-to-use-the-public-endpoint/ .. _`[2]`: http://docs.opnfv.org/en/stable-danube/submodules/functest/docs/testing/user/userguide/index.html .. _`[3]`: https://git.opnfv.org/cgit/releng/tree/jjb/functest/functest-ci-jobs.yml .. _`[4]`: http://docs.opnfv.org/en/stable-danube/submodules/functest/docs/testing/user/configguide/index.html .. _`OPNFV main site`: http://www.opnfv.org .. _`Functest page`: https://wiki.opnfv.org/functest