Test Lab: DT Lab

Legend:

NOT STARTED IN PROGRESS DEFERRED COMPLETED

Support 3GPP 28.532 APIs for slicing use case

JIRA: REQ-1478 - Getting issue details... STATUS
Create Slice Profile

Test Case NoTest CaseDescriptionPriorityDependency/IssueTesterStatusRemarksTest Details
CREATE-SP-01createMOI operation is triggered by MDO
Scenario: Shared Slice 
  1. Check NSSI id in AAI , NSSI id does not exists
  2. Trigger OOF to get NSST solution
  3. Using that NSST create new NSSI service instance in AAI
  4. create allotted-resource
  5. create slice-profile service instance in AAI
  6. Add allotted-resource in slice-profile service instance
  7. Set an relationship of slice-profile service instance and NSSI service instance
  8. Trigger CDS api to create slice
1

NSSI id received from MDO does not exist in AAI 


COMPLETED

URL:  http://{{k8s}}:30277/onap/so/infra/moi/api/rest/v1/NetworkSliceSubnet/ciena-ran-nssi-1110

Method: PUT

Sample request for SHARED scenario
{
    "attributes": {
        "sliceProfileList": [{
            "plmnInfoList": [{
                "plmnId": {
                    "mcc": 354,
                    "mnc": 77
                },
                "snssai": {
                    "sst": "002",
                    "sd": "500"
                }
            }],
            "RANSliceSubnetProfile": {
                "coverageAreaTAList": 999,
                "latency": 20,
                "areaTrafficCapDL": 800,
                "resourceSharingLevel": "SHARED",
                "serviceType": "eMBB",
                "maxNumberofUEs": 2000
            }
        }]
    }
}
Create MOI Request
curl --location --request PUT 'http://127.0.0.1:30277/onap/so/infra/moi/api/rest/v1/NetworkSliceSubnet/ciena-ran-nssi-1110' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic SW5mcmFQb3J0YWxDbGllbnQ6cGFzc3dvcmQxJA==' \
--header 'X-Fromappid: SO' \
--data-raw '{
    "attributes": {
        "sliceProfileList": [{
            "plmnInfoList": [{
                "plmnId": {
                    "mcc": 111,
                    "mnc": 222
                },
                "snssai": {
                    "sst": "01",
                    "sd": "XBGTDM"
                }
            }],
            "RANSliceSubnetProfile": {
                "coverageAreaTAList": 999,
                "latency": 20,
                "areaTrafficCapDL": 800,
                "resourceSharingLevel": "SHARED",
                "serviceType": "eMBB",
                "maxNumberofUEs": 2000
            }
        }]
    }
}'
NSSI created in AAI
{
    "service-instance-id": "ciena-ran-nssi-1110",
    "service-instance-name": "ran_ciena-ran-nssi-1110",
    "service-type": "nssi",
    "model-invariant-id": "317dd757-3459-42bd-86f1-9fc458fac5a2",
    "model-version-id": "f5ec1d82-46e9-44a9-a098-352f740934fb",
    "resource-version": "1665477239741",
    "orchestration-status": "Active",
    "relationship-list": {
        "relationship": [
            {
                "related-to": "allotted-resource",
                "relationship-label": "org.onap.relationships.inventory.Uses",
                "related-link": "/aai/v24/business/customers/customer/5GCustomer/service-subscriptions/service-subscription/5G/service-instances/service-instance/2ee4e858-6f51-4963-8250-a978a39af1cb/allotted-resources/allotted-resource/b6a52801-fc37-476b-998d-6a38c50b639d",
                "relationship-data": [
                    {
                        "relationship-key": "customer.global-customer-id",
                        "relationship-value": "5GCustomer"
                    },
                    {
                        "relationship-key": "service-subscription.service-type",
                        "relationship-value": "5G"
                    },
                    {
                        "relationship-key": "service-instance.service-instance-id",
                        "relationship-value": "2ee4e858-6f51-4963-8250-a978a39af1cb"
                    },
                    {
                        "relationship-key": "allotted-resource.id",
                        "relationship-value": "b6a52801-fc37-476b-998d-6a38c50b639d"
                    }
                ],
                "related-to-property": [
                    {
                        "property-key": "allotted-resource.description"
                    },
                    {
                        "property-key": "allotted-resource.allotted-resource-name"
                    }
                ]
            }
        ]
    },
    "operational-status": "UNLOCKED"
}
Slice Profile created for NSSI
{
    "service-instance-id": "2ee4e858-6f51-4963-8250-a978a39af1cb",
    "service-instance-name": "slice-profile-ciena-ran-nssi-1110",
    "service-type": "eMBB",
    "service-role": "slice-profile",
    "environment-context": "01-XBGTDM",
    "service-instance-location-id": "111-222",
    "resource-version": "1665477240004",
    "orchestration-status": "ACTIVE",
    "allotted-resources": {
        "allotted-resource": [
            {
                "id": "b6a52801-fc37-476b-998d-6a38c50b639d",
                "resource-version": "1665477170597",
                "relationship-list": {
                    "relationship": [
                        {
                            "related-to": "service-instance",
                            "relationship-label": "org.onap.relationships.inventory.Uses",
                            "related-link": "/aai/v24/business/customers/customer/5GCustomer/service-subscriptions/service-subscription/5G/service-instances/service-instance/ciena-ran-nssi-1110",
                            "relationship-data": [
                                {
                                    "relationship-key": "customer.global-customer-id",
                                    "relationship-value": "5GCustomer"
                                },
                                {
                                    "relationship-key": "service-subscription.service-type",
                                    "relationship-value": "5G"
                                },
                                {
                                    "relationship-key": "service-instance.service-instance-id",
                                    "relationship-value": "ciena-ran-nssi-1110"
                                }
                            ],
                            "related-to-property": [
                                {
                                    "property-key": "service-instance.service-instance-name",
                                    "property-value": "ran_ciena-ran-nssi-1110"
                                }
                            ]
                        }
                    ]
                }
            }
        ]
    },
    "slice-profiles": {
        "slice-profile": [
            {
                "profile-id": "cf09cd0c-d786-45ad-a47f-fcfc811e6f67",
                "latency": 20,
                "max-number-of-UEs": 2000,
                "coverage-area-TA-list": "999",
                "resource-sharing-level": "SHARED",
                "area-traffic-cap-DL": 800,
                "resource-version": "1665477170111"
            }
        ]
    },
    "operational-status": "UNLOCKED"
}
CREATE-SP-02

