Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 26 Next »

This page mainly describes the template design steps of option1  for the E2E Network Slicing use case for Guilin release.

Template design for Option1 is as folllows:

Sample Service Templates for Option 1:

Create Service Category

Login SDC HOME page with Admin Role,create the following categories:

CST,ServiceProfile,AN SliceProfile,AN NF Slice Profile,  CN SliceProfile,TN SliceProfile,NST, TN BH NSST,   TN MH NSST,  TN FH NSST,  TN Network Requirement,AN NF NSST,CN NSST, AN NSST.

1.Create CN_NSST 

Login SDC HOME page with Designer Role, add new service.

1. In the General section, complete all required fields.

  • Suggest 'CN_NSST' as the name to indicate the meaning of the service.
  • Select ‘CN NSST’ as Category.
  • Provide 'ONAP_internal' as Service Role

2. NSST should be composed of network service(NS).  For NS helm artifacts, CBA package and other design time activities, please follow below link:

    https://wiki.onap.org/display/DW/5GC+Instantiation+and+Modify+Config+flow+through+CDS

3. In Composition section, drag the elements of ‘Fiveg’(NS) from the Elements palette to the service canvas.

4. In Properties Assignment section,define Service properties.

a. Click 

b. Input name and  select ‘org.openecomp.datatypes.NSSCapabilities’ as type.

c. Set property values as shown bellow.

2.Create TN_Network_Req_T

Login SDC HOME page with Designer Role, add new service.

1. In the General section, complete all required fields.

  • Suggest 'TN_Network_Req_T' as the name to indicate the meaning of the service.
  • Select ‘TN Network Requirement’ as Category.
  • Provide 'ONAP_internal' as Service Role

2. In Properties Assignment section, define the following service properties.

3. Distribute the service model and check the results.

3.Create TN_Network_Req_AR(Allotted Resource)

Login SDC HOME page with Designer Role and add VF.

1. In the General section, complete all required fields.

  • Suggest 'TN_Network_Req_AR' as the name to indicate the meaning of the service.
  • Select ‘Allotted Resource’ as Category.
  • Provide 'ONAP' as Vendor Name.
  • Provide '1.0' as Vendor Release.

2. In Composition section,search 'Allotted Resource', drag the element from the Elements palette to the service canvas.

3. In Properties Assignment section, define Service properties.

a. Click 'AllottedResource 0' in the right pane

b. Use the value of TN_Network_Req_T to set 'providing_service_invariant_uuid' and 'providing_service_uuid' and 'providing_service_name'.

4.Create TN_BH_NSST

Login SDC HOME page with Designer Role, add new service.

1. In the General section, complete all required fields.

  • Suggest 'TN_BH_NSST' as the name to indicate the meaning of the service.
  • Select ‘TN BH NSST’ as Category.
  • Provide 'ONAP_internal' as Service Role

2. In Composition section,search 'TN_Network_Req_AR', drag the element from the Elements palette to the service canvas.

3.In Properties Assignment section, define the following service properties.

4. Distribute the service model and check the results.

5.Create TN_FH_AR(Allotted Resource)

Login SDC HOME page with Designer Role and add VF.

1. In the General section, complete all required fields.

  • Suggest 'TN_FH_AR' as the name to indicate the meaning of the service.
  • Select ‘Allotted Resource’ as Category.
  • Provide 'ONAP' as Vendor Name.
  • Provide '1.0' as Vendor Release.

2. In Composition section,search 'Allotted Resource', drag the element from the Elements palette to the service canvas.

3. In Properties Assignment section, define Service properties.

a. Click 'AllottedResource 0' in the right pane

b. Use the value of TN_Network_Req_T to set 'providing_service_invariant_uuid' and 'providing_service_uuid' and 'providing_service_name'.

6.Create TN_MH_AR(Allotted Resource)

Login SDC HOME page with Designer Role and add VF.

1. In the General section, complete all required fields.

  • Suggest 'TN_MH_AR' as the name to indicate the meaning of the service.
  • Select ‘Allotted Resource’ as Category.
  • Provide 'ONAP' as Vendor Name.
  • Provide '1.0' as Vendor Release.

2. In Composition section,search 'Allotted Resource', drag the element from the Elements palette to the service canvas.

3. In Properties Assignment section, define Service properties.

a. Click 'AllottedResource 0' in the right pane

b. Use the value of TN_Network_Req_T to set 'providing_service_invariant_uuid' and 'providing_service_uuid' and 'providing_service_name'.

7.Create TN_MH_NSST

Login SDC HOME page with Designer Role, add new service.

1. In the General section, complete all required fields.

  • Suggest 'TN_MH_NSST' as the name to indicate the meaning of the service.
  • Select ‘TN MH NSST’ as Category.
  • Provide 'TRANSPORT' as Service Type.
  • Provide 'TN_MH' as Service Role.

2. In Composition section,search 'TN_MH_AR', drag the element from the Elements palette to the service canvas.

8.Create TN_FH_NSST

Login SDC HOME page with Designer Role, add new service.

1. In the General section, complete all required fields.

  • Suggest 'TN_FH_NSST' as the name to indicate the meaning of the service.
  • Select ‘TN FH NSST’ as Category.
  • Provide 'TRANSPORT' as Service Type.
  • Provide 'TN_FH' as Service Role.

2. In Composition section,search 'TN_FH_AR', drag the element from the Elements palette to the service canvas.

9.Create NrtRIC_resource 

Login SDC HOME page with Designer Role, add new VF.

In the General section, complete all required fields.

  • Suggest 'NrtRIC_resource' as the name to indicate the meaning of the service.
  • Select ‘Network Elements’ as Category.
  • Provide '5G RAN' as Vendor Name.
  • Provide '1' as Vendor Release.

2. In Composition section,search 'ExtCP2' from Generic Category, drag the element from the Elements palette to the service canvas.

  • Rename ExtCP2 as 'EP_E2'.

10.Create CUCP_Resource 

Login SDC HOME page with Designer Role, add new VF.

In the General section, complete all required fields.

  • Suggest 'CUCP_Resource' as the name to indicate the meaning of the service.
  • Select ‘Network Elements’ as Category.
  • Provide '5G RAN' as Vendor Name
  • Provide '1' as Vendor Release

2. In Composition section,search 'ExtCP2' from Generic Category, drag the element from the Elements palette to the service canvas.

  • Rename ExtCP2 as 'EP_NG_c'.
  • drag another 'ExtCP2' element from Generic Category and rename ExtCP2 as 'EP_E1'.
  • drag another 'ExtCP2' element from Generic Category and rename ExtCP2 as 'EP_E2'.
  • drag another 'ExtCP2' element from Generic Category and rename ExtCP2 as 'EP_F1C'.

11.Create CUUP_Resource 

Login SDC HOME page with Designer Role, add new VF.

In the General section, complete all required fields.

  • Suggest 'CUUP_Resource' as the name to indicate the meaning of the service.
  • Select ‘Network Elements’ as Category.
  • Provide '5G RAN' as Vendor Name
  • Provide '1' as Vendor Release

