summaryrefslogtreecommitdiffstats
path: root/docs/userguide/introduction.rst
blob: 65f8dc48b3e2af2d3a7cdae1dbffd1d8ba0c19b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
.. This work is licensed under a Creative Commons Attribution 4.0 International License.
.. http://creativecommons.org/licenses/by/4.0

Overview of the functest suites
===============================

Functest is the OPNFV project primarily targeting function testing.
In the Continuous Integration pipeline, it is launched after an OPNFV fresh
installation to validate and verify the basic functions of the infrastructure.

The current list of test suites can be distributed in 3 main domains: VIM
(Virtualised Infrastructure Manager), Controllers and Features.

+----------------+----------------+-------------------------------------------+
| Domain         | Test suite     | Comments                                  |
+================+================+===========================================+
| VIM            | vPing          | NFV "Hello World" using SSH connection    |
|                |                | and floatting IP                          |
|                +----------------+-------------------------------------------+
|                | vPing_userdata | Ping using userdata and cloud-init        |
|                |                | mechanism                                 |
|                +----------------+-------------------------------------------+
|                | Tempest        | OpenStack reference test suite `[2]`_     |
|                +----------------+-------------------------------------------+
|                | Rally bench    | OpenStack testing tool benchmarking       |
|                |                | OpenStack modules `[3]`_                  |
+----------------+----------------+-------------------------------------------+
|                | OpenDaylight   | Opendaylight Test suite                   |
|                +----------------+-------------------------------------------+
| Controllers    | ONOS           | Test suite of ONOS L2 and L3 functions    |
|                |                | See `ONOSFW User Guide`_ for details      |
+----------------+----------------+-------------------------------------------+
| Features       | vIMS           | Example of a real VNF deployment to show  |
|                |                | the NFV capabilities of the platform.     |
|                |                | The IP Multimedia Subsytem is a typical   |
|                |                | Telco test case, referenced by ETSI.      |
|                |                | It provides a fully functional VoIP System|
|                +----------------+-------------------------------------------+
|                | Promise        | Resource reservation and management       |
|                |                | project to identify NFV related           |
|                |                | requirements and realize resource         |
|                |                | reservation for future usage by capacity  |
|                |                | management of resource pools regarding    |
|                |                | compute, network and storage.             |
|                |                | See `Promise User Guide`_ for details     |
|                +----------------+-------------------------------------------+
|                | Doctor         | Doctor platform, as of Brahmaputra release|
|                |                | , provides the two features:              |
|                |                | * Immediate Notification                  |
|                |                | * Consistent resource state awareness     |
|                |                | (compute), see `Doctor User Guide`_ for   |
|                |                | details                                   |
|                +----------------+-------------------------------------------+
|                | SDNVPN         | Implementation of the OpenStack bgpvpn API|
|                |                | from the SDNVPN feature project.          |
|                |                | It allowing the cration of BGP VPNs       |
|                |                | see SDNVPN User Guide for                 |
+----------------+----------------+-------------------------------------------+


Functest includes different test suites with several test cases within. Some
of the tests are developed by Functest team members whereas others are
integrated from upstream communities or other OPNFV projects. For example,
`Tempest <http://docs.openstack.org/developer/tempest/overview.html>`_ is the
OpenStack integration test suite and Functest is in charge of the selection,
integration and automation of the tests that fit in OPNFV.

The Tempest suite has been customized but no new test cases have been created.

The results produced by the tests run from CI are pushed and collected in a NoSQL
database. The goal is to populate the database with results from different sources
and scenarios and to show them on a Dashboard.

There is no real notion of Test domain or Test coverage. Basic components
(VIM, controllers) are tested through their own suites. Feature projects also
provide their own test suites with different ways of running their tests.

vIMS test case was integrated to demonstrate the capability to deploy a
relatively complex NFV scenario on top of the OPNFV infrastructure.

Functest considers OPNFV as a black box.
OPNFV, since the Brahmaputra release, offers lots of potential combinations:

  * 2 controllers (OpenDayligh, ONOS)
  * 4 installers (Apex, Compass, Fuel, Joid)

Most of the tests are runnable on any combination, but some others might have
restrictions imposed by the installers or the available deployed features.

.. _`[2]`: http://docs.openstack.org/developer/tempest/overview.html
.. _`[3]`: https://rally.readthedocs.org/en/latest/index.html
.. _`Doctor User Guide`: http://artifacts.opnfv.org/opnfvdocs/brahmaputra/docs/userguide/featureusage-doctor.html
.. _`Promise User Guide`: http://artifacts.opnfv.org/promise/brahmaputra/docs/userguide/index.html
.. _`ONOSFW User Guide`: http://artifacts.opnfv.org/onosfw/brahmaputra/docs/userguide/index.html