createMOI operation is triggered by MDO
Scenario:
Shared Slice


1. Check NSSI id in AAI , NSSI id exists

2. Create allotted-resource

3. Create slice-profile service instance in AAI

4. Add allotted-resource in slice-profile service instance

5. Set an relationship of slice-profile service instance and NSSI service instance

6. Trigger CDS api to create slice


NSSI id received from MDO  exist in AAI

COMPLETED

URL:  http://{{k8s}}:30277/onap/so/infra/moi/api/rest/v1/NetworkSliceSubnet/ciena-ran-nssi-1110

Method: PUT

Refer sample request body of CREATE-SP-01 

NSSI  with id → ciena-ran-nssi-1110 already exists in AAI.

Hence, no new NSSI service instance created, only slice-profile service instance creates and added NSSI relationship with new Slice-profile service instance.

NSSI with 2 slice-profiles
{
    "service-instance-id": "ciena-ran-nssi-1110",
    "service-instance-name": "ran_ciena-ran-nssi-1110",
    "service-type": "nssi",
    "model-invariant-id": "317dd757-3459-42bd-86f1-9fc458fac5a2",
    "model-version-id": "f5ec1d82-46e9-44a9-a098-352f740934fb",
    "resource-version": "1665477767425",
    "orchestration-status": "Active",
    "relationship-list": {
        "relationship": [
            {
                "related-to": "allotted-resource",
                "relationship-label": "org.onap.relationships.inventory.Uses",
                "related-link": "/aai/v24/business/customers/customer/5GCustomer/service-subscriptions/service-subscription/5G/service-instances/service-instance/036f99bb-7d75-4e9e-8d16-810017b80bc6/allotted-resources/allotted-resource/23fd0158-fa34-4b68-a9a0-d8537bf1812b",
                "relationship-data": [
                    {
                        "relationship-key": "customer.global-customer-id",
                        "relationship-value": "5GCustomer"
                    },
                    {
                        "relationship-key": "service-subscription.service-type",
                        "relationship-value": "5G"
                    },
                    {
                        "relationship-key": "service-instance.service-instance-id",
                        "relationship-value": "036f99bb-7d75-4e9e-8d16-810017b80bc6"
                    },
                    {
                        "relationship-key": "allotted-resource.id",
                        "relationship-value": "23fd0158-fa34-4b68-a9a0-d8537bf1812b"
                    }
                ],
                "related-to-property": [
                    {
                        "property-key": "allotted-resource.description"
                    },
                    {
                        "property-key": "allotted-resource.allotted-resource-name"
                    }
                ]
            },
            {
                "related-to": "allotted-resource",
                "relationship-label": "org.onap.relationships.inventory.Uses",
                "related-link": "/aai/v24/business/customers/customer/5GCustomer/service-subscriptions/service-subscription/5G/service-instances/service-instance/2ee4e858-6f51-4963-8250-a978a39af1cb/allotted-resources/allotted-resource/b6a52801-fc37-476b-998d-6a38c50b639d",
                "relationship-data": [
                    {
                        "relationship-key": "customer.global-customer-id",
                        "relationship-value": "5GCustomer"
                    },
                    {
                        "relationship-key": "service-subscription.service-type",
                        "relationship-value": "5G"
                    },
                    {
                        "relationship-key": "service-instance.service-instance-id",
                        "relationship-value": "2ee4e858-6f51-4963-8250-a978a39af1cb"
                    },
                    {
                        "relationship-key": "allotted-resource.id",
                        "relationship-value": "b6a52801-fc37-476b-998d-6a38c50b639d"
                    }
                ],
                "related-to-property": [
                    {
                        "property-key": "allotted-resource.description"
                    },
                    {
                        "property-key": "allotted-resource.allotted-resource-name"
                    }
                ]
            }
        ]
    },
    "operational-status": "UNLOCKED"
}
New Slice-profile service instance
{
    "service-instance-id": "036f99bb-7d75-4e9e-8d16-810017b80bc6",
    "service-instance-name": "slice-profile-ciena-ran-nssi-1110",
    "service-type": "eMBB",
    "service-role": "slice-profile",
    "environment-context": "01-AVBHUY",
    "service-instance-location-id": "333-444",
    "resource-version": "1665477767686",
    "orchestration-status": "ACTIVE",
    "allotted-resources": {
        "allotted-resource": [
            {
                "id": "23fd0158-fa34-4b68-a9a0-d8537bf1812b",
                "resource-version": "1665477717267",
                "relationship-list": {
                    "relationship": [
                        {
                            "related-to": "service-instance",
                            "relationship-label": "org.onap.relationships.inventory.Uses",
                            "related-link": "/aai/v24/business/customers/customer/5GCustomer/service-subscriptions/service-subscription/5G/service-instances/service-instance/ciena-ran-nssi-1110",
                            "relationship-data": [
                                {
                                    "relationship-key": "customer.global-customer-id",
                                    "relationship-value": "5GCustomer"
                                },
                                {
                                    "relationship-key": "service-subscription.service-type",
                                    "relationship-value": "5G"
                                },
                                {
                                    "relationship-key": "service-instance.service-instance-id",
                                    "relationship-value": "ciena-ran-nssi-1110"
                                }
                            ],
                            "related-to-property": [
                                {
                                    "property-key": "service-instance.service-instance-name",
                                    "property-value": "ran_ciena-ran-nssi-1110"
                                }
                            ]
                        }
                    ]
                }
            }
        ]
    },
    "slice-profiles": {
        "slice-profile": [
            {
                "profile-id": "3b1161ad-a2f1-40d7-9e2c-11105bd6f38d",
                "latency": 20,
                "max-number-of-UEs": 2000,
                "coverage-area-TA-list": "999",
                "resource-sharing-level": "SHARED",
                "area-traffic-cap-DL": 800,
                "resource-version": "1665477716859"
            }
        ]
    },
    "operational-status": "UNLOCKED"
}
CREATE-SP-03

