Updating the release notes for the CCVPN use-case enhancements in Jakarta release.
[integration.git] / docs / docs_NFV_Testing_Automatic_Platform_Requirements_User_Guide.rst
1 .. nfv_testing_automation_platform_requirements:
2
3 :orphan:
4
5 =======================================================
6 NFV Testing Automatic Platform Requirements- User Guide
7 =======================================================
8
9 .. Overview: this page used to explain how to use NFV testing automatic platform,
10              the relevant requirements include REQ-335(Support for Test Topology
11              Auto Design), REQ-336(Support for Test Environment Auto Deploy),
12              REQ_337(Support for Test Task Auto Execution),REQ-338(Support for
13              Test Result Auto Analysis & Certification).
14
15 Description
16 ===========
17
18 There are a large number of cross-department and cross-organization communications
19 during the traditional network element, system or equipment network access test.
20 And the manual errors are inevitable, the knowledge in test field cannot be
21 solidified. The cost of each test is high and the test cycle is always long.
22 After introducing NFV, because network element software and hardware equipment are
23 layered decoupled, the introduction of a large number of open source components as
24 well as the frequent upgrade of the software itself, make network access test
25 become more complicated and frequent.
26
27 Testing has become a bottleneck during the introduction and iteration of new
28 technologies. Therefore, it is urgent to introduce automated test tools.
29 By introducing testing automatic capabilities including topology auto design,
30 test environment auto deploy, test task auto execution and test result auto
31 analysis & certification, it can solidify domain knowledge, and help reduce labor
32 costs, shorten test cycle, improve test efficiency , optimize test accuracy.
33
34 Requirement Details
35 ===================
36
37 Test Topology Auto Design( enhancement in SDC)
38 ----------------------------------------------
39
40 1.Quickly design a test service (topology) composed with tested VNF and test
41   environment (One way is to define abstract testing service (topology) template
42   for each type of VNF);
43
44 2.For the service designed, can be imported into SDC for modification or enhancement,
45   or the test template can be reused for different test environments (the SDC needs
46   to support service import).
47
48 Test Environment Auto Deploy (enhancement in VF-C)
49 --------------------------------------------------
50
51 By getting VM/VL/Port/VNF/NS instance information from Openstack via Multi-cloud
52 to VF-C for instance information storage,  enable VTP obtaining all the real-time
53 instance information.
54
55 Test Task Auto Execution(enhancement in VNFSDK, CLI)
56 ----------------------------------------------------
57 1. Test instruments integration:
58
59 * Test Case execution;
60 * Test Case discovering and auto registration;
61 * Robot profile integration
62
63 2. VTP capability expansion:
64
65 * Loading different test scripts and cases- Scenario Active Management ;
66 * Flexible test process definition(Middle);
67 * Test report customization
68 * Profile HTTP API support
69
70 3. Execution-Standard / Open source test case support
71
72 * Enable ETSI NFV APIs conformance test cases in VTP;
73 * Enable CNCF CNF conformance test case in VTP.
74
75 4. Test Result Auto Analysis & Certification
76
77 * The test objects that passed test certification are put into marketplace
78 * OVP integrates with VTP to automatically receive VTP test results:
79
80   * Enable OVP with HTTP API for submit the result
81   * Enable VTP for result submission into OVP.
82
83 New Features and Guide (Guilin Release)
84 =======================================
85
86 SDC New features
87 ----------------
88
89 Service import
90 >>>>>>>>>>>>>>
91
92 1. Add a button “IMPORT SERVICE CSAR" to perform service CSAR import.
93 2. When clicking the “IMPORT SERVICE CSAR” button on the portal, a window will
94    pop up to select the service CSAR file to be imported.
95 3. After selecting the service CSAR file to be imported, it will switch to the
96    general information input page for creating the service.
97 4. After filling in all the required fields, you can click the "create" button
98    to create a new service.
99 5. Add a new API for the request of importing service CSAR.
100
101 Abstract service template
102 >>>>>>>>>>>>>>>>>>>>>>>>>
103
104 1. On the general page of VF, add a IS_ABSTRACT_RESOURCE selection box, which is
105    false by default. If it is an abstract VNF, select true manually.
106 2. Add three APIs to handle the corresponding requests of abstract service template:
107    2.1 Return whether the service is a abstract service: GET /v1/catalog/abstract/service/serviceUUID/{uuid}/status
108    2.2 Copy a new service based on the existing service: POST /v1/catalog/abstract/service/copy
109    2.3 Replace the abstract VNF in the abstract service template with the actual VNF: PUT /v1/catalog/abstract/service/replaceVNF
110
111 VTP New features
112 ----------------
113 1. Added active scenario and profile management support
114 2. Added integration with Robot CSIT tests
115 3. Enabled auto discovery of test cases from 3rd party tool integration
116 4. Added support for cnf-conformance test support( In order to enable CNF
117    conformance tool in VTP, please refer `the guide <https://gerrit.onap.org/r/gitweb?p=vnfsdk/validation.git;a=blob;f=cnf-conformance/README.md;h=cda3dee762f4dd2873613341f60f6662880f006a;hb=refs/heads/master>`_
118 5. New VTP API has been updated: see the `VTP API wiki page <https://wiki.onap.org/display/DW/VTP+REST+API+v1>`_
119
120 CLI New features
121 ----------------
122
123 1. Enabled auto discover and registration of products functionalities as commands
124 2. Profile management commands are added
125 3. For the VTP Command line usage, please refer :ref:`CLI User Guide <onap-cli:cli_user_guide>`
126
127 Test Status and Plans
128 =====================
129
130 See `the status of the test wiki page <https://wiki.onap.org/display/DW/Automatic+Testing+Requirements>`_