2. In Composition section,search 'ExtCP2' from Generic Category, drag the element from the Elements palette to the service canvas.

  • Rename ExtCP2 as 'EP_NG_u'.
  • drag another 'ExtCP2' element from Generic Category and rename ExtCP2 as 'EP_E1'.
  • drag another 'ExtCP2' element from Generic Category and rename ExtCP2 as 'EP_E2'.
  • drag another 'ExtCP2' element from Generic Category and rename ExtCP2 as 'EP_F1U'.

12.Create DU_Resource 

Login SDC HOME page with Designer Role, add new VF.

In the General section, complete all required fields.

  • Suggest 'DU_Resource' as the name to indicate the meaning of the service.
  • Select ‘Network Elements’ as Category.
  • Provide '5G RAN' as Vendor Name
  • Provide '1' as Vendor Release

2. In Composition section,search 'ExtCP2' from Generic Category, drag the element from the Elements palette to the service canvas.

  • Rename ExtCP2 as 'EP_E2'.
  • drag another 'ExtCP2' element from Generic Category and rename ExtCP2 as 'EP_FH'.
  • drag another 'ExtCP2' element from Generic Category and rename ExtCP2 as 'EP_F1C'.
  • drag another 'ExtCP2' element from Generic Category and rename ExtCP2 as 'EP_F1U'.

13.Create RAN_NF Service Template

Login SDC HOME page with Designer Role, add new service.

1. In the General section, complete all required fields.

  • Suggest 'RAN_NF_NSST' as the name to indicate the meaning of the service.
  • Select ‘AN NF NSST’ as Category.
  • Provide 'RAN' as Service Type.
  • Provide 'AN_NF' as Service Role.

2. In Composition section,drag the elements of ‘NrtRIC_resource’,‘CUCP_Resource’,‘CUUP_Resource’, 'DU_Resource' from the Elements palette to the service canvas.

3. In Properties Assignment section,define Service properties.

a. Click 

b. Input name and  select ‘org.openecomp.datatypes.NSSCapabilities’ as type.

4. Distribute the service model and check the results.

14.Create TESTRANTOPNSST(TOP RAN Service Template)

Login SDC HOME page with Designer Role, add new service.

1. In the General section, complete all required fields.

  • Suggest 'TESTRANTOPNSST' as the name to indicate the meaning of the service.
  • Select ‘AN NSST’ as Category.
  • Provide 'RAN' as Service Type.
  • Provide 'ONAP_internal' as Service Role.

2. In Composition section,drag the elements of ‘RAN_NF_NSST’,‘TN_MH_NSST’,‘TN_FH_NSST’ from the Elements palette to the service canvas.

3.In Properties Assignment section,define Service properties.

a. Click 

b. Input name and  select ‘org.openecomp.datatypes.NSSCapabilities’ as type.

4. Distribute the service model and check the results.