createMOI operation is triggered by MDO
Scenario:
Non Shared
Slice 

  1. Check NSSI id in AAI , NSSI id does not exists
  2. Trigger OOF to get NSST solution
  3. Using that NSST create new NSSI service instance in AAI
  4. create allotted-resource
  5. create slice-profile service instance in AAI
  6. Add allotted-resource in slice-profile service instance
  7. Set an relationship of slice-profile service instance and NSSI service instance
  8. Trigger CDS api to create slice

NSSI id received from MDO does not exist in AAI

COMPLETED

URL:  http://{{k8s}}:30277/onap/so/infra/moi/api/rest/v1/NetworkSliceSubnet/ciena-ran-nssi-1110

Method: PUT

Sample request for NON-SHARED scenario
{
    "attributes": {
        "sliceProfileList": [{
            "plmnInfoList": [{
                "plmnId": {
                    "mcc": 354,
                    "mnc": 77
                },
                "snssai": {
                    "sst": "002",
                    "sd": "500"
                }
            }],
            "RANSliceSubnetProfile": {
                "coverageAreaTAList": 999,
                "latency": 20,
                "areaTrafficCapDL": 800,
                "resourceSharingLevel": "NON-SHARED",
                "serviceType": "eMBB",
                "maxNumberofUEs": 2000
            }
        }]
    }
}

Request with new NSSI id → ciena-ran-nssi-1110-1

