blob: 0424a3116bc96063ca7cc0b8358c8f6cee6247f4 [file] [log] [blame]
Gary Wucd47a012018-11-30 07:18:36 -08001.. This work is licensed under a Creative Commons Attribution 4.0
2 International License. http://creativecommons.org/licenses/by/4.0
3
4.. _docs_5g_pnf_software_upgrade:
5
Yaoguang Wang8a156482018-11-30 09:21:22 +080065G PNF Software Upgrade
7----------------------------
8
9Description
10~~~~~~~~~~~
Yaoguang Wanga6d37fe2019-07-09 11:39:14 +080011The 5G PNF Software upgrade use case shows how users/network operators can modify the software of PNF instance during installation or regular maintaince. This use case is one aspect of Software Management. This could be used to update the PNF software to a newer or older version of software.
Yaoguang Wang8a156482018-11-30 09:21:22 +080012
Yaoguang Wanga6d37fe2019-07-09 11:39:14 +080013**Useful Links**
14- `5G - PNF software upgrade use case documentation <https://wiki.onap.org/pages/viewpage.action?pageId=40206496>`_
15- `5G - PNF software upgrade Integration test case status for Dublin release <https://wiki.onap.org/display/DW/5G+-+PNF+SW+Upgrade+-+Integration+Test+Cases>`_
16
17**Current status in Dublin**
18- with the support of an EM
19- LCM API (focus on controller only)
20- integration of basic 3GPP SwM interfaces (*)
21- ansible protocol only
22Note: In Dublin, Controller provided four related APIs (precheck, postcheck, upgrade and rollback), which were finally translated to invoke interfaces provided by EM. Rollback API is to call swFallback operation, and Upgrade API is to call downloadNESw, installNESw and activateNESw operations (Ref. 3GPP TS 32.532[1]).
23
24**Future Plans**
25- E2E PNF Software upgrade both for design and runtime
26- Generic workflow for demonstration
Yaoguang Wang8a156482018-11-30 09:21:22 +080027
28How to Use
29~~~~~~~~~~
Yaoguang Wanga6d37fe2019-07-09 11:39:14 +080030Upgrading PNF (instance) software requires the user/network operator to trigger the upgrade operation from the UI, e.g. VID or UUI. In Dublin, users need use ONAP Controllers GUI or publish DMaaP messages to trigger the LCM opeations, which are pre-check, post-check, upgrade and rollback. After receiving the API requests, the ONAP controllers will communicate to EMS through south-bound adaptors, which is Ansible protocol only in Dublin.
Yaoguang Wang8a156482018-11-30 09:21:22 +080031
Yaoguang Wanga6d37fe2019-07-09 11:39:14 +080032Note that, both APPC and SDNC in R4 supported Ansible. Taking SDNC and Prechecking as an example, the steps are as follows:
Yaoguang Wang8a156482018-11-30 09:21:22 +080033
Yaoguang Wanga6d37fe2019-07-09 11:39:14 +0800341) `In ansible server container, prepare the ssh connection conditions to the external controller, both ssh key file and ansible inventory configuration`_
Yaoguang Wang8a156482018-11-30 09:21:22 +080035
Yaoguang Wanga6d37fe2019-07-09 11:39:14 +0800362) `In sdnc controller container, update the dg configuration file: lcm-dg.properties.`_
37
Yaoguang Wang8a156482018-11-30 09:21:22 +080038For example:
39::
40lcm.pnf.upgrade-pre-check.playbookname=ansible_huawei_precheck
41lcm.pnf.upgrade-post-check.playbookname=ansible_huawei_postcheck
42lcm.pnf.upgrade-software.playbookname=ansible_huawei_upgrade
Yaoguang Wanga6d37fe2019-07-09 11:39:14 +080043lcm.pnf.upgrade-rollback.playbookname=ansible_huawei_rollback
Yaoguang Wang8a156482018-11-30 09:21:22 +080044
Yaoguang Wanga6d37fe2019-07-09 11:39:14 +0800453) `Login controller UI, access the pre-check LCM operation (or other operations) and send request, the detailed request parameters can be found in corresponding test case link.`_
Yaoguang Wang8a156482018-11-30 09:21:22 +080046
Yaoguang Wanga6d37fe2019-07-09 11:39:14 +0800474) `The HTTP API response code 200 and LCM retured code 400 (See APPC return code design specification) indicate success, otherwise failed.`_
Yaoguang Wang8a156482018-11-30 09:21:22 +080048
49Test Status and Plans
50~~~~~~~~~~~~~~~~~~~~~
Yaoguang Wanga6d37fe2019-07-09 11:39:14 +080051To see information on the status of the test case: https://wiki.onap.org/display/DW/5G+-+PNF+SW+Upgrade+-+Integration+Test+Cases
52
53References
54==========
55[1] TS 32.532,Telecommunication management; Software management (SwM); Integration Reference Point (IRP); Information Service (IS)
Yaoguang Wang8a156482018-11-30 09:21:22 +080056
57Known Issues and Resolutions
58~~~~~~~~~~~~~~~~~~~~~~~~~~~~
59None
60