Test Case No | Test Case | Description | Priority | Dependency/Issue | Tester | Status | Remarks | Test Details |
---|
CREATE-SP-01 | createMOI operation is triggered by MDO Scenario: Shared Slice | - Check NSSI id in AAI , NSSI id does not exists
- Trigger OOF to get NSST solution
- Using that NSST create new NSSI service instance in AAI
- create allotted-resource
- create slice-profile service instance in AAI
- Add allotted-resource in slice-profile service instance
- Set an relationship of slice-profile service instance and NSSI service instance
- Trigger CDS api to create slice
| 1 | NSSI id received from MDO does not exist in AAI |
| Status |
---|
colour | Green |
---|
title | Completed |
---|
|
| URL: http://{{k8s}}:30277/onap/so/infra/moi/api/rest/v1/NetworkSliceSubnet/ciena-ran-nssi-1110 Method: PUT
Code Block |
---|
language | text |
---|
title | Sample request for SHARED scenario |
---|
collapse | true |
---|
| {
"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
}
}]
}
} |
|
Code Block |
---|
language | text |
---|
title | Create MOI Request |
---|
collapse | true |
---|
| 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
}
}]
}
}' |
Code Block |
---|
language | text |
---|
title | NSSI created in AAI |
---|
collapse | true |
---|
| {
"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"
} |
Code Block |
---|
language | text |
---|
title | Slice Profile created for NSSI |
---|
collapse | true |
---|
| {
"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 |
| Status |
---|
colour | Green |
---|
title | 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. Code Block |
---|
language | text |
---|
title | NSSI with 2 slice-profiles |
---|
collapse | true |
---|
| {
"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"
} |
Code Block |
---|
language | text |
---|
title | New Slice-profile service instance |
---|
collapse | true |
---|
| {
"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
| - Check NSSI id in AAI , NSSI id does not exists
- Trigger OOF to get NSST solution
- Using that NSST create new NSSI service instance in AAI
- create allotted-resource
- create slice-profile service instance in AAI
- Add allotted-resource in slice-profile service instance
- Set an relationship of slice-profile service instance and NSSI service instance
- Trigger CDS api to create slice
|
| NSSI id received from MDO does not exist in AAI |
| Status |
---|
colour | Green |
---|
title | Completed |
---|
|
| URL: http://{{k8s}}:30277/onap/so/infra/moi/api/rest/v1/NetworkSliceSubnet/ciena-ran-nssi-1110 Method: PUT
Code Block |
---|
language | text |
---|
title | Sample request for NON-SHARED scenario |
---|
collapse | true |
---|
| {
"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 Code Block |
---|
language | text |
---|
title | Request for Non-shared |
---|
collapse | true |
---|
| 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
}
}]
}
}' |
Code Block |
---|
language | text |
---|
title | New NSSI created in AAI |
---|
collapse | true |
---|
| {
"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"
} |
Code Block |
---|
language | text |
---|
title | Slice-profile service instance |
---|
collapse | true |
---|
| {
"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
| - Check NSSI id in AAI , NSSI id exists
- 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 |
| Status |
---|
colour | Green |
---|
title | 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 Code Block |
---|
language | text |
---|
title | Non-Shared Request |
---|
collapse | true |
---|
| 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
}
}]
}
}' |
Code Block |
---|
language | text |
---|
title | Error Message |
---|
collapse | true |
---|
| "statusMessage": "Runtime error : Invalid NSSI, Slice subnet already exists" |
|