Versions Compared

Key

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

...

View file
nameR7 Option 1 Templates.zip
height150

Table of Contents
indentDesign Steps

Create Service Category

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

...

4. Distribute the service model and check the results.

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

Image Modified

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

Image Modified

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.

15.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 Image Modified

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

c.  Add some properties as shown bellow.

Image Modified

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.

16.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 Image Modified

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

c.  Add some properties as shown bellow.

Image Modified

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

Image Modified

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.

Image Modified

4. Distribute the service model and check the results.

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

17.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 Image Modified

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 .

Image Modified

4. Distribute the service model and check the results.

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

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 Image Modified

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

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

Image Modified

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:

Image Modified

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


Code Block
languagebash
themeEmacs
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"
}
]
}
}'

...