Versions Compared

Key

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

...

  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).


Description:

This guide explains to realize Realize the 5G Slicing CNF instantiation of dummy AMF, SMF and UPF network components as PODs in the k8s cluster and applying slicing configurations via ConfigMap k8s resource.

...

  1. NBI receives 5G Slice order request to process. SO creates the service instance and updates service instance information to A&AI. SO further triggers SDNC to create service instance info in MD-SAL. SDNC further triggers CDS to execute resource assignment workflow.
  2. SO creates VNF and updates VNF information to A&AI. SO further triggers SDNC to create VNF info in MD-SAL. SDNC further triggers CDS to execute resource assignment workflow.
  3. SO creates vf-module and updates vf-module information to A&AI. SO further triggers SDNC to create VNF info in MD-SAL. SDNC further triggers CDS to execute resource-assignment workflow. The workflow triggers kotlin script KotlinK8sProfileUpload.kt which updates profile artifact with snssai parameters and create profile in K8splugin.
  4. SO triggers config-assign workflow in CDS. CDS processes config-assign workflow.
  5. SO invokes infra-workload API of Multicloud which further invokes K8splugin. Before processing of instantiating helm charts, the K8splugin retrieves profile artifact and updates the ConfigMap with snssai information from override.yaml of profile artifact.
  6. SO updates A&AI with vf-module status as Activated.
  7. SO triggers config-deploy workflow of CDS. CDS processes the config-deploy workflow. The workflow would execute kotlin script KotlinDayOneConfig.kt. The script performs the following activities in sequence. Steps from b) to f) will be executed for
    all the vf-modules except base.
    1. Script invokes A&AI and fetch vf-modules details
    2. From each vf-module response it retrieves heat-stack-id which is actually k8splugin instance id.
    3. With instance-id, invokes K8splugin /instance API to fetch ConfigMap name information.
    4. Updates the ConfigMap name in config-template artifact.
    5. Executes Create template API of K8splugin
    6. Uploads the config-template artifact by invoking Upload config template content API of K8splugin.
  8. SO updates A&AI with VNF status as Active.
  9. SO updates A&AI with Service Instance status as Active.


Notes:

  • Updated slice information on the ConfigMap and inside pod supportedNsssai inside ConfigMap:
    Inside the AMF, SMF & UPF pods the slice details updated in the following location like below.



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
titleorchestration_flow_reference
collapsetrue
MariaDB [catalogdb]> 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');

Modify-Config flow of slice (Day-2):


Modify-Config flowImage Added