Request for Non-shared
curl --location --request PUT 'http://127.0.0.1:30277/onap/so/infra/moi/api/rest/v1/NetworkSliceSubnet/ciena-ran-nssi-1110-1' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic SW5mcmFQb3J0YWxDbGllbnQ6cGFzc3dvcmQxJA==' \
--header 'X-Fromappid: SO' \
--data-raw '{
    "attributes": {
        "sliceProfileList": [{
            "plmnInfoList": [{
                "plmnId": {
                    "mcc": 555,
                    "mnc": 666
                },
                "snssai": {
                    "sst": "01",
                    "sd": "GHTYUO"
                }
            }],
            "RANSliceSubnetProfile": {
                "coverageAreaTAList": 999,
                "latency": 20,
                "areaTrafficCapDL": 800,
                "resourceSharingLevel": "NON-SHARED",
                "serviceType": "eMBB",
                "maxNumberofUEs": 2000
            }
        }]
    }
}'
New NSSI created in AAI
{
    "service-instance-id": "ciena-ran-nssi-1110-1",
    "service-instance-name": "ran_ciena-ran-nssi-1110-1",
    "service-type": "nssi",
    "model-invariant-id": "317dd757-3459-42bd-86f1-9fc458fac5a2",
    "model-version-id": "f5ec1d82-46e9-44a9-a098-352f740934fb",
    "resource-version": "1665479537383",
    "orchestration-status": "Active",
    "relationship-list": {
        "relationship": [
            {
                "related-to": "allotted-resource",
                "relationship-label": "org.onap.relationships.inventory.Uses",
                "related-link": "/aai/v24/business/customers/customer/5GCustomer/service-subscriptions/service-subscription/5G/service-instances/service-instance/1a56b3c7-16ab-484c-8542-748dc0f7de56/allotted-resources/allotted-resource/36235f09-2dad-41c5-acc5-dc01dc5fe752",
                "relationship-data": [
                    {
                        "relationship-key": "customer.global-customer-id",
                        "relationship-value": "5GCustomer"
                    },
                    {
                        "relationship-key": "service-subscription.service-type",
                        "relationship-value": "5G"
                    },
                    {
                        "relationship-key": "service-instance.service-instance-id",
                        "relationship-value": "1a56b3c7-16ab-484c-8542-748dc0f7de56"
                    },
                    {
                        "relationship-key": "allotted-resource.id",
                        "relationship-value": "36235f09-2dad-41c5-acc5-dc01dc5fe752"
                    }
                ],
                "related-to-property": [
                    {
                        "property-key": "allotted-resource.description"
                    },
                    {
                        "property-key": "allotted-resource.allotted-resource-name"
                    }
                ]
            }
        ]
    },
    "operational-status": "UNLOCKED"
}
Slice-profile service instance
{
    "service-instance-id": "1a56b3c7-16ab-484c-8542-748dc0f7de56",
    "service-instance-name": "slice-profile-ciena-ran-nssi-1110-1",
    "service-type": "eMBB",
    "service-role": "slice-profile",
    "environment-context": "01-GHTYUO",
    "service-instance-location-id": "555-666",
    "resource-version": "1665479537713",
    "orchestration-status": "ACTIVE",
    "allotted-resources": {
        "allotted-resource": [
            {
                "id": "36235f09-2dad-41c5-acc5-dc01dc5fe752",
                "resource-version": "1665479487593",
                "relationship-list": {
                    "relationship": [
                        {
                            "related-to": "service-instance",
                            "relationship-label": "org.onap.relationships.inventory.Uses",
                            "related-link": "/aai/v24/business/customers/customer/5GCustomer/service-subscriptions/service-subscription/5G/service-instances/service-instance/ciena-ran-nssi-1110-1",
                            "relationship-data": [
                                {
                                    "relationship-key": "customer.global-customer-id",
                                    "relationship-value": "5GCustomer"
                                },
                                {
                                    "relationship-key": "service-subscription.service-type",
                                    "relationship-value": "5G"
                                },
                                {
                                    "relationship-key": "service-instance.service-instance-id",
                                    "relationship-value": "ciena-ran-nssi-1110-1"
                                }
                            ],
                            "related-to-property": [
                                {
                                    "property-key": "service-instance.service-instance-name",
                                    "property-value": "ran_ciena-ran-nssi-1110-1"
                                }
                            ]
                        }
                    ]
                }
            }
        ]
    },
    "slice-profiles": {
        "slice-profile": [
            {
                "profile-id": "8ddc4806-be25-4ec1-9883-24b34b280725",
                "latency": 20,
                "max-number-of-UEs": 2000,
                "coverage-area-TA-list": "999",
                "resource-sharing-level": "NON-SHARED",
                "area-traffic-cap-DL": 800,
                "resource-version": "1665479487177"
            }
        ]
    },
    "operational-status": "UNLOCKED"
}
CREATE-SP-04

createMOI operation is triggered by MDO
Scenario:
Non Shared
Slice 


  1. Check NSSI id in AAI , NSSI id  exists
  2. Throw an error to MDO with error message "NSSI already exists; Non-shared request cannot be fulfilled"

NSSI id received from MDO  exist in AAI

COMPLETED

URL:  http://{{k8s}}:30277/onap/so/infra/moi/api/rest/v1/NetworkSliceSubnet/ciena-ran-nssi-1110

Method: PUT

Refer sample request body of CREATE-SP-03

As ciena-ran-nssi-1110 NSSI is already present and request is for 'NON-SHARED' scenario hence error will be send to MDO

Non-Shared Request
curl --location --request PUT 'http://127.0.0.1:30277/onap/so/infra/moi/api/rest/v1/NetworkSliceSubnet/ciena-ran-nssi-1110' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic SW5mcmFQb3J0YWxDbGllbnQ6cGFzc3dvcmQxJA==' \
--header 'X-Fromappid: SO' \
--data-raw '{
    "attributes": {
        "sliceProfileList": [{
            "plmnInfoList": [{
                "plmnId": {
                    "mcc": 555,
                    "mnc": 666
                },
                "snssai": {
                    "sst": "01",
                    "sd": "XVBPOP"
                }
            }],
            "RANSliceSubnetProfile": {
                "coverageAreaTAList": 999,
                "latency": 20,
                "areaTrafficCapDL": 800,
                "resourceSharingLevel": "NON-SHARED",
                "serviceType": "eMBB",
                "maxNumberofUEs": 2000
            }
        }]
    }
}'
Error Message
"statusMessage": "Runtime error : Invalid NSSI, Slice subnet already exists"

