Template Design for Option2
This page mainly describes the template design steps of option2 for the E2E Network Slicing use case for Guilin release.
Details of the Frankfurt Template design can be found at Design Service Templates.
Details of G release model design principle, background and structure can be found at Modeling enhancements.
Details of Runtime AAI model design can be found at A&AI Instance Modeling in Guilin.
Goal: Design all templates of option2 for 5G E2E Network Slicing Use Case, which are enhanced version based on Frankfurt release.
Tool: SDC(image version:1.7.1)
The template structure is as follows:
Design steps:
- 1 0.Create Service Category
- 2 1.Create TN_Network_Requirement Service Template(New in G release)
- 3 2.Create TN_Network_Req_AR(Allotted Resource,New in G release)
- 4 3.Create Tn_ONAP_internal_BH Service Template(New in G release)
- 5 4.Create EmbbAn_NF Service Template(New in G release)
- 6 5.Create EmbbCn_External Service Template
- 7 6.Create Tn_BH_AR(Allotted Resource,New in G release)
- 8 7.Create EmbbAn_NF_AR(Allotted Resource,New in G release)
- 9 8.EmbbCn_External_AR(Allotted Resource,New in G release)
- 10 9.Create EmbbNst_O2 Service Template
- 11 10.Create Slice_AR(Allotted Resource)
- 12 11.Create SliceProfile_AN_O2 Service Template(New in G release)
- 13 12.Create SliceProfile_TN Service Template(New in G release)
- 14 13.Create SliceProfile_CN Service Template(New in G release)
- 15 14.Create ServiceProfile_O2 Service Template
- 16 15.Create CST_O2 Service Template
- 17 Template Design Video
Sample of Service Templates :
0.Create Service Category
Login SDC HOME page with Admin Role,create the following categories:
CST,ServiceProfile,AN SliceProfile,CN SliceProfile,TN SliceProfile,NST, TN BH NSST,TN Network Requirement,AN NF NSST,CN NSST.
1.Create TN_Network_Requirement Service Template(New in G release)
Login SDC HOME page with Designer Role, add new service.
1. In the General section, complete all required fields.
Suggest 'TN_Network_Requirement' as the name to indicate the meaning of the service.
Select ‘TN Network Requirement’ as Category.
2. In Properties Assignment section, define the following service properties.
3. Distribute the service model and check the results.
2.Create TN_Network_Req_AR(Allotted Resource,New in G release)
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.
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_Requirement to set 'providing_service_invariant_uuid' and 'providing_service_uuid' and 'providing_service_name'.
3.Create Tn_ONAP_internal_BH Service Template(New in G release)
Login SDC HOME page with Designer Role, add new service.
1. In the General section, complete all required fields.
Suggest 'Tn_ONAP_internal_BH' as the name to indicate the meaning of the service.
Select ‘TN BH NSST’ as Category.
Input '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.
4.Create EmbbAn_NF Service Template(New in G release)
Login SDC HOME page with Designer Role, add new service.
1. In the General section, complete all required fields.
Suggest 'EmbbAn_NF' as the name to indicate the meaning of the service.
Select ‘AN NF NSST’ as Category.
Input 'embb' as ServiceType'
Input 'huawei' as ServiceRole
2. In Properties Assignment section,define Service properties.
a. Click
b. Input name and select ‘org.openecomp.datatypes.NSSCapabilities’ as type.
3. Distribute the service model and check the results.
5.Create EmbbCn_External Service Template
Login SDC HOME page with Designer Role, add new service.
1. In the General section, complete all required fields.
Suggest 'EmbbCn_External' as the name to indicate the meaning of the service.
Select ‘CN NSST’ as Category.
Input 'embb' as ServiceType'
Input 'huawei' as ServiceRole
2. In Composition section, add artifacts at the service level:
a. Click an empty area in the canvas and click Deployment Artifacts (right pane).
b. Click
c. Click Browse, upload the file provided bellow.
d. Select ’WORKFLOW‘ as type because SDC doesn't provide type extension and the ‘Ohter’ type is deleted in the latest version.
3. 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.
4. Distribute the service model and check the results.
6.Create Tn_BH_AR(Allotted Resource,New in G release)
Login SDC HOME page with Designer Role and add VF.
1. In the General section, complete all required fields.
Suggest 'Tn_BH_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. Use the value of Tn_ONAP_internal_BH to set 'providing_service_invariant_uuid' and 'providing_service_uuid' and 'providing_service_name'.
7.Create EmbbAn_NF_AR(Allotted Resource,New in G release)
Login SDC HOME page with Designer Role and add VF.
1. In the General section, complete all required fields.
Suggest 'EmbbAn_NF_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. Use the value of EmbbAn_NF to set 'providing_service_invariant_uuid' and 'providing_service_uuid' and 'providing_service_name'.
8.EmbbCn_External_AR(Allotted Resource,New in G release)
Login SDC HOME page with Designer Role and add VF.
1. In the General section, complete all required fields.
Suggest 'EmbbCn_External_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. Use the value of EmbbCn_External to set 'providing_service_invariant_uuid' and 'providing_service_uuid' and 'providing_service_name'.
9.Create EmbbNst_O2 Service Template
Login SDC HOME page with Designer Role, add new service.
1. In the General section, complete all required fields.
Suggest 'EmbbNst_O2' as the name to indicate the meaning of the service.
Select ‘NST’ as Category.
Input 'option2' as ServiceRole
2. In Composition section,drag the elements of ‘EmbbCn_External_AR’,‘EmbbAn_NF_AR’,‘Tn_BH_AR’ 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.NSCapabilities’ as type.
c. Set property values as shown bellow.
4. Distribute the service model and check the results.
10.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.
11.Create SliceProfile_AN_O2 Service Template(New in G release)
Login SDC HOME page with Designer Role, add new service.
1. In the General section, complete all required fields.
Suggest 'SliceProfile_AN_O2' as the name to indicate the meaning of the service.
Select ‘AN 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.
12.Create SliceProfile_TN Service Template(New in G release)
Login SDC HOME page with Designer Role, add new service.
1. In the General section, complete all required fields.
Suggest 'SliceProfile_TN' 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.
13.Create SliceProfile_CN Service Template(New in G release)
Login SDC HOME page with Designer Role, add new service.
1. In the General section, complete all required fields.
Suggest 'SliceProfile_CN' 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.
14.Create ServiceProfile_O2 Service Template
Login SDC HOME page with Designer Role, add new service.
1. In the General section, complete all required fields.
Suggest 'ServiceProfile_O2' as the name to indicate the meaning of the service.
Select ‘ServiceProfile’ as Category.
Input 'option2' as ServiceRole
2. In Composition section,search 'Slice_AR', ’SliceProfile_CN‘,‘SliceProfile_AN_O2’,‘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. Click 'Slice_AR 0'in the right pane
e. Select 'allottedresource0_providing_service_invariant_uuid' and 'allottedresource0_providing_service_uuid' and click Declare Input.
4. Distribute the service model and check the results.
15.Create CST_O2 Service Template
Login SDC HOME page with Designer Role, add new service.
1. In the General section, complete all required fields.
Suggest 'CST_O2' as the name to indicate the meaning of the service.
Select ‘CST’ as Category.
Input 'option2' as ServiceRole
Input 'embb' as ServiceType'
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.