Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

5G Core Slice creation and Core NS instantion instantiation using the Macro flow through NBI Automation.
Here we are performing the Instantiation,Day0,Day1 and Day2 configuration with help of SO, SDNC, Multicloud (k8s-plugin) and CDS.
There are two E2E workflows involved i.e Macro POST (Instantiation) and PUT (Modify Config) operations

  1. POST: Instantiation,Day0 and Day1 (will update the snssai value in CNF while creation/Instantiation) will perform.
  2. PUT: Day2 can perform (will update the snssai value for Modify Config flow).

POST Operation Process:

In SDC vf Design --> create a new param property as "snssai" and declare it as input in Properties Assignment section, Even in service design refer that same vf VF and decalre declare it as input.
Pls update


Info
iconfalse

Prerequisites:

  • Update the SO catalogdb table as below for config-assign and config-deploy process from SO to CDS
  • Update the CBA Resource resolution param "fiveg0_snssai" to "yourvfname_snssai" (like example0_snssai)

...



Code Block
languagesql
firstline1
titleorchestration_flow_reference
collapsetrue
>select * from 

Update the SO catalogdb table as below for config-assign and config-deploy process from SO to CDS...

...

orchestration_flow_reference;

...



| 429 | Service-Macro-Create | 1 | AssignServiceInstanceBB | 1 | 102 | NULL | NULL |

...


| 432 | Service-Macro-Create | 2 | CreateNetworkCollectionBB | 1 | 102 | NULL | NULL |

...


| 435 | Service-Macro-Create | 3 | AssignNetworkBB | 1 | 102 | NULL | NULL |

...


| 438 | Service-Macro-Create | 4 | AssignVnfBB | 1 | 102 | NULL | NULL |

...


| 441 | Service-Macro-Create | 5 | AssignVolumeGroupBB | 1 | 102 | NULL | NULL |

...


| 444 | Service-Macro-Create | 6 | AssignVfModuleBB | 1 | 102 | NULL | NULL |

...


| 447 | Service-Macro-Create | 7 | ControllerExecutionBB | 1 | 102 | vnf | config-assign |

...


| 450 | Service-Macro-Create | 8 | AssignPnfBB | 1 | 102 | NULL | NULL |

...


| 453 | Service-Macro-Create | 9 | WaitForPnfReadyBB | 1 | 102 | NULL | NULL |

...


| 456 | Service-Macro-Create | 10 | ActivatePnfBB | 1 | 102 | NULL | NULL |

...


| 459 | Service-Macro-Create | 11 | CreateNetworkBB | 1 | 102 | NULL | NULL |

...


| 462 | Service-Macro-Create | 12 | ActivateNetworkBB | 1 | 102 | NULL | NULL |

...


| 465 | Service-Macro-Create | 15 | CreateVolumeGroupBB | 1 | 102 | NULL | NULL |

...


| 468 | Service-Macro-Create | 16 | ActivateVolumeGroupBB | 1 | 102 | NULL | NULL |

...


| 471 | Service-Macro-Create | 17 | CreateVfModuleBB | 1 | 102 | NULL | NULL |

...


| 474 | Service-Macro-Create | 18 | ActivateVfModuleBB | 1 | 102 | NULL | NULL |

...


| 477 | Service-Macro-Create | 19 | ControllerExecutionBB | 1 | 102 | vnf | config-deploy |

...


| 480 | Service-Macro-Create | 20 | ActivateVnfBB | 1 | 102 | NULL | NULL |

...


| 483 | Service-Macro-Create | 21 | ActivateNetworkCollectionBB | 1 | 102 | NULL | NULL |

...


| 486 | Service-Macro-Create | 22 | ActivateServiceInstanceBB | 1 | 102 | NULL | NULL |


PUT Operation Process:

Info
iconfalse

Prerequisites:

  • Update the SO catalogdb tables as below for config-assign and config-deploy process from SO to CDS.


Code Block
languagesql
firstline1
titleservice_recipe
collapsetrue
>select * from service_recipe;

insert into service_recipe (id,ACTION,VERSION_STR,DESCRIPTION,ORCHESTRATION_URI,SERVICE_PARAM_XSD,RECIPE_TIMEOUT,SERVICE_TIMEOUT_INTERIM, CREATION_TIMESTAMP,SERVICE_MODEL_UUID) Values(500,'updateInstance','1.0','Gr api recipe to update service-instance','/mso/async/services/WorkflowActionBB',NULL,180,NULL,'2020-09-01 16:08:35','d88da85c-d9e8-4f73-b837-3a72a431622b');


Code Block
languagesql
firstline1
titlenorthbound_request_ref_lookup
collapsetrue
>select * from northbound_request_ref_lookup;

INSERT INTO northbound_request_ref_lookup(ID, REQUEST_SCOPE, MACRO_ACTION, ACTION, IS_ALACARTE, MIN_API_VERSION, MAX_API_VERSION, IS_TOPLEVELFLOW, CLOUD_OWNER, SERVICE_TYPE) VALUES (500, 'Vnf', 'VNF-Macro-Modify', 'updateInstance', 0, 7, 7, 1, 'k8scloudowner', '*');


Code Block
languagesql
firstline1
titleorchestration_flow_reference
collapsetrue
>select * from orchestration_flow_reference;

insert into orchestration_flow_reference (id,COMPOSITE_ACTION,SEQ_NO,FLOW_NAME,FLOW_VERSION,NB_REQ_REF_LOOKUP_ID,SCOPE,ACTION)  values (901, 'VNF-Macro-Modify',1,'ControllerExecutionBB',1,500,'vnf','config-assign-day-2');
insert into orchestration_flow_reference (id,COMPOSITE_ACTION,SEQ_NO,FLOW_NAME,FLOW_VERSION,NB_REQ_REF_LOOKUP_ID,SCOPE,ACTION) values (902, 'VNF-Macro-Modify',2,'ControllerExecutionBB',1,500,'vnf','config-deploy-day-2');