E2E Network slicing - I-rel Documentation update
[integration.git] / docs / docs_5g_pnf_pnp.rst
1 .. 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_pnp:
5
6 :orphan:
7
8 5G - PNF Plug and Play
9 ----------------------
10
11 Description
12 ~~~~~~~~~~~
13
14 The 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).
15
16 **Useful Links**
17
18 1. `5G - PNF Plug and Play use case documentation <https://wiki.onap.org/display/DW/5G+-+PNF+Plug+and+Play>`_
19 2. `5G - PNF Plug and Play - Integration Test Cases <https://wiki.onap.org/display/DW/5G+-+PNF+PnP+-+Integration+Test+Cases>`_
20 3. Instruction how to setup and use VES CLinet from :ref:`NF Simulator <nf_simulator>`.
21
22 How to Use
23 ~~~~~~~~~~
24
25 1. Create and distribute service model which contains PNF
26 2. Create service for PNF and wait for PNF Ready message in DmaaP topic
27 3. Send PNF Registartion request from NF Simualtor (VES Client) and finish registration
28
29 Below 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.
30 There is need to fill following values in example json with proper values:
31
32 1. dcae-ves-collector-host-name
33 2. dcae-ves-collector-port
34 3. 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.
36 4. oamV4IpAddress - This is the IP address (IPv4) for the PNF itself. This is the IPv4 address that the PNF itself can be accessed at.
37 5. 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