Hi All,
I want to better understand the entire workflow for the MACRO deployment.

So, I am debugging the VF Scale Out Use Case. For this use case the workflow is 
the following:

* The main bpmn is the WorkflowActionBB. Is it right?
* The first phase is a decomposition phase. The output of this step is to 
retrieve all the component into the service. For exameple for the VfScaleOut 
UseCase the output is the following                                             
                                                                Found Service - 
1    Vnf - 1    VfModule - 4    VolumeGroup - 0    Network - 0    VirtualLink - 
0    NetworkCollection - 0    Configuration - 0    InstanceGroup - 0
* After that, the bpmn retrieves the Building Block List to be executed. How 
this list has created?

* In my opinion, the bpmn needs to read 2 table into the catalogdb to create 
this List: the orchestration_flow_reference  and northbound_request_ref_lookup  
tables where they are joined by the ID of northbound_request_ref_lookup table. 
What is the calling order?
* In the orchestration_flow_reference table, I see all the BBs to be called in 
case of Service-Macro-Create. Starting from this table, I can undestand how the 
BBs list for a specific service is created.  For the VFScaleOut useCase is the 
following:

2019-10-08T09:47:02.021Z|843ece93-828e-479b-9444-d7c60e47d5f1| 
o.o.s.b.i.workflow.tasks.WorkflowAction - List of BuildingBlocks to execute

2019-10-08T09:47:02.022Z|843ece93-828e-479b-9444-d7c60e47d5f1| 
o.o.s.b.i.workflow.tasks.WorkflowAction - AssignServiceInstanceBB
2019-10-08T09:47:02.022Z|843ece93-828e-479b-9444-d7c60e47d5f1| 
o.o.s.b.i.workflow.tasks.WorkflowAction - AssignVnfBB
2019-10-08T09:47:02.022Z|843ece93-828e-479b-9444-d7c60e47d5f1| 
o.o.s.b.i.workflow.tasks.WorkflowAction - AssignVfModuleBB
2019-10-08T09:47:02.023Z|843ece93-828e-479b-9444-d7c60e47d5f1| 
o.o.s.b.i.workflow.tasks.WorkflowAction - AssignVfModuleBB
2019-10-08T09:47:02.023Z|843ece93-828e-479b-9444-d7c60e47d5f1| 
o.o.s.b.i.workflow.tasks.WorkflowAction - AssignVfModuleBB
2019-10-08T09:47:02.023Z|843ece93-828e-479b-9444-d7c60e47d5f1| 
o.o.s.b.i.workflow.tasks.WorkflowAction - AssignVfModuleBB
2019-10-08T09:47:02.024Z|843ece93-828e-479b-9444-d7c60e47d5f1| 
o.o.s.b.i.workflow.tasks.WorkflowAction - ConfigAssignVnfBB
2019-10-08T09:47:02.024Z|843ece93-828e-479b-9444-d7c60e47d5f1| 
o.o.s.b.i.workflow.tasks.WorkflowAction - CreateVfModuleBB
2019-10-08T09:47:02.024Z|843ece93-828e-479b-9444-d7c60e47d5f1| 
o.o.s.b.i.workflow.tasks.WorkflowAction - CreateVfModuleBB
2019-10-08T09:47:02.025Z|843ece93-828e-479b-9444-d7c60e47d5f1| 
o.o.s.b.i.workflow.tasks.WorkflowAction - CreateVfModuleBB
2019-10-08T09:47:02.027Z|843ece93-828e-479b-9444-d7c60e47d5f1| 
o.o.s.b.i.workflow.tasks.WorkflowAction - CreateVfModuleBB
2019-10-08T09:47:02.027Z|843ece93-828e-479b-9444-d7c60e47d5f1| 
o.o.s.b.i.workflow.tasks.WorkflowAction - ActivateVfModuleBB
2019-10-08T09:47:02.028Z|843ece93-828e-479b-9444-d7c60e47d5f1| 
o.o.s.b.i.workflow.tasks.WorkflowAction - ActivateVfModuleBB
2019-10-08T09:47:02.028Z|843ece93-828e-479b-9444-d7c60e47d5f1| 
o.o.s.b.i.workflow.tasks.WorkflowAction - ActivateVfModuleBB
2019-10-08T09:47:02.028Z|843ece93-828e-479b-9444-d7c60e47d5f1| 
o.o.s.b.i.workflow.tasks.WorkflowAction - ActivateVfModuleBB
2019-10-08T09:47:02.029Z|843ece93-828e-479b-9444-d7c60e47d5f1| 
o.o.s.b.i.workflow.tasks.WorkflowAction - ConfigDeployVnfBB
2019-10-08T09:47:02.029Z|843ece93-828e-479b-9444-d7c60e47d5f1| 
o.o.s.b.i.workflow.tasks.WorkflowAction - ActivateVnfBB
2019-10-08T09:47:02.029Z|843ece93-828e-479b-9444-d7c60e47d5f1| 
o.o.s.b.i.workflow.tasks.WorkflowAction - ActivateServiceInstanceBB

* 

* Since the vfscaleout service is composed by 4 vfmodule, each action on 
vfmodule is repeated 4 times. Is this right?
* How does the bpmn sort the vfmodule action? I have deployed the vfscaleout 
use case  several times and each time the deploying order has been the 
following: * base_template describing 2 private networks (designed as vfmodule 
and not as a network)
* vpkt template describing the vpkgt
* vlb template describing the loadbalancer
* vdns template describing the vdsn

* So, my question is: How does the bpmn know which template needs to be called 
as first (base template), which is the second and so on? Are there any 
hardcoded reference or any table into catalogdb that manages the sorting?

* However, once the BBs list is retrieved, a loop is started. For each BBs into 
the sorted list, its associated flows is extracted and the proper bpmn is 
called to perform the Assign/Creation/Configuration/Activation Action.
* If no error occurs, the next BBs is retrieved from the list and so on until 
all the BBs into the List have been executed properly.

Thanks a lot,
Aniello Paolo Malinconico

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#19191): https://lists.onap.org/g/onap-discuss/message/19191
Mute This Topic: https://lists.onap.org/mt/34558039/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to