15.Create CN_AR(Allotted Resource

Login SDC HOME page with Designer Role and add VF.

1. In the General section, complete all required fields.

  • Select ‘Allotted Resource’ as Category.
  • Provide 'ONAP' as Vendor Name.
  • Provide '1.0' as Vendor Release.

2. In Composition section,search 'Allotted Resource', drag the element from the Elements palette to the service canvas.

3. In Properties Assignment section, define Service properties.

a. Click 'AllottedResource 0' in the right pane

b. Use the value of CN_NSST to set 'providing_service_invariant_uuid' and 'providing_service_uuid' and 'providing_service_name'.

16.Create Tn_BH_AR(Allotted Resource

Login SDC HOME page with Designer Role and add VF.

1. In the General section, complete all required fields.

  • Select ‘Allotted Resource’ as Category.
  • Provide 'ONAP' as Vendor Name.
  • Provide '1.0' as Vendor Release.

2. In Composition section,search 'Allotted Resource', drag the element from the Elements palette to the service canvas.

3. In Properties Assignment section, define Service properties.

a. Click 'AllottedResource 0' in the right pane

b. Use the value of TN_BH_NSST to set 'providing_service_invariant_uuid' and 'providing_service_uuid' and 'providing_service_name'.

17.Create AN_AR(Allotted Resource

Login SDC HOME page with Designer Role and add VF.

1. In the General section, complete all required fields.

  • Select ‘Allotted Resource’ as Category.
  • Provide 'ONAP' as Vendor Name.
  • Provide '1.0' as Vendor Release.

2. In Composition section,search 'Allotted Resource', drag the element from the Elements palette to the service canvas.

3. In Properties Assignment section, define Service properties.

a. Click 'AllottedResource 0' in the right pane

b. Use the value of TESTRANTOPNSST to set 'providing_service_invariant_uuid' and 'providing_service_uuid' and 'providing_service_name'.

18.Create NSTO1 Service Template

Login SDC HOME page with Designer Role, add new service.

1. In the General section, complete all required fields.

  • Suggest 'NSTO1' as the name to indicate the meaning of the service.
  • Select ‘NST’ as Category.
  • Suggest 'ONAP_internal' as Service Role

2. In Composition section,drag the elements of ‘AN_AR’,‘Tn_BH_AR’,‘CN_AR’ from the Elements palette to the service canvas.

3. In Properties Assignment section, define Service properties.

a. Click 

Add the property "latency" as a separate property of type integer and provide the value as 45

Set property values as shown bellow.

4. Distribute the service model and check the results.

19.Create Slice_AR(Allotted Resource)

Login SDC HOME page with Designer Role and add VF.

1. In the General section, complete all required fields.

  • Suggest 'Slice_AR' as the name to indicate the meaning of the service.
  • Select ‘Allotted Resource’ as Category.

2. In Composition section,search 'Allotted Resource', drag the element from the Elements palette to the service canvas.

3. In Properties Assignment section, define Service properties.

a. Click 'AllottedResource 0' in the right pane

b. Select 'providing_service_invariant_uuid' and 'providing_service_uuid' and click Declare Input.

20.Create TN_SliceProfile Service Template

Login SDC HOME page with Designer Role, add new service.

1. In the General section, complete all required fields.

  • Suggest 'TN_SliceProfile' as the name to indicate the meaning of the service.
  • Select ‘TN SliceProfile’ as Category.

2. In Composition section,search 'Slice_AR', drag the element from the Elements palette to the service canvas.

3. In Properties Assignment section,define Service properties.

a. Add some properties as the picture shown bellow.

b. Select all properties and click Declare Input.

c. Click 'Slice_AR 0'in the right pane

d. Select 'allottedresource0_providing_service_invariant_uuid' and 'allottedresource0_providing_service_uuid' and click Declare Input.

4. Distribute the service model and check the results.

21.Create CN_SliceProfile Service Template

Login SDC HOME page with Designer Role, add new service.

1. In the General section, complete all required fields.

  • Suggest 'CN_SliceProfile' as the name to indicate the meaning of the service.
  • Select ‘CN SliceProfile’ as Category.

2. In Composition section,search 'Slice_AR', drag the element from the Elements palette to the service canvas.

3. Properties Assignment section, define Service properties.

a. Click 

b. Input name and  select ‘org.openecomp.datatypes.SliceProfile’ as type.

c.  Add some properties as shown bellow.

d. Select all properties and click Declare Input(For the sliceprofile type, select all attributes

e. Click 'Slice_AR 0'in the right pane

f. Select 'allottedresource0_providing_service_invariant_uuid' and 'allottedresource0_providing_service_uuid' and click Declare Input.

4. Distribute the service model and check the results.

22.Create SliceProfile_AN_NF_O1 Service Template

Login SDC HOME page with Designer Role, add new service.

1. In the General section, complete all required fields.

  • Suggest 'SliceProfile_AN_NF_O1' as the name to indicate the meaning of the service.
  • Select ‘AN NF SliceProfile’ as Category.

2. In Composition section,search 'Slice_AR', drag the element from the Elements palette to the service canvas.

3. In Properties Assignment section,define Service properties.

a. Click 

b. Input name and  select ‘org.openecomp.datatypes.SliceProfile’ as type.

c.  Add some properties as shown bellow.

d. Select all properties and click Declare Input(For the sliceprofile type, select all attributes

e. Click 'Slice_AR 0'in the right pane

f. Select 'allottedresource0_providing_service_invariant_uuid' and 'allottedresource0_providing_service_uuid' and click Declare Input.

4. Distribute the service model and check the results.

23.Create SliceProfile_AN_O1 Service Template

Login SDC HOME page with Designer Role, add new service.

1. In the General section, complete all required fields.

  • Suggest 'SliceProfile_AN_O1' as the name to indicate the meaning of the service.
  • Select ‘AN SliceProfile’ as Category.

2. In Composition section,drag the elements of ‘SliceProfile_AN_NF_O1’,‘TN_SliceProfile’ from the Elements palette to the service canvas.

24.Create ServiceProfile_O1 Service Template

Login SDC HOME page with Designer Role, add new service.

1. In the General section, complete all required fields.

  • Suggest 'ServiceProfile_O1' as the name to indicate the meaning of the service.
  • Select ‘ServiceProfile’ as Category.

2. In Composition section,search 'Slice_AR', ’SliceProfile_CN‘,‘SliceProfile_AN_O1’,‘SliceProfile_TN’,drag the element from the Elements palette to the service canvas.

3. In Properties Assignment section,define Service properties.

a. Click 

b. Input name and  select ‘org.openecomp.datatypes.ServiceProfile’ as type.

c. Select some attributes of  ServiceProfile as bellow picture shows and click Declare Input .

d. Add input for activityFactor param with a value(i.e. 20)

4. Distribute the service model and check the results.

25.Create CST_O1 Service Template

Login SDC HOME page with Designer Role, add new service.

1. In the General section, complete all required fields.

  • Suggest 'CST_O1' as the name to indicate the meaning of the service.
  • Select ‘CST’ as Category.
  • Fill in the "Service Type" field with the value "embb"

2. In Composition section,search 'ServiceProfile_O2', drag the element from the Elements palette to the service canvas.

3. In Properties Assignment section,define Service properties.

a. Click 

b. Input name and  select ‘org.openecomp.datatypes.CSProperties’ as type.

c. Select all attributes of  ServiceProfile except 'sNSSAI' and click Declare Input .

4. Distribute the service model and check the results.

A&AI Configuration:

If the service distribution to A&AI failed, like the picture shows bellow:

Add 'ServiceProfile' and 'NSTAR' model to A&AI through postman.(ServiceProfile/NSTAR Model Id and Invariant Id can be find on SDC page.)

  •  model-invariant-id is SERVICE_INVARIANT_ID
  • model-version-id is SERVICE_MODEL_UUID
  • model-type is SERVICE_TYPE
  • model-name is SERVICE_NAME


curl --user AAI:AAI -X PUT -H "X-FromAppId:AAI" -H "X-TransactionId:get_aai_subscr" -H "Accept:application/json" -H "Content-Type:application/json" -k "https://{worker-vm-ip}:30233/aai/v21/service-design-and-creation/models/model/bfd35bbf-4469-44d2-aa13-eb531b2d4e7a" -d '{
"model-invariant-id": "bfd35bbf-4469-44d2-aa13-eb531b2d4e7a",
"model-type": "Service",
"model-vers": {
"model-ver": [
{
"model-version-id": "fd4ca61e-2147-4693-ad2c-2786889b51a5",
"model-name": "NSTO1",
"model-version": "1.0"
}
]
}
}'

NOTE: If any service template composed of Allotted Resource(AR) fails to distribute in AAI, then add created Allotted Resource Configuration to AAI as given above.


This page mainly describes the template design steps of option1  for the E2E Network Slicing use case for Guilin release.

Template design for Option1 is as folllows:

Sample Service Templates for Option 1:

Create Service Category

Login SDC HOME page with Admin Role,create the following categories:

CST,ServiceProfile,AN SliceProfile,AN NF Slice Profile,  CN SliceProfile,TN SliceProfile,NST, TN BH NSST,   TN MH NSST,  TN FH NSST,  TN Network Requirement,AN NF NSST,CN NSST, AN NSST.

1.Create CN_NSST 

Login SDC HOME page with Designer Role, add new service.

1. In the General section, complete all required fields.

  • Suggest 'CN_NSST' as the name to indicate the meaning of the service.
  • Select ‘CN NSST’ as Category.
  • Provide 'ONAP_internal' as Service Role

2. NSST should be composed of network service(NS).  For NS helm artifacts, CBA package and other design time activities, please follow below link:

    https://wiki.onap.org/display/DW/5GC+Instantiation+and+Modify+Config+flow+through+CDS

3. In Composition section, drag the elements of ‘Fiveg’(NS) from the Elements palette to the service canvas.

4. In Properties Assignment section,define Service properties.

a. Click 

b. Input name and  select ‘org.openecomp.datatypes.NSSCapabilities’ as type.

c. Set property values as shown bellow.

2.Create TN_Network_Req_T

Login SDC HOME page with Designer Role, add new service.

1. In the General section, complete all required fields.

  • Suggest 'TN_Network_Req_T' as the name to indicate the meaning of the service.
  • Select ‘TN Network Requirement’ as Category.
  • Provide 'ONAP_internal' as Service Role

2. In Properties Assignment section, define the following service properties.

3. Distribute the service model and check the results.

3.Create TN_Network_Req_AR(Allotted Resource)

Login SDC HOME page with Designer Role and add VF.

1. In the General section, complete all required fields.

  • Suggest 'TN_Network_Req_AR' as the name to indicate the meaning of the service.
  • Select ‘Allotted Resource’ as Category.
  • Provide 'ONAP' as Vendor Name.
  • Provide '1.0' as Vendor Release.

2. In Composition section,search 'Allotted Resource', drag the element from the Elements palette to the service canvas.

3. In Properties Assignment section, define Service properties.

a. Click 'AllottedResource 0' in the right pane

b. Use the value of TN_Network_Req_T to set 'providing_service_invariant_uuid' and 'providing_service_uuid' and 'providing_service_name'.

4.Create TN_BH_NSST

Login SDC HOME page with Designer Role, add new service.

1. In the General section, complete all required fields.

  • Suggest 'TN_BH_NSST' as the name to indicate the meaning of the service.
  • Select ‘TN BH NSST’ as Category.
  • Provide 'ONAP_internal' as Service Role

2. In Composition section,search 'TN_Network_Req_AR', drag the element from the Elements palette to the service canvas.

3.In Properties Assignment section, define the following service properties.

4. Distribute the service model and check the results.

5.Create TN_FH_AR(Allotted Resource)

Login SDC HOME page with Designer Role and add VF.

1. In the General section, complete all required fields.

  • Suggest 'TN_FH_AR' as the name to indicate the meaning of the service.
  • Select ‘Allotted Resource’ as Category.
  • Provide 'ONAP' as Vendor Name.
  • Provide '1.0' as Vendor Release.

2. In Composition section,search 'Allotted Resource', drag the element from the Elements palette to the service canvas.

3. In Properties Assignment section, define Service properties.

a. Click 'AllottedResource 0' in the right pane

b. Use the value of TN_Network_Req_T to set 'providing_service_invariant_uuid' and 'providing_service_uuid' and 'providing_service_name'.

6.Create TN_MH_AR(Allotted Resource)

Login SDC HOME page with Designer Role and add VF.

1. In the General section, complete all required fields.

  • Suggest 'TN_MH_AR' as the name to indicate the meaning of the service.
  • Select ‘Allotted Resource’ as Category.
  • Provide 'ONAP' as Vendor Name.
  • Provide '1.0' as Vendor Release.

2. In Composition section,search 'Allotted Resource', drag the element from the Elements palette to the service canvas.

3. In Properties Assignment section, define Service properties.

a. Click 'AllottedResource 0' in the right pane

b. Use the value of TN_Network_Req_T to set 'providing_service_invariant_uuid' and 'providing_service_uuid' and 'providing_service_name'.

7.Create TN_MH_NSST

Login SDC HOME page with Designer Role, add new service.

1. In the General section, complete all required fields.

  • Suggest 'TN_MH_NSST' as the name to indicate the meaning of the service.
  • Select ‘TN MH NSST’ as Category.
  • Provide 'TRANSPORT' as Service Type.
  • Provide 'TN_MH' as Service Role.

2. In Composition section,search 'TN_MH_AR', drag the element from the Elements palette to the service canvas.

8.Create TN_FH_NSST

Login SDC HOME page with Designer Role, add new service.

1. In the General section, complete all required fields.

  • Suggest 'TN_FH_NSST' as the name to indicate the meaning of the service.
  • Select ‘TN FH NSST’ as Category.
  • Provide 'TRANSPORT' as Service Type.
  • Provide 'TN_FH' as Service Role.

2. In Composition section,search 'TN_FH_AR', drag the element from the Elements palette to the service canvas.

9.Create NrtRIC_resource 

Login SDC HOME page with Designer Role, add new VF.

In the General section, complete all required fields.

  • Suggest 'NrtRIC_resource' as the name to indicate the meaning of the service.
  • Select ‘Network Elements’ as Category.
  • Provide '5G RAN' as Vendor Name.
  • Provide '1' as Vendor Release.

2. In Composition section,search 'ExtCP2' from Generic Category, drag the element from the Elements palette to the service canvas.

  • Rename ExtCP2 as 'EP_E2'.

10.Create CUCP_Resource 

Login SDC HOME page with Designer Role, add new VF.

In the General section, complete all required fields.

  • Suggest 'CUCP_Resource' as the name to indicate the meaning of the service.
  • Select ‘Network Elements’ as Category.
  • Provide '5G RAN' as Vendor Name
  • Provide '1' as Vendor Release

2. In Composition section,search 'ExtCP2' from Generic Category, drag the element from the Elements palette to the service canvas.

  • Rename ExtCP2 as 'EP_NG_c'.
  • drag another 'ExtCP2' element from Generic Category and rename ExtCP2 as 'EP_E1'.
  • drag another 'ExtCP2' element from Generic Category and rename ExtCP2 as 'EP_E2'.
  • drag another 'ExtCP2' element from Generic Category and rename ExtCP2 as 'EP_F1C'.

11.Create CUUP_Resource 

Login SDC HOME page with Designer Role, add new VF.

In the General section, complete all required fields.

  • Suggest 'CUUP_Resource' as the name to indicate the meaning of the service.
  • Select ‘Network Elements’ as Category.
  • Provide '5G RAN' as Vendor Name
  • Provide '1' as Vendor Release

2. In Composition section,search 'ExtCP2' from Generic Category, drag the element from the Elements palette to the service canvas.

  • Rename ExtCP2 as 'EP_NG_u'.
  • drag another 'ExtCP2' element from Generic Category and rename ExtCP2 as 'EP_E1'.
  • drag another 'ExtCP2' element from Generic Category and rename ExtCP2 as 'EP_E2'.
  • drag another 'ExtCP2' element from Generic Category and rename ExtCP2 as 'EP_F1U'.

12.Create DU_Resource 

Login SDC HOME page with Designer Role, add new VF.

In the General section, complete all required fields.

  • Suggest 'DU_Resource' as the name to indicate the meaning of the service.
  • Select ‘Network Elements’ as Category.
  • Provide '5G RAN' as Vendor Name
  • Provide '1' as Vendor Release

2. In Composition section,search 'ExtCP2' from Generic Category, drag the element from the Elements palette to the service canvas.

  • Rename ExtCP2 as 'EP_E2'.
  • drag another 'ExtCP2' element from Generic Category and rename ExtCP2 as 'EP_FH'.
  • drag another 'ExtCP2' element from Generic Category and rename ExtCP2 as 'EP_F1C'.
  • drag another 'ExtCP2' element from Generic Category and rename ExtCP2 as 'EP_F1U'.

13.Create RAN_NF Service Template

Login SDC HOME page with Designer Role, add new service.

1. In the General section, complete all required fields.

  • Suggest 'RAN_NF_NSST' as the name to indicate the meaning of the service.
  • Select ‘AN NF NSST’ as Category.
  • Provide 'RAN' as Service Type.
  • Provide 'AN_NF' as Service Role.

2. In Composition section,drag the elements of ‘NrtRIC_resource’,‘CUCP_Resource’,‘CUUP_Resource’, 'DU_Resource' from the Elements palette to the service canvas.

3. In Properties Assignment section,define Service properties.

a. Click 

b. Input name and  select ‘org.openecomp.datatypes.NSSCapabilities’ as type.

4. Distribute the service model and check the results.

14.Create TESTRANTOPNSST(TOP RAN Service Template)

Login SDC HOME page with Designer Role, add new service.

1. In the General section, complete all required fields.

  • Suggest 'TESTRANTOPNSST' as the name to indicate the meaning of the service.
  • Select ‘AN NSST’ as Category.
  • Provide 'RAN' as Service Type.
  • Provide 'ONAP_internal' as Service Role.

2. In Composition section,drag the elements of ‘RAN_NF_NSST’,‘TN_MH_NSST’,‘TN_FH_NSST’ from the Elements palette to the service canvas.

3.In Properties Assignment section,define Service properties.

a. Click 

b. Input name and  select ‘org.openecomp.datatypes.NSSCapabilities’ as type.

4. Distribute the service model and check the results.

15.Create CN_AR(Allotted Resource

Login SDC HOME page with Designer Role and add VF.

1. In the General section, complete all required fields.

  • Select ‘Allotted Resource’ as Category.
  • Provide 'ONAP' as Vendor Name.
  • Provide '1.0' as Vendor Release.

2. In Composition section,search 'Allotted Resource', drag the element from the Elements palette to the service canvas.

3. In Properties Assignment section, define Service properties.

a. Click 'AllottedResource 0' in the right pane

b. Use the value of CN_NSST to set 'providing_service_invariant_uuid' and 'providing_service_uuid' and 'providing_service_name'.

16.Create Tn_BH_AR(Allotted Resource

Login SDC HOME page with Designer Role and add VF.

1. In the General section, complete all required fields.

  • Select ‘Allotted Resource’ as Category.
  • Provide 'ONAP' as Vendor Name.
  • Provide '1.0' as Vendor Release.

2. In Composition section,search 'Allotted Resource', drag the element from the Elements palette to the service canvas.

3. In Properties Assignment section, define Service properties.

a. Click 'AllottedResource 0' in the right pane

b. Use the value of TN_BH_NSST to set 'providing_service_invariant_uuid' and 'providing_service_uuid' and 'providing_service_name'.

17.Create AN_AR(Allotted Resource

Login SDC HOME page with Designer Role and add VF.

1. In the General section, complete all required fields.

  • Select ‘Allotted Resource’ as Category.
  • Provide 'ONAP' as Vendor Name.
  • Provide '1.0' as Vendor Release.

2. In Composition section,search 'Allotted Resource', drag the element from the Elements palette to the service canvas.

3. In Properties Assignment section, define Service properties.

a. Click 'AllottedResource 0' in the right pane

b. Use the value of TESTRANTOPNSST to set 'providing_service_invariant_uuid' and 'providing_service_uuid' and 'providing_service_name'.

18.Create NSTO1 Service Template

Login SDC HOME page with Designer Role, add new service.

1. In the General section, complete all required fields.

  • Suggest 'NSTO1' as the name to indicate the meaning of the service.
  • Select ‘NST’ as Category.
  • Suggest 'ONAP_iternal' as Service Role

2. In Composition section,drag the elements of ‘AN_AR’,‘Tn_BH_AR’,‘CN_AR’ from the Elements palette to the service canvas.

3. In Properties Assignment section, define Service properties.

a. Click 

Add the property "latency" as a separate property of type integer and provide the value as 45

Set property values as shown bellow.

4. Distribute the service model and check the results.

19.Create Slice_AR(Allotted Resource)

Login SDC HOME page with Designer Role and add VF.

1. In the General section, complete all required fields.

  • Suggest 'Slice_AR' as the name to indicate the meaning of the service.
  • Select ‘Allotted Resource’ as Category.

2. In Composition section,search 'Allotted Resource', drag the element from the Elements palette to the service canvas.

3. In Properties Assignment section, define Service properties.

a. Click 'AllottedResource 0' in the right pane

b. Select 'providing_service_invariant_uuid' and 'providing_service_uuid' and click Declare Input.

20.Create TN_SliceProfile Service Template

Login SDC HOME page with Designer Role, add new service.

1. In the General section, complete all required fields.

  • Suggest 'TN_SliceProfile' as the name to indicate the meaning of the service.
  • Select ‘TN SliceProfile’ as Category.

2. In Composition section,search 'Slice_AR', drag the element from the Elements palette to the service canvas.

3. In Properties Assignment section,define Service properties.

a. Add some properties as the picture shown bellow.

b. Select all properties and click Declare Input.

c. Click 'Slice_AR 0'in the right pane

d. Select 'allottedresource0_providing_service_invariant_uuid' and 'allottedresource0_providing_service_uuid' and click Declare Input.

4. Distribute the service model and check the results.

21.Create CN_SliceProfile Service Template

Login SDC HOME page with Designer Role, add new service.

1. In the General section, complete all required fields.

  • Suggest 'CN_SliceProfile' as the name to indicate the meaning of the service.
  • Select ‘CN SliceProfile’ as Category.

2. In Composition section,search 'Slice_AR', drag the element from the Elements palette to the service canvas.

3. Properties Assignment section, define Service properties.

a. Click 

b. Input name and  select ‘org.openecomp.datatypes.SliceProfile’ as type.

c.  Add some properties as shown bellow.

d. Select all properties and click Declare Input(For the sliceprofile type, select all attributes

e. Click 'Slice_AR 0'in the right pane

f. Select 'allottedresource0_providing_service_invariant_uuid' and 'allottedresource0_providing_service_uuid' and click Declare Input.

4. Distribute the service model and check the results.

22.Create SliceProfile_AN_NF_O1 Service Template

Login SDC HOME page with Designer Role, add new service.

1. In the General section, complete all required fields.

  • Suggest 'SliceProfile_AN_NF_O1' as the name to indicate the meaning of the service.
  • Select ‘AN NF SliceProfile’ as Category.

2. In Composition section,search 'Slice_AR', drag the element from the Elements palette to the service canvas.

3. In Properties Assignment section,define Service properties.

a. Click 

b. Input name and  select ‘org.openecomp.datatypes.SliceProfile’ as type.

c.  Add some properties as shown bellow.

d. Select all properties and click Declare Input(For the sliceprofile type, select all attributes

e. Click 'Slice_AR 0'in the right pane

f. Select 'allottedresource0_providing_service_invariant_uuid' and 'allottedresource0_providing_service_uuid' and click Declare Input.

4. Distribute the service model and check the results.

23.Create SliceProfile_AN_O1 Service Template

Login SDC HOME page with Designer Role, add new service.

1. In the General section, complete all required fields.

  • Suggest 'SliceProfile_AN_O1' as the name to indicate the meaning of the service.
  • Select ‘AN SliceProfile’ as Category.

2. In Composition section,drag the elements of ‘SliceProfile_AN_NF_O1’,‘TN_SliceProfile’ from the Elements palette to the service canvas.

24.Create ServiceProfile_O1 Service Template

Login SDC HOME page with Designer Role, add new service.

1. In the General section, complete all required fields.

  • Suggest 'ServiceProfile_O1' as the name to indicate the meaning of the service.
  • Select ‘ServiceProfile’ as Category.

2. In Composition section,search 'Slice_AR', ’SliceProfile_CN‘,‘SliceProfile_AN_O1’,‘SliceProfile_TN’,drag the element from the Elements palette to the service canvas.

3. In Properties Assignment section,define Service properties.

a. Click 

b. Input name and  select ‘org.openecomp.datatypes.ServiceProfile’ as type.

c. Select some attributes of  ServiceProfile as bellow picture shows and click Declare Input .

d. Add input for activityFactor param with a value(i.e. 20)

4. Distribute the service model and check the results.

25.Create CST_O1 Service Template

Login SDC HOME page with Designer Role, add new service.

1. In the General section, complete all required fields.

  • Suggest 'CST_O1' as the name to indicate the meaning of the service.
  • Select ‘CST’ as Category.
  • Fill in the "Service Type" field with the value "embb"

2. In Composition section,search 'ServiceProfile_O2', drag the element from the Elements palette to the service canvas.

3. In Properties Assignment section,define Service properties.

a. Click 

b. Input name and  select ‘org.openecomp.datatypes.CSProperties’ as type.

c. Select all attributes of  ServiceProfile except 'sNSSAI' and click Declare Input .

4. Distribute the service model and check the results.

A&AI Configuration:

If the service distribution to A&AI failed, like the picture shows bellow:

Add 'ServiceProfile' and 'NSTAR' model to A&AI through postman.(ServiceProfile/NSTAR Model Id and Invariant Id can be find on SDC page.)

  •  model-invariant-id is SERVICE_INVARIANT_ID
  • model-version-id is SERVICE_MODEL_UUID
  • model-type is SERVICE_TYPE
  • model-name is SERVICE_NAME


curl --user AAI:AAI -X PUT -H "X-FromAppId:AAI" -H "X-TransactionId:get_aai_subscr" -H "Accept:application/json" -H "Content-Type:application/json" -k "https://{worker-vm-ip}:30233/aai/v21/service-design-and-creation/models/model/bfd35bbf-4469-44d2-aa13-eb531b2d4e7a" -d '{
"model-invariant-id": "bfd35bbf-4469-44d2-aa13-eb531b2d4e7a",
"model-type": "Service",
"model-vers": {
"model-ver": [
{
"model-version-id": "fd4ca61e-2147-4693-ad2c-2786889b51a5",
"model-name": "NSTO1",
"model-version": "1.0"
}
]
}
}'

NOTE: If any service template composed of Allotted Resource(AR) fails to distribute in AAI, then add created Allotted Resource Configuration to AAI as given above.


This page mainly describes the template design steps of option1  for the E2E Network Slicing use case for Guilin release.

Template design for Option1 is as folllows:

Sample Service Templates for Option 1:

Create Service Category

Login SDC HOME page with Admin Role,create the following categories:

CST,ServiceProfile,AN SliceProfile,AN NF Slice Profile,  CN SliceProfile,TN SliceProfile,NST, TN BH NSST,   TN MH NSST,  TN FH NSST,  TN Network Requirement,AN NF NSST,CN NSST, AN NSST.

1.Create CN_NSST 

Login SDC HOME page with Designer Role, add new service.

1. In the General section, complete all required fields.

  • Suggest 'CN_NSST' as the name to indicate the meaning of the service.
  • Select ‘CN NSST’ as Category.
  • Provide 'ONAP_internal' as Service Role

2. NSST should be composed of network service(NS).  For NS helm artifacts, CBA package and other design time activities, please follow below link:

    https://wiki.onap.org/display/DW/5GC+Instantiation+and+Modify+Config+flow+through+CDS

3. In Composition section, drag the elements of ‘Fiveg’(NS) from the Elements palette to the service canvas.

4. In Properties Assignment section,define Service properties.

a. Click 

b. Input name and  select ‘org.openecomp.datatypes.NSSCapabilities’ as type.

c. Set property values as shown bellow.

2.Create TN_Network_Req_T

Login SDC HOME page with Designer Role, add new service.

1. In the General section, complete all required fields.

  • Suggest 'TN_Network_Req_T' as the name to indicate the meaning of the service.
  • Select ‘TN Network Requirement’ as Category.
  • Provide 'ONAP_internal' as Service Role

2. In Properties Assignment section, define the following service properties.

3. Distribute the service model and check the results.

3.Create TN_Network_Req_AR(Allotted Resource)

Login SDC HOME page with Designer Role and add VF.

1. In the General section, complete all required fields.

  • Suggest 'TN_Network_Req_AR' as the name to indicate the meaning of the service.
  • Select ‘Allotted Resource’ as Category.
  • Provide 'ONAP' as Vendor Name.
  • Provide '1.0' as Vendor Release.

2. In Composition section,search 'Allotted Resource', drag the element from the Elements palette to the service canvas.

3. In Properties Assignment section, define Service properties.

a. Click 'AllottedResource 0' in the right pane

b. Use the value of TN_Network_Req_T to set 'providing_service_invariant_uuid' and 'providing_service_uuid' and 'providing_service_name'.

4.Create TN_BH_NSST

Login SDC HOME page with Designer Role, add new service.

1. In the General section, complete all required fields.

  • Suggest 'TN_BH_NSST' as the name to indicate the meaning of the service.
  • Select ‘TN BH NSST’ as Category.
  • Provide 'ONAP_internal' as Service Role

2. In Composition section,search 'TN_Network_Req_AR', drag the element from the Elements palette to the service canvas.

3.In Properties Assignment section, define the following service properties.

4. Distribute the service model and check the results.

5.Create TN_FH_AR(Allotted Resource)

Login SDC HOME page with Designer Role and add VF.

1. In the General section, complete all required fields.

  • Suggest 'TN_FH_AR' as the name to indicate the meaning of the service.
  • Select ‘Allotted Resource’ as Category.
  • Provide 'ONAP' as Vendor Name.
  • Provide '1.0' as Vendor Release.

2. In Composition section,search 'Allotted Resource', drag the element from the Elements palette to the service canvas.

3. In Properties Assignment section, define Service properties.

a. Click 'AllottedResource 0' in the right pane

b. Use the value of TN_Network_Req_T to set 'providing_service_invariant_uuid' and 'providing_service_uuid' and 'providing_service_name'.

6.Create TN_MH_AR(Allotted Resource)

Login SDC HOME page with Designer Role and add VF.

1. In the General section, complete all required fields.

  • Suggest 'TN_MH_AR' as the name to indicate the meaning of the service.
  • Select ‘Allotted Resource’ as Category.
  • Provide 'ONAP' as Vendor Name.
  • Provide '1.0' as Vendor Release.

2. In Composition section,search 'Allotted Resource', drag the element from the Elements palette to the service canvas.

3. In Properties Assignment section, define Service properties.

a. Click 'AllottedResource 0' in the right pane

b. Use the value of TN_Network_Req_T to set 'providing_service_invariant_uuid' and 'providing_service_uuid' and 'providing_service_name'.

7.Create TN_MH_NSST

Login SDC HOME page with Designer Role, add new service.

1. In the General section, complete all required fields.

  • Suggest 'TN_MH_NSST' as the name to indicate the meaning of the service.
  • Select ‘TN MH NSST’ as Category.
  • Provide 'TRANSPORT' as Service Type.
  • Provide 'TN_MH' as Service Role.

2. In Composition section,search 'TN_MH_AR', drag the element from the Elements palette to the service canvas.

8.Create TN_FH_NSST

Login SDC HOME page with Designer Role, add new service.

1. In the General section, complete all required fields.

  • Suggest 'TN_FH_NSST' as the name to indicate the meaning of the service.
  • Select ‘TN FH NSST’ as Category.
  • Provide 'TRANSPORT' as Service Type.
  • Provide 'TN_FH' as Service Role.

2. In Composition section,search 'TN_FH_AR', drag the element from the Elements palette to the service canvas.

9.Create NrtRIC_resource 

Login SDC HOME page with Designer Role, add new VF.

In the General section, complete all required fields.

  • Suggest 'NrtRIC_resource' as the name to indicate the meaning of the service.
  • Select ‘Network Elements’ as Category.
  • Provide '5G RAN' as Vendor Name.
  • Provide '1' as Vendor Release.

2. In Composition section,search 'ExtCP2' from Generic Category, drag the element from the Elements palette to the service canvas.

  • Rename ExtCP2 as 'EP_E2'.

10.Create CUCP_Resource 

Login SDC HOME page with Designer Role, add new VF.

In the General section, complete all required fields.

  • Suggest 'CUCP_Resource' as the name to indicate the meaning of the service.
  • Select ‘Network Elements’ as Category.
  • Provide '5G RAN' as Vendor Name
  • Provide '1' as Vendor Release

2. In Composition section,search 'ExtCP2' from Generic Category, drag the element from the Elements palette to the service canvas.

  • Rename ExtCP2 as 'EP_NG_c'.
  • drag another 'ExtCP2' element from Generic Category and rename ExtCP2 as 'EP_E1'.
  • drag another 'ExtCP2' element from Generic Category and rename ExtCP2 as 'EP_E2'.
  • drag another 'ExtCP2' element from Generic Category and rename ExtCP2 as 'EP_F1C'.

11.Create CUUP_Resource 

Login SDC HOME page with Designer Role, add new VF.

In the General section, complete all required fields.

  • Suggest 'CUUP_Resource' as the name to indicate the meaning of the service.
  • Select ‘Network Elements’ as Category.
  • Provide '5G RAN' as Vendor Name
  • Provide '1' as Vendor Release

2. In Composition section,search 'ExtCP2' from Generic Category, drag the element from the Elements palette to the service canvas.

  • Rename ExtCP2 as 'EP_NG_u'.
  • drag another 'ExtCP2' element from Generic Category and rename ExtCP2 as 'EP_E1'.
  • drag another 'ExtCP2' element from Generic Category and rename ExtCP2 as 'EP_E2'.
  • drag another 'ExtCP2' element from Generic Category and rename ExtCP2 as 'EP_F1U'.

12.Create DU_Resource 

Login SDC HOME page with Designer Role, add new VF.

In the General section, complete all required fields.

  • Suggest 'DU_Resource' as the name to indicate the meaning of the service.
  • Select ‘Network Elements’ as Category.
  • Provide '5G RAN' as Vendor Name
  • Provide '1' as Vendor Release

2. In Composition section,search 'ExtCP2' from Generic Category, drag the element from the Elements palette to the service canvas.

  • Rename ExtCP2 as 'EP_E2'.
  • drag another 'ExtCP2' element from Generic Category and rename ExtCP2 as 'EP_FH'.
  • drag another 'ExtCP2' element from Generic Category and rename ExtCP2 as 'EP_F1C'.
  • drag another 'ExtCP2' element from Generic Category and rename ExtCP2 as 'EP_F1U'.

13.Create RAN_NF Service Template

Login SDC HOME page with Designer Role, add new service.

1. In the General section, complete all required fields.

  • Suggest 'RAN_NF_NSST' as the name to indicate the meaning of the service.
  • Select ‘AN NF NSST’ as Category.
  • Provide 'RAN' as Service Type.
  • Provide 'AN_NF' as Service Role.

2. In Composition section,drag the elements of ‘NrtRIC_resource’,‘CUCP_Resource’,‘CUUP_Resource’, 'DU_Resource' from the Elements palette to the service canvas.

3. In Properties Assignment section,define Service properties.

a. Click 

b. Input name and  select ‘org.openecomp.datatypes.NSSCapabilities’ as type.

4. Distribute the service model and check the results.

14.Create TESTRANTOPNSST(TOP RAN Service Template)

Login SDC HOME page with Designer Role, add new service.

1. In the General section, complete all required fields.

  • Suggest 'TESTRANTOPNSST' as the name to indicate the meaning of the service.
  • Select ‘AN NSST’ as Category.
  • Provide 'RAN' as Service Type.
  • Provide 'ONAP_internal' as Service Role.

2. In Composition section,drag the elements of ‘RAN_NF_NSST’,‘TN_MH_NSST’,‘TN_FH_NSST’ from the Elements palette to the service canvas.

3.In Properties Assignment section,define Service properties.

a. Click 

b. Input name and  select ‘org.openecomp.datatypes.NSSCapabilities’ as type.

4. Distribute the service model and check the results.

15.Create CN_AR(Allotted Resource

Login SDC HOME page with Designer Role and add VF.

1. In the General section, complete all required fields.

  • Select ‘Allotted Resource’ as Category.
  • Provide 'ONAP' as Vendor Name.
  • Provide '1.0' as Vendor Release.

2. In Composition section,search 'Allotted Resource', drag the element from the Elements palette to the service canvas.

3. In Properties Assignment section, define Service properties.

a. Click 'AllottedResource 0' in the right pane

b. Use the value of CN_NSST to set 'providing_service_invariant_uuid' and 'providing_service_uuid' and 'providing_service_name'.

16.Create Tn_BH_AR(Allotted Resource

Login SDC HOME page with Designer Role and add VF.

1. In the General section, complete all required fields.

  • Select ‘Allotted Resource’ as Category.
  • Provide 'ONAP' as Vendor Name.
  • Provide '1.0' as Vendor Release.

2. In Composition section,search 'Allotted Resource', drag the element from the Elements palette to the service canvas.

3. In Properties Assignment section, define Service properties.

a. Click 'AllottedResource 0' in the right pane

b. Use the value of TN_BH_NSST to set 'providing_service_invariant_uuid' and 'providing_service_uuid' and 'providing_service_name'.

17.Create AN_AR(Allotted Resource

Login SDC HOME page with Designer Role and add VF.

1. In the General section, complete all required fields.

  • Select ‘Allotted Resource’ as Category.
  • Provide 'ONAP' as Vendor Name.
  • Provide '1.0' as Vendor Release.

2. In Composition section,search 'Allotted Resource', drag the element from the Elements palette to the service canvas.

3. In Properties Assignment section, define Service properties.

a. Click 'AllottedResource 0' in the right pane

b. Use the value of TESTRANTOPNSST to set 'providing_service_invariant_uuid' and 'providing_service_uuid' and 'providing_service_name'.

18.Create NSTO1 Service Template

Login SDC HOME page with Designer Role, add new service.

1. In the General section, complete all required fields.

  • Suggest 'NSTO1' as the name to indicate the meaning of the service.
  • Select ‘NST’ as Category.
  • Suggest 'ONAP_iternal' as Service Role

2. In Composition section,drag the elements of ‘AN_AR’,‘Tn_BH_AR’,‘CN_AR’ from the Elements palette to the service canvas.

3. In Properties Assignment section, define Service properties.

a. Click 

Add the property "latency" as a separate property of type integer and provide the value as 45

Set property values as shown bellow.

4. Distribute the service model and check the results.

19.Create Slice_AR(Allotted Resource)

Login SDC HOME page with Designer Role and add VF.

1. In the General section, complete all required fields.

  • Suggest 'Slice_AR' as the name to indicate the meaning of the service.
  • Select ‘Allotted Resource’ as Category.

2. In Composition section,search 'Allotted Resource', drag the element from the Elements palette to the service canvas.

3. In Properties Assignment section, define Service properties.

a. Click 'AllottedResource 0' in the right pane

b. Select 'providing_service_invariant_uuid' and 'providing_service_uuid' and click Declare Input.

20.Create TN_SliceProfile Service Template

Login SDC HOME page with Designer Role, add new service.

1. In the General section, complete all required fields.

  • Suggest 'TN_SliceProfile' as the name to indicate the meaning of the service.
  • Select ‘TN SliceProfile’ as Category.

2. In Composition section,search 'Slice_AR', drag the element from the Elements palette to the service canvas.

3. In Properties Assignment section,define Service properties.

a. Add some properties as the picture shown bellow.

b. Select all properties and click Declare Input.

c. Click 'Slice_AR 0'in the right pane

d. Select 'allottedresource0_providing_service_invariant_uuid' and 'allottedresource0_providing_service_uuid' and click Declare Input.

4. Distribute the service model and check the results.

21.Create CN_SliceProfile Service Template

Login SDC HOME page with Designer Role, add new service.

1. In the General section, complete all required fields.

  • Suggest 'CN_SliceProfile' as the name to indicate the meaning of the service.
  • Select ‘CN SliceProfile’ as Category.

2. In Composition section,search 'Slice_AR', drag the element from the Elements palette to the service canvas.

3. Properties Assignment section, define Service properties.

a. Click 

b. Input name and  select ‘org.openecomp.datatypes.SliceProfile’ as type.

c.  Add some properties as shown bellow.

d. Select all properties and click Declare Input(For the sliceprofile type, select all attributes

e. Click 'Slice_AR 0'in the right pane

f. Select 'allottedresource0_providing_service_invariant_uuid' and 'allottedresource0_providing_service_uuid' and click Declare Input.

4. Distribute the service model and check the results.

22.Create SliceProfile_AN_NF_O1 Service Template

Login SDC HOME page with Designer Role, add new service.

1. In the General section, complete all required fields.

  • Suggest 'SliceProfile_AN_NF_O1' as the name to indicate the meaning of the service.
  • Select ‘AN NF SliceProfile’ as Category.

2. In Composition section,search 'Slice_AR', drag the element from the Elements palette to the service canvas.

3. In Properties Assignment section,define Service properties.

a. Click 

b. Input name and  select ‘org.openecomp.datatypes.SliceProfile’ as type.

c.  Add some properties as shown bellow.

d. Select all properties and click Declare Input(For the sliceprofile type, select all attributes

e. Click 'Slice_AR 0'in the right pane

f. Select 'allottedresource0_providing_service_invariant_uuid' and 'allottedresource0_providing_service_uuid' and click Declare Input.

4. Distribute the service model and check the results.

23.Create SliceProfile_AN_O1 Service Template

Login SDC HOME page with Designer Role, add new service.

1. In the General section, complete all required fields.

  • Suggest 'SliceProfile_AN_O1' as the name to indicate the meaning of the service.
  • Select ‘AN SliceProfile’ as Category.

2. In Composition section,drag the elements of ‘SliceProfile_AN_NF_O1’,‘TN_SliceProfile’ from the Elements palette to the service canvas.

24.Create ServiceProfile_O1 Service Template

Login SDC HOME page with Designer Role, add new service.

1. In the General section, complete all required fields.

  • Suggest 'ServiceProfile_O1' as the name to indicate the meaning of the service.
  • Select ‘ServiceProfile’ as Category.

2. In Composition section,search 'Slice_AR', ’SliceProfile_CN‘,‘SliceProfile_AN_O1’,‘SliceProfile_TN’,drag the element from the Elements palette to the service canvas.

3. In Properties Assignment section,define Service properties.

a. Click 

b. Input name and  select ‘org.openecomp.datatypes.ServiceProfile’ as type.

c. Select some attributes of  ServiceProfile as bellow picture shows and click Declare Input .

d. Add input for activityFactor param with a value(i.e. 20)

4. Distribute the service model and check the results.

25.Create CST_O1 Service Template

Login SDC HOME page with Designer Role, add new service.

1. In the General section, complete all required fields.

  • Suggest 'CST_O1' as the name to indicate the meaning of the service.
  • Select ‘CST’ as Category.
  • Fill in the "Service Type" field with the value "embb"

2. In Composition section,search 'ServiceProfile_O2', drag the element from the Elements palette to the service canvas.

3. In Properties Assignment section,define Service properties.

a. Click 

b. Input name and  select ‘org.openecomp.datatypes.CSProperties’ as type.

c. Select all attributes of  ServiceProfile except 'sNSSAI' and click Declare Input .

4. Distribute the service model and check the results.

A&AI Configuration:

If the service distribution to A&AI failed, like the picture shows bellow:

Add 'ServiceProfile' and 'NSTAR' model to A&AI through postman.(ServiceProfile/NSTAR Model Id and Invariant Id can be find on SDC page.)

  •  model-invariant-id is SERVICE_INVARIANT_ID
  • model-version-id is SERVICE_MODEL_UUID
  • model-type is SERVICE_TYPE
  • model-name is SERVICE_NAME


curl --user AAI:AAI -X PUT -H "X-FromAppId:AAI" -H "X-TransactionId:get_aai_subscr" -H "Accept:application/json" -H "Content-Type:application/json" -k "https://{worker-vm-ip}:30233/aai/v21/service-design-and-creation/models/model/bfd35bbf-4469-44d2-aa13-eb531b2d4e7a" -d '{
"model-invariant-id": "bfd35bbf-4469-44d2-aa13-eb531b2d4e7a",
"model-type": "Service",
"model-vers": {
"model-ver": [
{
"model-version-id": "fd4ca61e-2147-4693-ad2c-2786889b51a5",
"model-name": "NSTO1",
"model-version": "1.0"
}
]
}
}'

NOTE: If any service template composed of Allotted Resource(AR) fails to distribute in AAI, then add created Allotted Resource Configuration to AAI as given above.


  • No labels