summaryrefslogtreecommitdiffstats
path: root/docs/PackageTests.rst
blob: 648a79c520480dee240f43df1667abd1d6ebd058 (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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
.. Modifications Copyright © 2017-2018 AT&T Intellectual Property.

.. Licensed under the Creative Commons License, Attribution 4.0 Intl.
   (the "License"); you may not use this documentation except in compliance
   with the License. You may obtain a copy of the License at

.. https://creativecommons.org/licenses/by/4.0/

.. Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.


VNF Package Test Cases
======================

The information in this section deals with the Test Cases corresponding to
the the VNF Requirements. There are two types:

  1. VNF Package Information Element Present: which is the base case of a
     Test Case, please refer to :ref:`Annex.<info-elements>`

  2. VNF Package Information Element within Range Limits: refers to a Test Case
     when there are Range Limits placed, please refer to
     :ref:`Annex.<info-elements-range-limits>`

VNF Package Information Element Present
---------------------------------------

Summary
^^^^^^^

This test case validates whether information elements corresponding to
VNF requirements are present in the VNF Package

ONAP Actors (VNF, Operator, ONAP Platform components etc.)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

1. VNF Package
2. VNF Requirements
3. ONAP Information Model

Preconditions (ONAP, VNF states, test equipment/ data patterns, measurements)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

1. VNF Package available
2. VNF Requirements related to VNF Package identified (Mandatory or Optional)
3. Information Elements corresponding to these VNF Package requirements
   identified

Operational sequence (e.g. Message Sequence chart + text explanations)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

1. Search the VNF Package for the Presence/ Absence of each
   Information Elementidentified in the VNF Package requirements.
2. Flag as an error any Mandatory information Elements that are missing
3. Report and optional Information Elements that are present.

Post conditions (any post processing of the measurements, any cleanup of the ONAP configuration, reset of the test equipment etc.)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

1. Generate consolidated report on presence/Absence of Information Elements
   identified in VNF Requirements

Test Result decision ( measurement  decision criteria )
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

1. Fail if and Mandatory Information Elements are Absent.


VNF Package Information Element within Range Limits
---------------------------------------------------

Summary
^^^^^^^

This test case validates whether information elements corresponding
to VNF requirements are present in the VNF Package

ONAP Actors (VNF, Operator, ONAP Platform components etc.)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

1. VNF Package
2. VNF Requirements
3. ONAP Information Model

Preconditions (ONAP, VNF states, test equipment/ data patterns, measurements)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

1. VNF Package available
2. VNF Requirements related to VNF Package identified (Mandatory or Optional)
3. Information Elements corresponding to these VNF Package requirements
   identified
4. Range Limits for Information Elements identified

Operational sequence (e.g. Message Sequence chart + text explanations)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

1. Search the VNF Package for the Presence/ Absence of each Information
   Element identified in the VNF Package requirements.
2. Flag as an error any Mandatory information Elements that are missing

Post conditions (any post processing of the measurements, any cleanup of the ONAP configuration, reset of the test equipment etc.)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

1. Generate consolidated report on presence/Absence of Information Elements
   identified in VNF Requirements

Test Result decision ( measurement  decision criteria )
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

1. Fail if and Mandatory Information Elements are Absent.