Delete Slice Profile 

Test Case NoTestcaseDescriptionPriorityDependency/IssueTesterStatusRemarksTest Details
DELETE-SP-01deleteMOI operation is triggered by MDO
Scenario:
Shared 
  1. Check NSSI service instance in AAI
  2. Get all associated slice profile service instances (and slice-profiles)
  3. In AAI, set operation_status as LOCKED for the slice-profile service instance having slice-profile id same as slice-profile id received in the request payload
  4. Call CDS to delete slice-profile
  5. On success response from CDS , delete slice-profile and slice profile service instance

More than 1 slice-profiles are associated with NSSI service instance


COMPLETED

URL:  http://{{k8s}}:30277/onap/so/infra/moi/api/rest/v1/NetworkSliceSubnet/ciena-ran-nssi-901
Method: PATCH (with a delete operation in the request) or DELETE

Sample request for delete
{    
     "op": "del",
     "attributes": {
        "sliceProfileList": [
            {
                "sliceProfileId": "f832ea13-04c2-4bd5-b93e-4cb7e1fd7f44"
            }
        ]
    }
}

Before Delete, 4 slice profiles were associated with   NSSI ID → ciena-ran-nssi-901

Slice-profiles before delete request
{
    "id": "ciena-ran-nssi-901",
    "operationalState": "UNLOCKED",
    "administrativeState": "Active",
    "attributes": {
        "sliceProfileList": [
            {
                "sliceProfileId": "7c993aa6-89b7-4285-9c19-760dc573b14b",
                "plmnInfoList": [
                    {
                        "plmnId": {
                            "mcc": 354,
                            "mnc": 77
                        },
                        "snssai": {
                            "sst": "500",
                            "sd": "002"
                        }
                    }
                ],
                "RANSliceSubnetProfile": {
                    "coverageAreaTAList": 999,
                    "dLLatency": 20,
                    "resourceSharingLevel": "SHARED",
                    "serviceType": "eMBB",
                    "maxNumberofUEs": 2000,
                    "areaTrafficCapDL": 800
                }
            },
            {
                "sliceProfileId": "aeda435d-cf7d-49db-8e72-108c4485664a",
                "plmnInfoList": [
                    {
                        "plmnId": {
                            "mcc": 354,
                            "mnc": 77
                        },
                        "snssai": {
                            "sst": "500",
                            "sd": "002"
                        }
                    }
                ],
                "RANSliceSubnetProfile": {
                    "coverageAreaTAList": 999,
                    "dLLatency": 20,
                    "resourceSharingLevel": "SHARED",
                    "serviceType": "eMBB",
                    "maxNumberofUEs": 2000,
                    "areaTrafficCapDL": 800
                }
            },
            {
                "sliceProfileId": "d74024ce-496e-4ff2-a303-75f2559e2574",
                "plmnInfoList": [
                    {
                        "plmnId": {
                            "mcc": 354,
                            "mnc": 77
                        },
                        "snssai": {
                            "sst": "500",
                            "sd": "002"
                        }
                    }
                ],
                "RANSliceSubnetProfile": {
                    "coverageAreaTAList": 999,
                    "dLLatency": 20,
                    "resourceSharingLevel": "SHARED",
                    "serviceType": "eMBB",
                    "maxNumberofUEs": 2000,
                    "areaTrafficCapDL": 800
                }
            },
            {
                "sliceProfileId": "0cddf426-cba3-42b2-bba8-0fb4bceda4cd",
                "plmnInfoList": [
                    {
                        "plmnId": {
                            "mcc": 354,
                            "mnc": 77
                        },
                        "snssai": {
                            "sst": "500",
                            "sd": "002"
                        }
                    }
                ],
                "RANSliceSubnetProfile": {
                    "coverageAreaTAList": 999,
                    "dLLatency": 20,
                    "resourceSharingLevel": "SHARED",
                    "serviceType": "eMBB",
                    "maxNumberofUEs": 2000,
                    "areaTrafficCapDL": 800
                }
            }
        ]
    }
}
Slice-profiles after Delete API triggered
{
    "id": "ciena-ran-nssi-901",
    "operationalState": "UNLOCKED",
    "administrativeState": "Active",
    "attributes": {
        "sliceProfileList": [
            {
                "sliceProfileId": "7c993aa6-89b7-4285-9c19-760dc573b14b",
                "plmnInfoList": [
                    {
                        "plmnId": {
                            "mcc": 354,
                            "mnc": 77
                        },
                        "snssai": {
                            "sst": "500",
                            "sd": "002"
                        }
                    }
                ],
                "RANSliceSubnetProfile": {
                    "coverageAreaTAList": 999,
                    "dLLatency": 20,
                    "resourceSharingLevel": "SHARED",
                    "serviceType": "eMBB",
                    "maxNumberofUEs": 2000,
                    "areaTrafficCapDL": 800
                }
            },
            {
                "sliceProfileId": "aeda435d-cf7d-49db-8e72-108c4485664a",
                "plmnInfoList": [
                    {
                        "plmnId": {
                            "mcc": 354,
                            "mnc": 77
                        },
                        "snssai": {
                            "sst": "500",
                            "sd": "002"
                        }
                    }
                ],
                "RANSliceSubnetProfile": {
                    "coverageAreaTAList": 999,
                    "dLLatency": 20,
                    "resourceSharingLevel": "SHARED",
                    "serviceType": "eMBB",
                    "maxNumberofUEs": 2000,
                    "areaTrafficCapDL": 800
                }
            },
            {
                "sliceProfileId": "d74024ce-496e-4ff2-a303-75f2559e2574",
                "plmnInfoList": [
                    {
                        "plmnId": {
                            "mcc": 354,
                            "mnc": 77
                        },
                        "snssai": {
                            "sst": "500",
                            "sd": "002"
                        }
                    }
                ],
                "RANSliceSubnetProfile": {
                    "coverageAreaTAList": 999,
                    "dLLatency": 20,
                    "resourceSharingLevel": "SHARED",
                    "serviceType": "eMBB",
                    "maxNumberofUEs": 2000,
                    "areaTrafficCapDL": 800
                }
            }
        ]
    }
}
DELETE-SP-02deleteMOI operation is triggered by MDO
Scenario:
Shared 

  1. Check NSSI service instance in AAI
  2. Get associated slice profile service instances (and slice-profiles)
  3. In AAI, set operation_status as LOCKED for the slice-profile service instance having slice-profile id same as slice-profile id received in the request payload
  4. In AAI, set operation_status as LOCKED for NSSI service instance
  5. Call CDS to delete slice-profile
  6. On success response from CDS
    a. delete slice-profile and slice profile service instance from AAI
    b. Delete NSSI service instance from AAI

