blob: 7807062d8bd614e28c119c2cd0d85ae2d104042d [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
mrichommea958b982020-04-13 18:46:35 +02003
Gary Wucd47a012018-11-30 07:18:36 -08004.. _docs_5g_pnf_pnp:
5
mrichommee4643892020-11-30 18:31:29 +01006:orphan:
7
krzysztof kuzmicki0d5b5da2018-11-29 16:35:56 +010085G - PNF Plug and Play
9----------------------
10
krzysztof kuzmicki0d5b5da2018-11-29 16:35:56 +010011Description
12~~~~~~~~~~~
13
Yang Xu125d00b2019-06-28 11:25:32 -040014The PNF Plug and Play is a procedure that is executed between a PNF and ONAP. In the process of PNF registration, ONAP establishes a PNF resource instance for the PNF with a corresponding A&AI entry. The PNF registration uses a VES exchange with the PNF Registration handler within ONAP to complete the registration. Allowing the PNF resource instance to be associated with an existing service instance. This use case is intended to be applicable to a variety of PNFs such as routers and 5G base stations. The steps and descriptions have been drafted to be as general as possible and to be applicable to a relatively wide variety of PNFs. However, the use case was originally developed with a consideration for 5G PNF Distributed Units (DU).
krzysztof kuzmicki0d5b5da2018-11-29 16:35:56 +010015
16**Useful Links**
17
Krzysztof Kuzmicki8b9ac5e2021-04-19 17:17:17 +0200181. `5G - PNF Plug and Play use case documentation <https://wiki.onap.org/display/DW/5G+-+PNF+Plug+and+Play>`_
192. `5G - PNF Plug and Play - Integration Test Cases <https://wiki.onap.org/display/DW/5G+-+PNF+PnP+-+Integration+Test+Cases>`_
203. Instruction how to setup and use VES CLinet from :ref:`NF Simulator <nf_simulator>`.
mrichomme0794e672020-06-09 15:37:37 +020021
krzysztof kuzmicki0d5b5da2018-11-29 16:35:56 +010022How to Use
23~~~~~~~~~~
24
Krzysztof Kuzmicki8b9ac5e2021-04-19 17:17:17 +0200251. Create and distribute service model which contains PNF
262. Create service for PNF and wait for PNF Ready message in DmaaP topic
273. Send PNF Registartion request from NF Simualtor (VES Client) and finish registration
krzysztof kuzmicki0d5b5da2018-11-29 16:35:56 +010028
Krzysztof Kuzmicki8b9ac5e2021-04-19 17:17:17 +020029Below is present an example of event that need to be send to VES Client in order to trigger registration event from VES Client to ONAP VES Collector.
30There is need to fill following values in example json with proper values:
31
321. dcae-ves-collector-host-name
332. dcae-ves-collector-port
343. sourceName - Identifier of this Pnf information element. It is the first three letters of the Vendor and the PNF serial number.
35 This is a unique identifier for the PNF instance. It is also referred to as the Correlation ID.
364. oamV4IpAddress - This is the IP address (IPv4) for the PNF itself. This is the IPv4 address that the PNF itself can be accessed at.
375. oamV6IpAddress - This is the IP address (IPv6) for the PNF itself. This is the IPv6 address that the PNF itself can be accessed at.
38
39::
40
41 {
42 "vesServerUrl": "https://<dcae-ves-collector-host-name>:<dcae-ves-collector-port>/eventListener/v7",
43 "event": {
44 "event": {
45 "commonEventHeader": {
46 "startEpochMicrosec": 1538407540940,
47 "sourceId": "val13",
48 "eventId": "registration_38407540",
49 "nfcNamingCode": "oam",
50 "internalHeaderFields": {},
51 "eventType": "pnfRegistration",
52 "priority": "Normal",
53 "version": "4.0.1",
54 "reportingEntityName": "VEN6061ZW3",
55 "sequence": 0,
56 "domain": "pnfRegistration",
57 "lastEpochMicrosec": 1538407540940,
58 "eventName": "pnfRegistration",
59 "vesEventListenerVersion": "7.0.1",
60 "sourceName": "<sourceName>",
61 "nfNamingCode": "gNB"
62 },
63 "pnfRegistrationFields": {
64 "unitType": "val8",
65 "serialNumber": "6061ZW3",
66 "pnfRegistrationFieldsVersion": "2.0",
67 "manufactureDate": "1538407540942",
68 "modelNumber": "val6",
69 "lastServiceDate": "1538407540942",
70 "unitFamily": "BBU",
71 "vendorName": "VENDOR",
72 "oamV4IpAddress": "<oamV4IpAddress>,
73 "oamV6IpAddress": "<oamV6IpAddress>",
74 "softwareVersion": "val7"
75 }
76 }
77 }
78 }
79
80