blob: 8233166091cea70e721e8d4b3c9ce857de57de93 [file] [log] [blame]
dfarrelly6cf23842019-11-27 15:13:04 +00001.. This work is licensed under a Creative Commons Attribution 4.0 International License.
2.. http://creativecommons.org/licenses/by/4.0
3
4.. _Overview:
5
6Overview
7========
8
9Introduction
10""""""""""""
efiacor104d4a32020-09-18 14:59:44 +010011The PM Subscription Handler (PMSH) is a Python based micro service, which allows for the definition and activation
dfarrelly6cf23842019-11-27 15:13:04 +000012of PM subscriptions on one or more network function (NF) instances.
13
dfarrelly6cf23842019-11-27 15:13:04 +000014
15Functionality
16"""""""""""""
efiacor104d4a32020-09-18 14:59:44 +010017PMSH allows for the definition of subscriptions on a network level, which enables the configuration of PM data on a
18set of NF instances.
19During creation of a subscription, PM reporting configuration and a network function filter will be defined.
20This filter will then be used to produce a subset of NF's to which the subscription will be applied.
21The NF's in question must have an Active orchestration-status in A&AI.
22If an NF matching the filter is registered in ONAP after the microservice has been deployed, the subscription will
dfarrelly4e457422020-04-02 08:59:17 +010023be applied to that NF.
dfarrelly6cf23842019-11-27 15:13:04 +000024
25Interaction
26"""""""""""
27
28Config Binding Service
29^^^^^^^^^^^^^^^^^^^^^^
30
efiacor104d4a32020-09-18 14:59:44 +010031PMSH interacts with the Config Binding Service to retrieve it's configuration information, including the
dfarrelly6cf23842019-11-27 15:13:04 +000032subscription information.
33
34DMaaP
35^^^^^
36
efiacor104d4a32020-09-18 14:59:44 +010037PMSH subscribes and publishes to various DMaaP Message Router topics (See :ref:`Topics<Topics>`
dfarrelly6cf23842019-11-27 15:13:04 +000038for more information on which topics are used).
39
40A&AI
41^^^^
42
efiacor104d4a32020-09-18 14:59:44 +010043PMSH interacts with A&AI to fetch data about network functions. The ``nfFilter`` is then
dfarrelly6cf23842019-11-27 15:13:04 +000044applied to this data to produce a targeted subset of NF's.
45
efiacor104d4a32020-09-18 14:59:44 +010046Policy
47^^^^^^
dfarrelly6cf23842019-11-27 15:13:04 +000048
efiacor104d4a32020-09-18 14:59:44 +010049PMSH interacts indirectly with Policy via DMaaP Message Router to trigger an action on an operational policy defined
50by the operator. The operational policy must align with the inputs provided in the event sent from PMSH.
51
52CDS
53^^^
54The operational policy will be used to make a request to CDS, which will apply/remove the subscription to/from the NF.
55The CDS blue print processor will execute the action over netconf towards the NF.
56(See :ref:`DCAE_CL_OUTPUT_Topic<DCAE_CL_OUTPUT_Topic>` for more details)
57
58Multiple CDS Blueprint support
59""""""""""""""""""""""""""""""
60When PMSH applies the nfFilter during the parsing of the NF data, it will attempt to retrieve the relevant blueprint information
61defined in A&AI related to that model.
62These are optional parameters in SDC (sdnc_model_name, sdnc_model_version), and can be defined as properties
63assignment inputs, then pushed to A&AI during distribution.
64
65If no blueprint information is available, the NF will be skipped and no subscription event sent.
66
67If successful, the sdnc_model_name and sdnc_model_version will be sent as part of the event to the policy framework as
68blueprintName and blueprintVersion respectively.
69This in turn will be sent from the operational policy towards CDS blueprint processor, to trigger the action for the relevant blueprint.