Only 1 slice-profile is associated with NSSI service instance

COMPLETED

URL: http://{{k8s}}:30277/onap/so/infra/moi/api/rest/v1/NetworkSliceSubnet/ciena-ran-nssi-901
Method: PATCH (with a delete operation in the request) or DELETE

Refer sample request body of DELETE-SP-01

Deleted NSSI as well as Slice Profile

Only one Slice Profile was there for NSSI ID : ciena-ran-nssi-911

Slice profile before delete API triggered
{
    "id": "ciena-ran-nssi-911",
    "operationalState": "UNLOCKED",
    "administrativeState": "Active",
    "attributes": {
        "sliceProfileList": [
            {
                "sliceProfileId": "3e82aec4-fec6-41fc-ae66-63089be62ff6",
                "plmnInfoList": [
                    {
                        "plmnId": {
                            "mcc": 354,
                            "mnc": 77
                        },
                        "snssai": {
                            "sst": "500",
                            "sd": "002"
                        }
                    }
                ],
                "RANSliceSubnetProfile": {
                    "coverageAreaTAList": 999,
                    "dLLatency": 20,
                    "resourceSharingLevel": "SHARED",
                    "serviceType": "eMBB",
                    "maxNumberofUEs": 2000,
                    "areaTrafficCapDL": 800
                }
            }
        ]
    }
}

NSSI and Sliceprofile both got deleted
NSSI got deleted
curl --location --request GET 'https://127.0.0.1:30233/aai/v24/business/customers/customer/5GCustomer/service-subscriptions/service-subscription/5G/service-instances/service-instance/ciena-ran-nssi-911?depth=all' \
--header 'X-TransactionId: 11117' \
--header 'X-FromAppId: jimmy-postman' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'Authorization: Basic QUFJOkFBSQ==' \
--header 'Cookie: JSESSIONID=CD902C8765145B87CA73709D29625A47'
 
Response:
{
    "requestError": {
        "serviceException": {
            "messageId": "SVC3001",
            "text": "Resource not found for %1 using id %2 (msg=%3) (ec=%4)",
            "variables": [
                "GET",
                "business/customers/customer/5GCustomer/service-subscriptions/service-subscription/5G/service-instances/service-instance/ciena-ran-nssi-911",
                "Node Not Found:No Node of type service-instance found at: business/customers/customer/5GCustomer/service-subscriptions/service-subscription/5G/service-instances/service-instance/ciena-ran-nssi-911",
                "ERR.5.4.6114"
            ]
        }
    }
}
DELETE-SP-03deleteMOI operation is triggered by MDO
Scenario:
Non
Shared 
  1. Check NSSI service instance in AAI
  2. Get associated slice profile service instances (and slice-profiles)
  3. In AAI, set operation_status as LOCKED for the slice-profile service instance having slice-profile id same as slice-profile id received in the request payload
  4. In AAI, set operation_status as LOCKED for NSSI service instance
  5. Call CDS to delete slice-profile
  6. On success response from CDS
    a. delete slice-profile and slice profile service instance from AAI
    b. Delete NSSI service instance from AAI

Only 1 slice-profile is associated with NSSI service instance

COMPLETED

URL: http://{{k8s}}:30277/onap/so/infra/moi/api/rest/v1/NetworkSliceSubnet/ciena-ran-nssi-901
Method:
PATCH (with a delete operation in the request) or DELETE


