aboutsummaryrefslogtreecommitdiffstats
path: root/docs/developer_info/pnf_pnp_workflow_migration_to_BB/Building_Block_based_PNF_PnP_flows.rst
blob: c31ca44d8ed097e602652a09e52016567c07bd56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
.. This work is licensed under a Creative Commons Attribution 4.0 International License.
.. http://creativecommons.org/licenses/by/4.0
.. Copyright 2021 NOKIA, Ltd.

Building Block based PNF PnP flows
==================================

.. image:: ../../images/proposed_building_blocks.png

AssignPnfBB
-----------

* Responsibility:

  * Creates PNF entry in AAI (with PNF name chosen by user)

  * Additionally stores PNF model-related parameters in AAI:
    * model-customization-id
    * model-invariant-id
    * model-version-id

  * Makes a link in AAI between Service entry and PNF entry

  * Sets PNF orchestration status in AAI to Assigned

* Currently implemented in CreateAndActivatePnfResource.bpmn

WaitForPnfReadyBB
-----------------

* Responsibility:

  * Waits for "PNF ready" event sent from PRH to DMaaP
    * pnfCorrelationId from the event must match PNF instance name provided by the user during service instantiation

  * Sets PNF orchestration status in AAI to:
    * Register - when starting to wait for PNF ready event
    * Registered - when PNF ready event is successfully received

  * Currently implemented in CreateAndActivatePnfResource.bpmn


Support for config assign (ControllerExecutionBB, action: configAssign)
-----------------------------------------------------------------------

* Responsibility:
  * Runs config assign via CDS

* Currently implemented in ConfigurePnfResource.bpmn

* We will reuse generic BPMN for calling CDS (ControllerExecutionBB)

* Things to consider:
  * SkipPostInstantiationConfiguration should be taken into account


Support for config deploy (ControllerExecutionBB, action: configDeploy)
-----------------------------------------------------------------------


* Responsibility:
  * Runs config deploy via CDS

* Currently implemented in ConfigurePnfResource.bpmn

* We will reuse generic BPMN for calling CDS (ControllerExecutionBB)

* Things to consider:
  * SkipPostInstantiationConfiguration should be taken into account

ActivatePnfBB
-------------

* Responsibility:
  * Sets PNF orchestration status in AAI as Active


Sequence in Service-Macro-Create flow
-------------------------------------

1. AssignServiceInstanceBB
2. CreateNetworkCollectionBB
3. AssignNetworkBB
4. AssignVnfBB
5. AssignVolumeGroupBB
6. AssignVfModuleBB
7. **AssignPnfBB**
8. **WaitForPnfReadyBB**
9. **ControllerExecutionBB (action: configAssign, scope: pnf)**
10. **ControllerExecutionBB (action: configDeploy, scope: pnf)**
11. **ActivatePnfBB**
12. ConfigAssignVnfBB
13. CreateNetworkBB
14. ActivateNetworkBB
15. CreateVolumeGroupBB
16. ActivateVolumeGroupBB
17. CreateVfModuleBB
18. ActivateVfModuleBB
19. ConfigDeployVnfBB
20. ActivateVnfBB
21. ActivateNetworkCollectionBB
22. ActivateServiceInstanceBB