Refer sample request body of DELETE-SP-01

Deleted NSSI as well as Slice Profile

Slice Profile for NSSI ID : ciena-ran-nssi-951

Before Delete API trigger
{
    "id": "ciena-ran-nssi-951",
    "operationalState": "UNLOCKED",
    "administrativeState": "Active",
    "attributes": {
        "sliceProfileList": [
            {
                "sliceProfileId": "2b08e3c9-63e9-4cc2-8798-5735f8d95529",
                "plmnInfoList": [
                    {
                        "plmnId": {
                            "mcc": 354,
                            "mnc": 77
                        },
                        "snssai": {
                            "sst": "500",
                            "sd": "002"
                        }
                    }
                ],
                "RANSliceSubnetProfile": {
                    "coverageAreaTAList": 999,
                    "dLLatency": 20,
                    "resourceSharingLevel": "NON-SHARED",
                    "serviceType": "eMBB",
                    "maxNumberofUEs": 2000,
                    "areaTrafficCapDL": 800
                }
            }
        ]
    }
}


NSSI and Slice profile both are deleted. 


Modify Slice Profile

Test Case NoTestcaseDescriptionPriorityDependency/IssueTesterStatusRemarksTest Details
MODIFY-SP-01modifyMOIAttributes operation is triggered by MDO
  1. Get NSSI service instance from AAI
  2. Get all slice profile instances associated with NSSI from AAI
  3. Update operation_status in AAI with the value received in request 
  4. Call CDS to update administrativeState of slice profile

Update in "administrativeState"
Request payload will have administrativeState to modify  one or more Managed Object instances i.e. NSS


COMPLETED

URL: http://{{k8s}}:30277/onap/so/infra/moi/api/rest/v1/NetworkSliceSubnet/ciena-ran-nssi-1110
Method: PATCH

Sample Request Body
Example 1:
{
"attributes": {
     "administrativeState": "LOCKED"
     }
}
 
Example 2:
{
    "attributes": {
        "sliceProfileList": [{
            "sliceProfileId": "925a4f8d-990f-4a6a-9c33-c7e4424473c4",
            "RANSliceSubnetProfile": {
                "coverageAreaTAList": 111,
                "dLLatency": 100,
                "uLLatency": 100,
            }
        }]
    }
}



Request to modify administrativeState
{
    "attributes": {
        "administrativeState": "UNLOCKED",
        "sliceProfileList": [
            {
                "sliceProfileId": "cf09cd0c-d786-45ad-a47f-fcfc811e6f67"
            }
        ]
    }
}
Updated slice profile status
{
    "service-instance-id": "2ee4e858-6f51-4963-8250-a978a39af1cb",
    "service-instance-name": "slice-profile-ciena-ran-nssi-1110",
    "service-type": "eMBB",
    "service-role": "slice-profile",
    "environment-context": "01-XBGTDM",
    "service-instance-location-id": "111-222",
    "resource-version": "1665503951004",
    "orchestration-status": "ACTIVE",
    "allotted-resources": {
        "allotted-resource": [
            {
                "id": "b6a52801-fc37-476b-998d-6a38c50b639d",
                "resource-version": "1665477170597",
                "relationship-list": {
                    "relationship": [
                        {
                            "related-to": "service-instance",
                            "relationship-label": "org.onap.relationships.inventory.Uses",
                            "related-link": "/aai/v24/business/customers/customer/5GCustomer/service-subscriptions/service-subscription/5G/service-instances/service-instance/ciena-ran-nssi-1110",
                            "relationship-data": [
                                {
                                    "relationship-key": "customer.global-customer-id",
                                    "relationship-value": "5GCustomer"
                                },
                                {
                                    "relationship-key": "service-subscription.service-type",
                                    "relationship-value": "5G"
                                },
                                {
                                    "relationship-key": "service-instance.service-instance-id",
                                    "relationship-value": "ciena-ran-nssi-1110"
                                }
                            ],
                            "related-to-property": [
                                {
                                    "property-key": "service-instance.service-instance-name",
                                    "property-value": "ran_ciena-ran-nssi-1110"
                                }
                            ]
                        }
                    ]
                }
            }
        ]
    },
    "slice-profiles": {
        "slice-profile": [
            {
                "profile-id": "cf09cd0c-d786-45ad-a47f-fcfc811e6f67",
                "latency": 20,
                "max-number-of-UEs": 300,
                "coverage-area-TA-list": "1110",
                "resource-sharing-level": "SHARED",
                "area-traffic-cap-DL": 800,
                "resource-version": "1665503950815"
            }
        ]
    },
    "operational-status": "UNLOCKED"
}
MODIFY-SP-02modifyMOIAttributes operation is triggered by MDO
  1. Get NSSI service instance from AAI
  2. Get a slice profile instance associated with NSSI from AAI and having slice-profile id same as sliceProfileId in the request
  3. Update slice-profile attributes in AAI with the values received in request
  4. Call CDS to update attributes of slice profile

Update slice-profile attributes 

COMPLETED

URL: http://{{k8s}}:30277/onap/so/infra/moi/api/rest/v1/NetworkSliceSubnet/ciena-ran-nssi-1110
Method: PATCH


Refer sample request body of MODIFY-SP-01
Request to modify attributes
{
    "attributes": {
        "administrativeState": "LOCKED",
        "sliceProfileList": [
            {
                "sliceProfileId": "cf09cd0c-d786-45ad-a47f-fcfc811e6f67",
                "RANSliceSubnetProfile": {
                    "maxNumberofUEs": 300,
                    "latency": 20,
                    "areaTrafficCapDL": 800
                }
            }
        ]
    }
}
Slice profile after modify
{
    "service-instance-id": "2ee4e858-6f51-4963-8250-a978a39af1cb",
    "service-instance-name": "slice-profile-ciena-ran-nssi-1110",
    "service-type": "eMBB",
    "service-role": "slice-profile",
    "environment-context": "01-XBGTDM",
    "service-instance-location-id": "111-222",
    "resource-version": "1665503626453",
    "orchestration-status": "ACTIVE",
    "allotted-resources": {
        "allotted-resource": [
            {
                "id": "b6a52801-fc37-476b-998d-6a38c50b639d",
                "resource-version": "1665477170597",
                "relationship-list": {
                    "relationship": [
                        {
                            "related-to": "service-instance",
                            "relationship-label": "org.onap.relationships.inventory.Uses",
                            "related-link": "/aai/v24/business/customers/customer/5GCustomer/service-subscriptions/service-subscription/5G/service-instances/service-instance/ciena-ran-nssi-1110",
                            "relationship-data": [
                                {
                                    "relationship-key": "customer.global-customer-id",
                                    "relationship-value": "5GCustomer"
                                },
                                {
                                    "relationship-key": "service-subscription.service-type",
                                    "relationship-value": "5G"
                                },
                                {
                                    "relationship-key": "service-instance.service-instance-id",
                                    "relationship-value": "ciena-ran-nssi-1110"
                                }
                            ],
                            "related-to-property": [
                                {
                                    "property-key": "service-instance.service-instance-name",
                                    "property-value": "ran_ciena-ran-nssi-1110"
                                }
                            ]
                        }
                    ]
                }
            }
        ]
    },
    "slice-profiles": {
        "slice-profile": [
            {
                "profile-id": "cf09cd0c-d786-45ad-a47f-fcfc811e6f67",
                "latency": 20,
                "max-number-of-UEs": 300,
                "coverage-area-TA-list": "1110",
                "resource-sharing-level": "SHARED",
                "area-traffic-cap-DL": 800,
                "resource-version": "1665503626319"
            }
        ]
    },
    "operational-status": "LOCKED"
}


Get Slice Profile Attributes

Test Case NoTestcaseDescriptionPriorityDependency/IssueTesterStatusRemarksTest Details
GET-SP-01getMOIAttributes operation is triggered by MDO
  1. Get NSSI service instance from AAI
  2. Get all slice profile instances associated with NSSI from AAI
  3. Get all slice-profiles from slice profile instances
  4. Prepare a response with whole NSSI  with all contained SliceProfiles.



COMPLETED

URL: http://{{k8s}}:30277/onap/so/infra/moi//api/rest/provMns/{apiVersion}/NetworkSubnetSlice/{id}

Method: 
GET

URL:http://{{k8s}}:30277/onap/so/infra/moi/api/rest/v1/NetworkSliceSubnet/ciena-ran-nssi-1110

Response for NSSI ID -> ciena-ran-nssi-1110
{
    "id": "ciena-ran-nssi-1110",
    "operationalState": "UNLOCKED",
    "administrativeState": "Active",
    "attributes": {
        "sliceProfileList": [
            {
                "sliceProfileId": "3b1161ad-a2f1-40d7-9e2c-11105bd6f38d",
                "plmnInfoList": [
                    {
                        "plmnId": {
                            "mcc": 333,
                            "mnc": 444
                        },
                        "snssai": {
                            "sst": "AVBHUY",
                            "sd": "01"
                        }
                    }
                ],
                "RANSliceSubnetProfile": {
                    "coverageAreaTAList": 999,
                    "dLLatency": 20,
                    "resourceSharingLevel": "SHARED",
                    "serviceType": "eMBB",
                    "maxNumberofUEs": 2000,
                    "areaTrafficCapDL": 800
                }
            },
            {
                "sliceProfileId": "cf09cd0c-d786-45ad-a47f-fcfc811e6f67",
                "plmnInfoList": [
                    {
                        "plmnId": {
                            "mcc": 111,
                            "mnc": 222
                        },
                        "snssai": {
                            "sst": "XBGTDM",
                            "sd": "01"
                        }
                    }
                ],
                "RANSliceSubnetProfile": {
                    "coverageAreaTAList": 999,
                    "dLLatency": 20,
                    "resourceSharingLevel": "SHARED",
                    "serviceType": "eMBB",
                    "maxNumberofUEs": 2000,
                    "areaTrafficCapDL": 800
                }
            }
        ]
    }
}






  • No labels