Versions Compared

Key

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

...

ID

Test Case Name

Status

C1

Recovery after HSIA Service Instantiation Timeout

Status
colourBlue
titleNOT TESTED IN DUBLIN

C2

CPE Registration

Status
colourYellowGreen
titlePARTIALLY TESTEDPASS

C3CPE Authentication

Status
colourGreen
titlePASS
NOT YET TESTED

C4HSIA Service Activation and Service Status Change Notification

Status
colourGreen
titleNOT YET TESTEDPASS

Recovery after HSIA Service Instantiation Timeout
Anchor
C1
C1

Test Case IDC1
Test Case Name

Recovery after HSIA Service Instantiation Timeout

DescriptionDuring service instantiation, SO waits for CPE PNF to be registered. There is a 14-day timeout. After timeout service instantiation is rolled back.
ReleaseDublin
Preconditions

SO is configured with the right mapping between resource models and BPMN recipes. See BBS Documentation (Dublin)

Testing Steps

Jira
serverONAP JIRA
serverId425b2b0a-557c-3c0c-b515-579789cceedb
keySO-1938

Expected Results


Actual Results


Conclusion (Pass/Fail)

Status
colourBlue
titleNOT TESTED

Testing LabSwisscom Lab
Testing Date
Tester Name

CPE Registration
Anchor
C2
C2

Test Case IDC2
Test Case NameCPE Registration


DescriptionCPE PNF PnP
ReleaseDublin
Preconditions

- BBS E2E service instance and CPE PNF resource object have been created in AAI by SO
- BBS E2E service instance orchestration-status is "Assigned"
- SO is waiting for PNF_READY event in order to continue with the BBS E2E service orchestration|
- BBS SDNC DGs are active:
-- bbs-access-connectivity-network-topology-operation-create-huawei
-- bbs-access-connectivity-network-topology-operation-delete-huawei
-- bbs-internet-profile-network-topology-operation-change-huawei
-- bbs-internet-profile-network-topology-operation-common-huawei
-- bbs-internet-profile-network-topology-operation-create-huawei
-- bbs-internet-profile-network-topology-operation-delete-huawei
-- validate-bbs-network-input-parameters

- Access SDN M&C IP is configured in SDNC DG in ONAP
-- GENERIC-RESOURCE-API: bbs-access-connectivity-network-topology-operation-create-huawei.json
-- GENERIC-RESOURCE-API: bbs-access-connectivity-network-topology-operation-delete-huawei.json
- There is connectivity between Access SDN M&C and RESTCONF collector
- SO is configured with the right mapping between resource models and BPMN recipes. See BBS Documentation (Dublin)

Testing Steps
  1. Attach CPE PNF to OLT
Expected Results
  1. Access SDN M&C notifies RESTCONF collector with a PNF registration event
  2. VES mapper maps RESTCONF event to VES message and publish the message in DMaaP's unauthenticated.VES_PNFREG_OUTPUT
  3. PRH consumes PNF registration VES event
  4. PRH updates CPE PNF resource object in AAI with new values
  5. PRH publishes PNF_READY event in DMaaP's unauthenticated.PNF_READY topic
  6. SO consumes PNF_READY event and proceeds with service orchestration
Actual Results

0. Service order is sent to ONAP via ExtAPI, the service instantiation is started by SO, SO creates a PNF resource in AAI and waits for the PNF_READY event to continue with the rest of resources

Code Block
languagebash
themeMidnight
title
unauthenticated.VES_PNFREG_OUTPUT
PNF Resource in AAI after step 0
linenumberstrue
collapsetrue
[
{
    "
{\"event\":{\"commonEventHeader\":{\"startEpochMicrosec\":1555076831049,\"eventId\":\"registration_1555076831049\",\"internalHeaderFields\":{\"collectorTimeStamp\":\"Fri, 04 12 2019 03:34:44 UTC\"},\"eventType\":\"pnfRegistration\",\"priority\":\"Normal\",\"version\":\"4.0.1\",\"reportingEntityName\":\"VESMapper\",\"sequence\":0,\"domain\":\"pnfRegistration\",\"lastEpochMicrosec\":1555076831049,\"eventName\":\"pnfRegistration\",\"vesEventListenerVersion\":\"7.0.1\",\"sourceName\":\"Huawei-HWTCC01B7503\"},\"pnfRegistrationFields\":{\"unitType\":\"\",\"serialNumber\":\"HWTCC01B7503\",\"additionalFields\":{\"remote-id\":\"AC9.0234.0338\",\"attachment-point\":\"167772165-5-1\",\"cvlan\":\"11\",\"svlan\":\"101\"},\"pnfRegistrationFieldsVersion\":\"2.0\",\"manufactureDate\":\"\",\"modelNumber\":\"\",\"lastServiceDate\":\"\",\"unitFamily\":\"\",\"vendorName\":\"Huawei\",\"oamV4IpAddress\":\"\",\"oamV6IpAddress\":\"\",\"softwareVersion\":\"v2\"}}}" ]
Code Block
languagebash
themeMidnight
titleAAI-EVENT with updated PNF resource object
linenumberstrue
collapsetrue
[
    "{\"cambria.partition\":\"AAI\",\"event-header\":{\"severity\":\"NORMAL\",\"entity-type\":\"service-instance\",\"top-entity-type\":\"customer\",\"entity-link\":\"/aai/v14/business/customers/customer/BBSCustomer/service-subscriptions/service-subscription/BBS_E2E_Service/service-instances/service-instance/03b92492-c5c0-487a-b414-d5427ab6f041\",\"event-type\":\"AAI-EVENT\",\"domain\":\"dev\",\"action\":\"UPDATE\",\"sequence-number\":\"0\",\"id\":\"827f45f8-7239-4d24-91e4-23e1eb6c253a\",\"source-name\":\"MSO\",\"version\":\"v14\",\"timestamp\":\"20190412-15:34:18:184\"},\"entity\":{\"global-customer-id\":\"BBSCustomer\",\"subscriber-name\":\"BBSCustomer\",\"service-subscriptions\":{\"service-subscription\":[{\"service-type\":\"BBS_E2E_Service\",\"service-instances\":{\"service-instance\":[{\"input-parameters\":\"{\\\"service\\\":{\\\"name\\\":\\\"BBS_E2E_Service\\\",\\\"description\\\":\\\"Service Order for a new HSIA CFS\\\",\\\"serviceInvariantUuid\\\":\\\"e3bec339-b5fe-43ec-aa2a-3ccbc5f2b887\\\",\\\"serviceUuid\\\":\\\"90b476bc-0988-4417-bae9-41b376f0e1b6\\\",\\\"globalSubscriberId\\\":\\\"BBSCustomer\\\",\\\"serviceType\\\":\\\"BBS_E2E_Service\\\",\\\"parameters\\\":{\\\"locationConstraints\\\":null,\\\"resources\\\":[{\\\"resourceName\\\":\\\"VnfVirtualLink\\\",\\\"resourceInvariantUuid\\\":\\\"be4df81a-ee52-45dc-9efb-5e9e71caecfd\\\",\\\"resourceUuid\\\":\\\"5fdd1d75-d347-48ee-9a51-705be7e461b5\\\",\\\"resourceCustomizationUuid\\\":null,\\\"parameters\\\":{\\\"locationConstraints\\\":null,\\\"resources\\\":null,\\\"requestInputs\\\":null}},{\\\"resourceName\\\":\\\"PonUni\\\",\\\"resourceInvariantUuid\\\":\\\"5671c881-c393-43fb-a454-520036b41773\\\",\\\"resourceUuid\\\":\\\"b022e2f6-0063-462f-83ca-0c2c941cc02f\\\",\\\"resourceCustomizationUuid\\\":null,\\\"parameters\\\":{\\\"locationConstraints\\\":null,\\\"resources\\\":null,\\\"requestInputs\\\":null}},{\\\"resourceName\\\":\\\"EdgeInternetProfile\\\",\\\"resourceInvariantUuid\\\":\\\"b2321123-c7e2-4dd8-ae06-eb87e5967b61\\\",\\\"resourceUuid\\\":\\\"925bf9d7-bc95-4cea-9ad7-d65ef36883ed\\\",\\\"resourceCustomizationUuid\\\":\\\"f6ce7189-eff3-49be-a41c-ad39e756a765\\\",\\\"parameters\\\":{\\\"locationConstraints\\\":null,\\\"resources\\\":null,\\\"requestInputs\\\":null}},{\\\"resourceName\\\":\\\"OltNni\\\",\\\"resourceInvariantUuid\\\":\\\"83a3d48a-590a-489c-a674-a0ca0b5dad58\\\",\\\"resourceUuid\\\":\\\"53093b44-9380-451a-842c-2c2763f61338\\\",\\\"resourceCustomizationUuid\\\":null,\\\"parameters\\\":{\\\"locationConstraints\\\":null,\\\"resources\\\":null,\\\"requestInputs\\\":null}},{\\\"resourceName\\\":\\\"ONT\\\",\\\"resourceInvariantUuid\\\":\\\"72ac0a30-c575-4477-97c4-2e1354ed5b84\\\",\\\"resourceUuid\\\":\\\"7c60ba90-ca3f-482c-82aa-664c776ab988\\\",\\\"resourceCustomizationUuid\\\":\\\"408a201f-2b13-40c2-83cd-3f32fdf0fce4\\\",\\\"parameters\\\":{\\\"locationConstraints\\\":null,\\\"resources\\\":null,\\\"requestInputs\\\":null}},{\\\"resourceName\\\":\\\"OntNni\\\",\\\"resourceInvariantUuid\\\":\\\"75f1210d-0965-41db-9336-408f881b0801\\\",\\\"resourceUuid\\\":\\\"1cee3440-6ec8-44e0-8e68-2b23dcd51f30\\\",\\\"resourceCustomizationUuid\\\":null,\\\"parameters\\\":{\\\"locationConstraints\\\":null,\\\"resources\\\":null,\\\"requestInputs\\\":null}},{\\\"resourceName\\\":\\\"OLT\\\",\\\"resourceInvariantUuid\\\":\\\"cfdbc218-17d8-4c8b-b1a8-0b9ee63281ac\\\",\\\"resourceUuid\\\":\\\"72ef7e7b-4f41-4e1c-ba82-935fbb74398d\\\",\\\"resourceCustomizationUuid\\\":\\\"25502da4-6be6-4a92-9dc0-36a8ed257b21\\\",\\\"parameters\\\":{\\\"locationConstraints\\\":null,\\\"resources\\\":null,\\\"requestInputs\\\":null}}],\\\"requestInputs\\\":{\\\"ont_ont_serial_num\\\":\\\"0023459876\\\",\\\"edgeinternetprofile_ip_rg_mac_addr\\\":\\\"54:04:a6:38:12:9d\\\",\\\"edgeinternetprofile_ip_downstream_speed\\\":\\\"10\\\",\\\"ont_ont_mac_addr\\\":\\\"54:04:a6:38:12:9d\\\",\\\"edgeinternetprofile_ip_access_id\\\":\\\"-\\\",\\\"ont_ont_swVersion\\\":\\\"1.0.0\\\",\\\"ont_ont_manufacturer\\\":\\\"Huawei\\\",\\\"edgeinternetprofile_ip_service_type\\\":\\\"HSIAFiberResidential\\\",\\\"ont_ont_pnf_name\\\":\\\"Huawei-HWTCC01B7503\\\",\\\"edgeinternetprofile_ip_upstream_speed\\\":\\\"10\\\",\\\"ont_ont_nf_type\\\":\\\"CPE\\\"}}}}\",\"relationship-list\":{\"relationship\":[{\"related-to\":\"pnf\",\"relationship-data\":[{\"relationship-value\":\"Huawei-HWTCC01B7503\",\"relationship-key\":\"pnf.pnf-name\"}],\"related-link\":\"/aai/v14/network/pnfs/pnf/Huawei-HWTCC01B7503\",\"relationship-label\":\"org.onap.relationships.inventory.ComposedOf\"}]},\"metadata\":{\"metadatum\":[{\"metaname\":\"remote-id\",\"resource-version\":\"1553802421110\",\"metaval\":\"AC9.0234.0337\"},{\"metaname\":\"service-type\",\"resource-version\":\"1553802421103\",\"metaval\":\"HSIAFiberResidential\"},{\"metaname\":\"rgw-mac-address\",\"resource-version\":\"1553802421096\",\"metaval\":\"54:04:a6:38:12:9d\"},{\"metaname\":\"up-speed\",\"resource-version\":\"1553802421119\",\"metaval\":\"10\"},{\"metaname\":\"down-speed\",\"resource-version\":\"1553802421127\",\"metaval\":\"10\"},{\"metaname\":\"cvlan\",\"resource-version\":\"1553802421070\",\"metaval\":\"1005\"},{\"metaname\":\"svlan\",\"resource-version\":\"1553802421082\",\"metaval\":\"100\"}]},\"model-version-id\":\"90b476bc-0988-4417-bae9-41b376f0e1b6\",\"service-instance-id\":\"03b92492-c5c0-487a-b414-d5427ab6f041\",\"resource-version\":\"1555083258104\",\"service-type\":\"E2E Service\",\"service-role\":\"E2E Service\",\"model-invariant-id\":\"e3bec339-b5fe-43ec-aa2a-3ccbc5f2b887\",\"service-instance-name\":\"BBS_E2E_Service\",\"orchestration-status\":\"assigned\"}]}}]}}}",
    "{\"cambria.partition\":\"AAI\",\"event-header\":{\"severity\":\"NORMAL\",\"entity-type\":\"pnf\",\"top-entity-type\":\"pnf\",\"entity-link\":\"/aai/v14/network/pnfs/pnf/Huawei-HWTCC01B7503\",\"event-type\":\"AAI-EVENT\",\"domain\":\"dev\",\"action\":\"UPDATE\",\"sequence-number\":\"0\",\"id\":\"31c78de1-ed62-4b0e-acf9-9c3b4601fb0c\",\"source-name\":\"prh\",\"version\":\"v14\",\"timestamp\":\"20190412-15:34:45:899\"},\"entity\":{\"nf-role\":\"\",\"equip-type\":\"\",\"relationship-list\":{\"relationship\":[{\"related-to\":\"service-instance\",\"relationship-data\":[{\"relationship-value\":\"BBSCustomer\",\"relationship-key\":\"customer.global-customer-id\"},{\"relationship-value\":\"BBS_E2E_Service\",\"relationship-key\":\"service-subscription.service-type\"},{\"relationship-value\":\"03b92492-c5c0-487a-b414-d5427ab6f041\",\"relationship-key\":\"service-instance.service-instance-id\"}],\"related-link\":\"/aai/v14/business/customers/customer/BBSCustomer/service-subscriptions/service-subscription/BBS_E2E_Service/service-instances/service-instance/03b92492-c5c0-487a-b414-d5427ab6f041\",\"relationship-label\":\"org.onap.relationships.inventory.ComposedOf\",\"related-to-property\":[{\"property-key\":\"service-instance.service-instance-name\",\"property-value\":\"BBS_E2E_Service\"}]}]},\"equip-vendor\":\"Huawei\",\"equip-model\":\"\",\"in-maint\":false,\"serial-number\":\"HWTCC01B7503\",\"resource-version\":\"1555083285880\",\"sw-version\":\"v2\",\"pnf-id\":\"4fca7530-062e-4f8a-9404-496832555c29\",\"pnf-name\":\"Huawei-HWTCC01B7503\"}}"
]
Code Block
languagebash
themeMidnight
titleunauthenticated.PNF_READY
linenumberstrue
collapsetrue
[
    "{\"additionalFields\":{\"remote-id\":\"AC9.0234.0338\",\"attachment-point\":\"167772165-5-1\",\"cvlan\":\"11\",\"svlan\":\"101\"},\"correlationId\":\"Huawei-HWTCC01B7503\"}"
]
Conclusion (Pass/Fail)
Status
colourYellow
titlePARTIALLY TESTED

- Casablanca MR instead of Dublin
- Pair-wise testing RESTCONF Collector (with CPE registration mocked message) --> VES mapper --> PRH

Testing LabSwisscom LabTesting Date2019.04.12Tester Name

...

NOT YET TESTED

...

pnf-name": "Huawei-4857544302FF269D",
    "pnf-id": "cc726992-8f34-4008-9ef3-3a406852f283",
    "in-maint": false,
    "resource-version": "1559724100728"
}

1. Access SDN M&C notifies RESTCONF collector with a PNF registration event

Code Block
languagebash
themeMidnight
titlePNF Registration Event
linenumberstrue
collapsetrue
{
    "event": {
        "commonEventHeader": {
            "startEpochMicrosec": 1555076831055,
            "eventId": "registration_15550768310388",
            "sequence": 0,
            "domain": "pnfRegistration",
            "lastEpochMicrosec": 1555076831054,
            "eventName": "pnfRegistration",
            "vesEventListenerVersion": "7.0.1",
            "eventType": "pnfRegistration",
            "sourceName": "Huawei-4857544302FF269D",
            "priority": "Normal",
            "version": "4.0.1",
            "reportingEntityName": "VESMapper"
        },
        "pnfRegistrationFields": {
            "unitType": "",
            "serialNumber": "4857544302FF269D",
            "additionalFields": {
                "remote-id": "AC9.000.010.001",
                "attachmentPoint": "001-5-1",
                "cvlan": "10",
                "svlan": "100"
            },
            "pnfRegistrationFieldsVersion": "2.0",
            "manufactureDate": "",
            "modelNumber": "",
            "lastServiceDate": "",
            "unitFamily": "",
            "vendorName": "Huawei",
            "oamV4IpAddress": "",
            "oamV6IpAddress": "",
            "softwareVersion": "v1"
        }
    }
}

2. VES mapper maps RESTCONF event to VES message and publish the message in DMaaP's unauthenticated.VES_PNFREG_OUTPUT

Code Block
languagebash
themeMidnight
titleunauthenticated.VES_PNFREG_OUTPUT
linenumberstrue
collapsetrue
"{\"event\":{\"commonEventHeader\":{\"startEpochMicrosec\":1555076831055,\"eventId\":\"registration_15550768310388\",\"internalHeaderFields\":{\"collectorTimeStamp\":\"Wed, 06 05 2019 09:22:03 UTC\"},\"eventType\":\"pnfRegistration\",\"priority\":\"Normal\",\"version\":\"4.0.1\",\"reportingEntityName\":\"VESMapper\",\"sequence\":0,\"domain\":\"pnfRegistration\",\"lastEpochMicrosec\":1555076831054,\"eventName\":\"pnfRegistration\",\"vesEventListenerVersion\":\"7.0.1\",\"sourceName\":\"Huawei-4857544302FF269D\"},\"pnfRegistrationFields\":{\"unitType\":\"\",\"serialNumber\":\"4857544302FF269D\",\"additionalFields\":{\"remote-id\":\"AC9.000.010.001\",\"attachmentPoint\":\"001-5-1\",\"cvlan\":\"10\",\"svlan\":\"100\"},\"pnfRegistrationFieldsVersion\":\"2.0\",\"manufactureDate\":\"\",\"modelNumber\":\"\",\"lastServiceDate\":\"\",\"unitFamily\":\"\",\"vendorName\":\"Huawei\",\"oamV4IpAddress\":\"\",\"oamV6IpAddress\":\"\",\"softwareVersion\":\"v1\"}}}"

3. PRH consumes PNF registration VES event
4. PRH updates CPE PNF resource object in AAI with new values

Code Block
languagebash
themeMidnight
titleUpdated PNF resource object in AAI
linenumberstrue
collapsetrue
{
    "pnf-name": "Huawei-4857544302FF269D",
    "pnf-id": "cc726992-8f34-4008-9ef3-3a406852f283",
    "equip-type": "",
    "equip-vendor": "Huawei",
    "equip-model": "",
    "sw-version": "v1",
    "in-maint": false,
    "serial-number": "4857544302FF269D",
    "resource-version": "1559724188094",
    "nf-role": "",
    "relationship-list": {
        "relationship": [
            {
                "related-to": "logical-link",
                "relationship-label": "org.onap.relationships.inventory.BridgedTo",
                "related-link": "/aai/v14/network/logical-links/logical-link/001-5-1",
                "relationship-data": [
                    {
                        "relationship-key": "logical-link.link-name",
                        "relationship-value": "001-5-1"
                    }
                ]
            },
            {
                "related-to": "service-instance",
                "relationship-label": "org.onap.relationships.inventory.ComposedOf",
                "related-link": "/aai/v14/business/customers/customer/6f486438-87b5-4bee-8f85-30090c760501/service-subscriptions/service-subscription/BBS_E2E_Service/service-instances/service-instance/eca9abe4-7f5a-4f17-9f80-89509f4d5236",
                "relationship-data": [
                    {
                        "relationship-key": "customer.global-customer-id",
                        "relationship-value": "6f486438-87b5-4bee-8f85-30090c760501"
                    },
                    {
                        "relationship-key": "service-subscription.service-type",
                        "relationship-value": "BBS_E2E_Service"
                    },
                    {
                        "relationship-key": "service-instance.service-instance-id",
                        "relationship-value": "eca9abe4-7f5a-4f17-9f80-89509f4d5236"
                    }
                ],
                "related-to-property": [
                    {
                        "property-key": "service-instance.service-instance-name",
                        "property-value": "BBS_E2E_Service_7207"
                    }
                ]
            }
        ]
    }
}

5. PRH publishes PNF_READY event in DMaaP's unauthenticated.PNF_READY topic

Code Block
languagebash
themeMidnight
titleunauthenticated.PNF_READY
linenumberstrue
collapsetrue
[
    "{\"additionalFields\":{\"remote-id\":\"AC9.000.010.001\",\"attachment-point\":\"001-5-1\",\"cvlan\":\"10\",\"svlan\":\"100\"},\"correlationId\":\"Huawei-4857544302FF269D\"}"
]

6. SO consumes PNF_READY event and proceeds with service orchestration

Code Block
languagebash
themeMidnight
titleComplete service instance with PNF and Generic-VNFs (AccessConnectivity and InternetProfile)
linenumberstrue
collapsetrue
{
    "service-instance-id": "8dc0417a-5cac-4f4b-b29a-9f5f66f071a0",
    "service-instance-name": "BBS_E2E_Service_2537",
    "service-type": "E2E Service",
    "service-role": "E2E Service",
    "model-invariant-id": "b6f10a9e-3fe1-403f-a378-52d2196cda49",
    "model-version-id": "0187be8c-8efb-4531-97fa-dbe984ed9cdb",
    "resource-version": "1559662239257",
    "selflink": "restconf/config/GENERIC-RESOURCE-API:services/service/8dc0417a-5cac-4f4b-b29a-9f5f66f071a0/service-data/service-topology/",
    "orchestration-status": "active",
    "input-parameters": "{\"service\":{\"name\":\"BBS_E2E_Service_2537\",\"description\":\"Service Order for a new HSIA CFS\",\"serviceInvariantUuid\":\"b6f10a9e-3fe1-403f-a378-52d2196cda49\",\"serviceUuid\":\"0187be8c-8efb-4531-97fa-dbe984ed9cdb\",\"globalSubscriberId\":\"6f486438-87b5-4bee-8f85-30090c760501\",\"serviceType\":\"BBS_E2E_Service\",\"parameters\":{\"locationConstraints\":null,\"resources\":[{\"resourceName\":\"VnfVirtualLink\",\"resourceInvariantUuid\":\"4aa1f04b-1ddd-4a91-9ee0-188c279500df\",\"resourceUuid\":\"d5a9542b-8b76-45e1-ac28-ef939a470da7\",\"resourceCustomizationUuid\":null,\"parameters\":{\"locationConstraints\":null,\"resources\":null,\"requestInputs\":null}},{\"resourceName\":\"CPE\",\"resourceInvariantUuid\":\"0ee07fe6-a156-4e59-9dee-09a775d02bca\",\"resourceUuid\":\"8f5fe623-c5e3-4ab3-90f9-3a28daea6601\",\"resourceCustomizationUuid\":null,\"parameters\":{\"locationConstraints\":null,\"resources\":null,\"requestInputs\":null}},{\"resourceName\":\"OltNni\",\"resourceInvariantUuid\":\"087874c1-5849-4db3-a42c-ade4386c145d\",\"resourceUuid\":\"59a09943-e4f0-41ad-8752-a3d45dd0d16a\",\"resourceCustomizationUuid\":null,\"parameters\":{\"locationConstraints\":null,\"resources\":null,\"requestInputs\":null}},{\"resourceName\":\"PonUni\",\"resourceInvariantUuid\":\"4849b44b-ff9d-4d1b-a02f-04b4d61ecdfe\",\"resourceUuid\":\"11d87d6d-c241-4749-b57a-bf526cbec346\",\"resourceCustomizationUuid\":null,\"parameters\":{\"locationConstraints\":null,\"resources\":null,\"requestInputs\":null}},{\"resourceName\":\"InternetProfile\",\"resourceInvariantUuid\":\"acbe6358-6ce4-43a9-9385-111fe5cadad3\",\"resourceUuid\":\"a8de16d8-0d1a-4a19-80ac-2bcb2790e9a6\",\"resourceCustomizationUuid\":null,\"parameters\":{\"locationConstraints\":null,\"resources\":null,\"requestInputs\":null}},{\"resourceName\":\"OntNni\",\"resourceInvariantUuid\":\"31da0fd3-084f-4ba7-b738-13591898c054\",\"resourceUuid\":\"8b95ac87-0b04-4cff-82dc-8b9af33ad808\",\"resourceCustomizationUuid\":null,\"parameters\":{\"locationConstraints\":null,\"resources\":null,\"requestInputs\":null}},{\"resourceName\":\"AccessConnectivity\",\"resourceInvariantUuid\":\"53018dba-c934-415d-b4b1-0b1cae9553b8\",\"resourceUuid\":\"b464fd87-3663-46c9-adc5-6f7d9e98ff26\",\"resourceCustomizationUuid\":null,\"parameters\":{\"locationConstraints\":null,\"resources\":null,\"requestInputs\":null}}],\"requestInputs\":{\"ont_ont_serial_num\":\"4857544302FF269D\",\"edgeinternetprofile_ip_rg_mac_addr\":\"54:04:a6:38:12:9d\",\"edgeinternetprofile_ip_downstream_speed\":\"10\",\"ont_ont_mac_addr\":\"54:04:a6:38:12:9d\",\"ont_ont_swVersion\":\"1.0.0\",\"ont_ont_manufacturer\":\"HUAWEI\",\"cvlan\":\"10\",\"edgeinternetprofile_ip_upstream_speed\":\"10\",\"edgeinternetprofile_ip_remote_id\":\"AC9.000.010.001\",\"edgeinternetprofile_ip_service_type\":\"BBS_E2E_Service\",\"ont_ont_pnf_name\":\"Huawei-4857544302FF269D\",\"svlan\":\"100\",\"ont_ont_nf_type\":\"HN8255WS\"}}}}",
    "relationship-list": {
        "relationship": [
            {
                "related-to": "generic-vnf",
                "relationship-label": "org.onap.relationships.inventory.ComposedOf",
                "related-link": "/aai/v16/network/generic-vnfs/generic-vnf/858b",
                "relationship-data": [
                    {
                        "relationship-key": "generic-vnf.vnf-id",
                        "relationship-value": "858b"
                    }
                ],
                "related-to-property": [
                    {
                        "property-key": "generic-vnf.vnf-name",
                        "property-value": "vnf-bf23a45dcf6e"
                    }
                ]
            },
            {
                "related-to": "generic-vnf",
                "relationship-label": "org.onap.relationships.inventory.ComposedOf",
                "related-link": "/aai/v16/network/generic-vnfs/generic-vnf/ae77",
                "relationship-data": [
                    {
                        "relationship-key": "generic-vnf.vnf-id",
                        "relationship-value": "ae77"
                    }
                ],
                "related-to-property": [
                    {
                        "property-key": "generic-vnf.vnf-name",
                        "property-value": "vnf-b6fdf3bcc111"
                    }
                ]
            },
            {
                "related-to": "pnf",
                "relationship-label": "org.onap.relationships.inventory.ComposedOf",
                "related-link": "/aai/v16/network/pnfs/pnf/Huawei-4857544302FF269D",
                "relationship-data": [
                    {
                        "relationship-key": "pnf.pnf-name",
                        "relationship-value": "Huawei-4857544302FF269D"
                    }
                ]
            }
        ]
    },
    "metadata": {
        "metadatum": [
            {
                "metaname": "up-speed",
                "metaval": "10",
                "resource-version": "1559662239257"
            },
            {
                "metaname": "expected-ont-id",
                "metaval": "4857544302FF269D",
                "resource-version": "1559662239257"
            },
            {
                "metaname": "rgw-mac-address",
                "metaval": "54:04:a6:38:12:9d",
                "resource-version": "1559662239257"
            },
            {
                "metaname": "service-type",
                "metaval": "BBS_E2E_Service",
                "resource-version": "1559662239257"
            },
            {
                "metaname": "down-speed",
                "metaval": "10",
                "resource-version": "1559662239257"
            },
            {
                "metaname": "cvlan",
                "metaval": "10",
                "resource-version": "1559662239257"
            },
            {
                "metaname": "svlan",
                "metaval": "100",
                "resource-version": "1559662239257"
            },
            {
                "metaname": "remote-id",
                "metaval": "AC9.000.010.001",
                "resource-version": "1559662239257"
            },
            {
                "metaname": "controller-service-id",
                "metaval": "HSI-2019060415141146042320",
                "resource-version": "1559662239257"
            }
        ]
    }
}


Conclusion (Pass/Fail)
Status
colourGreen
titlePASS


Testing LabSwisscom Lab
Testing Date2019.06.05
Tester Name

CPE Authentication
Anchor
C3
C3

Test Case IDC3
Test Case NameCPE Authentication


DescriptionRight after the service is instantiated, it's orchestration-status is "Assigned". The service instance becomes "Active" only after the CPE Authentication is successful. Edge SDN M&C reports to ONAP about CPE Authentication
ReleaseDublin
Preconditions

BBS E2E Service has been successfully instantiated by ONAP and it's orchestration-status is "Assigned". 

Testing Steps

1. Edge SDN M&C detects and reports via a VES event the CPE Authentication. The VES event contains the CPE / PNF correlation ID as sourceName

2. BBS-ep process the CPE Authentication VES event and triggers policy to update the orchestration status of the service instance

3. BBS APEX's policy updates the service instance in AAI with the correct orchestration-status

Expected Results

Service instance orchestration-status is updated from "Assigned" to "Active"

Actual Results

0. Service is instantiated and stored in AAI with orchestration-status = "Assigned" 

Code Block
languagebash
themeMidnight
titleService instance in AAI, orchestration-status="Assigned"
linenumberstrue
collapsetrue
{
    "service-instance-id": "8dc0417a-5cac-4f4b-b29a-9f5f66f071a0",
    "service-instance-name": "BBS_E2E_Service_2537",
    "service-type": "E2E Service",
    "service-role": "E2E Service",
    "model-invariant-id": "b6f10a9e-3fe1-403f-a378-52d2196cda49",
    "model-version-id": "0187be8c-8efb-4531-97fa-dbe984ed9cdb",
    "resource-version": "1559724188996",
    "selflink": "restconf/config/GENERIC-RESOURCE-API:services/service/8dc0417a-5cac-4f4b-b29a-9f5f66f071a0/service-data/service-topology/",
    "orchestration-status": "Assigned",
    "input-parameters": "{\"service\":{\"name\":\"BBS_E2E_Service_2537\",\"description\":\"Service Order for a new HSIA CFS\",\"serviceInvariantUuid\":\"b6f10a9e-3fe1-403f-a378-52d2196cda49\",\"serviceUuid\":\"0187be8c-8efb-4531-97fa-dbe984ed9cdb\",\"globalSubscriberId\":\"6f486438-87b5-4bee-8f85-30090c760501\",\"serviceType\":\"BBS_E2E_Service\",\"parameters\":{\"locationConstraints\":null,\"resources\":[{\"resourceName\":\"VnfVirtualLink\",\"resourceInvariantUuid\":\"4aa1f04b-1ddd-4a91-9ee0-188c279500df\",\"resourceUuid\":\"d5a9542b-8b76-45e1-ac28-ef939a470da7\",\"resourceCustomizationUuid\":null,\"parameters\":{\"locationConstraints\":null,\"resources\":null,\"requestInputs\":null}},{\"resourceName\":\"CPE\",\"resourceInvariantUuid\":\"0ee07fe6-a156-4e59-9dee-09a775d02bca\",\"resourceUuid\":\"8f5fe623-c5e3-4ab3-90f9-3a28daea6601\",\"resourceCustomizationUuid\":null,\"parameters\":{\"locationConstraints\":null,\"resources\":null,\"requestInputs\":null}},{\"resourceName\":\"OltNni\",\"resourceInvariantUuid\":\"087874c1-5849-4db3-a42c-ade4386c145d\",\"resourceUuid\":\"59a09943-e4f0-41ad-8752-a3d45dd0d16a\",\"resourceCustomizationUuid\":null,\"parameters\":{\"locationConstraints\":null,\"resources\":null,\"requestInputs\":null}},{\"resourceName\":\"PonUni\",\"resourceInvariantUuid\":\"4849b44b-ff9d-4d1b-a02f-04b4d61ecdfe\",\"resourceUuid\":\"11d87d6d-c241-4749-b57a-bf526cbec346\",\"resourceCustomizationUuid\":null,\"parameters\":{\"locationConstraints\":null,\"resources\":null,\"requestInputs\":null}},{\"resourceName\":\"InternetProfile\",\"resourceInvariantUuid\":\"acbe6358-6ce4-43a9-9385-111fe5cadad3\",\"resourceUuid\":\"a8de16d8-0d1a-4a19-80ac-2bcb2790e9a6\",\"resourceCustomizationUuid\":null,\"parameters\":{\"locationConstraints\":null,\"resources\":null,\"requestInputs\":null}},{\"resourceName\":\"OntNni\",\"resourceInvariantUuid\":\"31da0fd3-084f-4ba7-b738-13591898c054\",\"resourceUuid\":\"8b95ac87-0b04-4cff-82dc-8b9af33ad808\",\"resourceCustomizationUuid\":null,\"parameters\":{\"locationConstraints\":null,\"resources\":null,\"requestInputs\":null}},{\"resourceName\":\"AccessConnectivity\",\"resourceInvariantUuid\":\"53018dba-c934-415d-b4b1-0b1cae9553b8\",\"resourceUuid\":\"b464fd87-3663-46c9-adc5-6f7d9e98ff26\",\"resourceCustomizationUuid\":null,\"parameters\":{\"locationConstraints\":null,\"resources\":null,\"requestInputs\":null}}],\"requestInputs\":{\"ont_ont_serial_num\":\"4857544302FF269D\",\"edgeinternetprofile_ip_rg_mac_addr\":\"54:04:a6:38:12:9d\",\"edgeinternetprofile_ip_downstream_speed\":\"10\",\"ont_ont_mac_addr\":\"54:04:a6:38:12:9d\",\"ont_ont_swVersion\":\"1.0.0\",\"ont_ont_manufacturer\":\"HUAWEI\",\"cvlan\":\"10\",\"edgeinternetprofile_ip_upstream_speed\":\"10\",\"edgeinternetprofile_ip_remote_id\":\"AC9.000.010.001\",\"edgeinternetprofile_ip_service_type\":\"BBS_E2E_Service\",\"ont_ont_pnf_name\":\"Huawei-4857544302FF269D\",\"svlan\":\"100\",\"ont_ont_nf_type\":\"HN8255WS\"}}}}",
    "relationship-list": {
        "relationship": [
            {
                "related-to": "generic-vnf",
                "relationship-label": "org.onap.relationships.inventory.ComposedOf",
                "related-link": "/aai/v16/network/generic-vnfs/generic-vnf/858b",
                "relationship-data": [
                    {
                        "relationship-key": "generic-vnf.vnf-id",
                        "relationship-value": "858b"
                    }
                ],
                "related-to-property": [
                    {
                        "property-key": "generic-vnf.vnf-name",
                        "property-value": "vnf-bf23a45dcf6e"
                    }
                ]
            },
            {
                "related-to": "generic-vnf",
                "relationship-label": "org.onap.relationships.inventory.ComposedOf",
                "related-link": "/aai/v16/network/generic-vnfs/generic-vnf/ae77",
                "relationship-data": [
                    {
                        "relationship-key": "generic-vnf.vnf-id",
                        "relationship-value": "ae77"
                    }
                ],
                "related-to-property": [
                    {
                        "property-key": "generic-vnf.vnf-name",
                        "property-value": "vnf-b6fdf3bcc111"
                    }
                ]
            },
            {
                "related-to": "pnf",
                "relationship-label": "org.onap.relationships.inventory.ComposedOf",
                "related-link": "/aai/v16/network/pnfs/pnf/Huawei-4857544302FF269D",
                "relationship-data": [
                    {
                        "relationship-key": "pnf.pnf-name",
                        "relationship-value": "Huawei-4857544302FF269D"
                    }
                ]
            }
        ]
    },
    "metadata": {
        "metadatum": [
            {
                "metaname": "up-speed",
                "metaval": "10",
                "resource-version": "1559662239257"
            },
            {
                "metaname": "expected-ont-id",
                "metaval": "4857544302FF269D",
                "resource-version": "1559662239257"
            },
            {
                "metaname": "rgw-mac-address",
                "metaval": "54:04:a6:38:12:9d",
                "resource-version": "1559662239257"
            },
            {
                "metaname": "service-type",
                "metaval": "BBS_E2E_Service",
                "resource-version": "1559662239257"
            },
            {
                "metaname": "down-speed",
                "metaval": "10",
                "resource-version": "1559662239257"
            },
            {
                "metaname": "cvlan",
                "metaval": "10",
                "resource-version": "1559662239257"
            },
            {
                "metaname": "svlan",
                "metaval": "100",
                "resource-version": "1559662239257"
            },
            {
                "metaname": "remote-id",
                "metaval": "AC9.000.010.001",
                "resource-version": "1559662239257"
            },
            {
                "metaname": "controller-service-id",
                "metaval": "HSI-2019060415141146042320",
                "resource-version": "1559662239257"
            }
        ]
    }
}

1. Edge SDN M&C detects and reports via a VES event the CPE Authentication. The VES event contains the CPE / PNF correlation ID as sourceName

Code Block
languagebash
themeMidnight
titleCPE Authentication VES message
{
    "event": {
        "commonEventHeader": {
            "sourceId": "",
            "startEpochMicrosec": 1413378172000000,
            "eventId": "ab305d54-85b4-a31b-7db2fb6b9e546015",
            "timeZoneOffset": "",
            "reportingEntityId": "",
            "internalHeaderFields": {},
            "eventType": "applicationNf",
            "priority": "Normal",
            "version": "4.0.1",
            "reportingEntityName": "thirdparty-sdnc-idfromesrrequest",
            "sequence": 0,
            "domain": "stateChange",
            "lastEpochMicrosec": 1413378172000000,
            "eventName": "StateChange_cpe_authentication",
            "vesEventListenerVersion": "7.0.1",
            "sourceName": "{{pnf-name}}"
        },
        "stateChangeFields": {
            "additionalFields": {
                "macAddress": "54:04:a6:38:12:9d",
                "swVersion": "1.2.3"
            },
            "oldState": "outOfService",
            "stateChangeFieldsVersion": "4.0",
            "stateInterface": "",
            "newState": "inService"
        }
    }
}

2. BBS-ep process the CPE Authentication VES event and triggers policy to update the orchestration status of the service instance

3. BBS APEX's policy updates the service instance in AAI with the correct orchestration-status

Code Block
languagebash
themeMidnight
titleUpdated service instance in AAI
linenumberstrue
collapsetrue
{
    "service-instance-id": "8dc0417a-5cac-4f4b-b29a-9f5f66f071a0",
    "service-instance-name": "BBS_E2E_Service_2537",
    "service-type": "E2E Service",
    "service-role": "E2E Service",
    "model-invariant-id": "b6f10a9e-3fe1-403f-a378-52d2196cda49",
    "model-version-id": "0187be8c-8efb-4531-97fa-dbe984ed9cdb",
    "resource-version": "1559728063730",
    "selflink": "restconf/config/GENERIC-RESOURCE-API:services/service/8dc0417a-5cac-4f4b-b29a-9f5f66f071a0/service-data/service-topology/",
    "orchestration-status": "active",
    "input-parameters": "{\"service\":{\"name\":\"BBS_E2E_Service_2537\",\"description\":\"Service Order for a new HSIA CFS\",\"serviceInvariantUuid\":\"b6f10a9e-3fe1-403f-a378-52d2196cda49\",\"serviceUuid\":\"0187be8c-8efb-4531-97fa-dbe984ed9cdb\",\"globalSubscriberId\":\"6f486438-87b5-4bee-8f85-30090c760501\",\"serviceType\":\"BBS_E2E_Service\",\"parameters\":{\"locationConstraints\":null,\"resources\":[{\"resourceName\":\"VnfVirtualLink\",\"resourceInvariantUuid\":\"4aa1f04b-1ddd-4a91-9ee0-188c279500df\",\"resourceUuid\":\"d5a9542b-8b76-45e1-ac28-ef939a470da7\",\"resourceCustomizationUuid\":null,\"parameters\":{\"locationConstraints\":null,\"resources\":null,\"requestInputs\":null}},{\"resourceName\":\"CPE\",\"resourceInvariantUuid\":\"0ee07fe6-a156-4e59-9dee-09a775d02bca\",\"resourceUuid\":\"8f5fe623-c5e3-4ab3-90f9-3a28daea6601\",\"resourceCustomizationUuid\":null,\"parameters\":{\"locationConstraints\":null,\"resources\":null,\"requestInputs\":null}},{\"resourceName\":\"OltNni\",\"resourceInvariantUuid\":\"087874c1-5849-4db3-a42c-ade4386c145d\",\"resourceUuid\":\"59a09943-e4f0-41ad-8752-a3d45dd0d16a\",\"resourceCustomizationUuid\":null,\"parameters\":{\"locationConstraints\":null,\"resources\":null,\"requestInputs\":null}},{\"resourceName\":\"PonUni\",\"resourceInvariantUuid\":\"4849b44b-ff9d-4d1b-a02f-04b4d61ecdfe\",\"resourceUuid\":\"11d87d6d-c241-4749-b57a-bf526cbec346\",\"resourceCustomizationUuid\":null,\"parameters\":{\"locationConstraints\":null,\"resources\":null,\"requestInputs\":null}},{\"resourceName\":\"InternetProfile\",\"resourceInvariantUuid\":\"acbe6358-6ce4-43a9-9385-111fe5cadad3\",\"resourceUuid\":\"a8de16d8-0d1a-4a19-80ac-2bcb2790e9a6\",\"resourceCustomizationUuid\":null,\"parameters\":{\"locationConstraints\":null,\"resources\":null,\"requestInputs\":null}},{\"resourceName\":\"OntNni\",\"resourceInvariantUuid\":\"31da0fd3-084f-4ba7-b738-13591898c054\",\"resourceUuid\":\"8b95ac87-0b04-4cff-82dc-8b9af33ad808\",\"resourceCustomizationUuid\":null,\"parameters\":{\"locationConstraints\":null,\"resources\":null,\"requestInputs\":null}},{\"resourceName\":\"AccessConnectivity\",\"resourceInvariantUuid\":\"53018dba-c934-415d-b4b1-0b1cae9553b8\",\"resourceUuid\":\"b464fd87-3663-46c9-adc5-6f7d9e98ff26\",\"resourceCustomizationUuid\":null,\"parameters\":{\"locationConstraints\":null,\"resources\":null,\"requestInputs\":null}}],\"requestInputs\":{\"ont_ont_serial_num\":\"4857544302FF269D\",\"edgeinternetprofile_ip_rg_mac_addr\":\"54:04:a6:38:12:9d\",\"edgeinternetprofile_ip_downstream_speed\":\"10\",\"ont_ont_mac_addr\":\"54:04:a6:38:12:9d\",\"ont_ont_swVersion\":\"1.0.0\",\"ont_ont_manufacturer\":\"HUAWEI\",\"cvlan\":\"10\",\"edgeinternetprofile_ip_upstream_speed\":\"10\",\"edgeinternetprofile_ip_remote_id\":\"AC9.000.010.001\",\"edgeinternetprofile_ip_service_type\":\"BBS_E2E_Service\",\"ont_ont_pnf_name\":\"Huawei-4857544302FF269D\",\"svlan\":\"100\",\"ont_ont_nf_type\":\"HN8255WS\"}}}}",
    "relationship-list": {
        "relationship": [
            {
                "related-to": "generic-vnf",
                "relationship-label": "org.onap.relationships.inventory.ComposedOf",
                "related-link": "/aai/v16/network/generic-vnfs/generic-vnf/858b",
                "relationship-data": [
                    {
                        "relationship-key": "generic-vnf.vnf-id",
                        "relationship-value": "858b"
                    }
                ],
                "related-to-property": [
                    {
                        "property-key": "generic-vnf.vnf-name",
                        "property-value": "vnf-bf23a45dcf6e"
                    }
                ]
            },
            {
                "related-to": "generic-vnf",
                "relationship-label": "org.onap.relationships.inventory.ComposedOf",
                "related-link": "/aai/v16/network/generic-vnfs/generic-vnf/ae77",
                "relationship-data": [
                    {
                        "relationship-key": "generic-vnf.vnf-id",
                        "relationship-value": "ae77"
                    }
                ],
                "related-to-property": [
                    {
                        "property-key": "generic-vnf.vnf-name",
                        "property-value": "vnf-b6fdf3bcc111"
                    }
                ]
            },
            {
                "related-to": "pnf",
                "relationship-label": "org.onap.relationships.inventory.ComposedOf",
                "related-link": "/aai/v16/network/pnfs/pnf/Huawei-4857544302FF269D",
                "relationship-data": [
                    {
                        "relationship-key": "pnf.pnf-name",
                        "relationship-value": "Huawei-4857544302FF269D"
                    }
                ]
            }
        ]
    },
    "metadata": {
        "metadatum": [
            {
                "metaname": "up-speed",
                "metaval": "10",
                "resource-version": "1559662239257"
            },
            {
                "metaname": "expected-ont-id",
                "metaval": "4857544302FF269D",
                "resource-version": "1559662239257"
            },
            {
                "metaname": "rgw-mac-address",
                "metaval": "54:04:a6:38:12:9d",
                "resource-version": "1559662239257"
            },
            {
                "metaname": "service-type",
                "metaval": "BBS_E2E_Service",
                "resource-version": "1559662239257"
            },
            {
                "metaname": "down-speed",
                "metaval": "10",
                "resource-version": "1559662239257"
            },
            {
                "metaname": "cvlan",
                "metaval": "10",
                "resource-version": "1559662239257"
            },
            {
                "metaname": "svlan",
                "metaval": "100",
                "resource-version": "1559662239257"
            },
            {
                "metaname": "remote-id",
                "metaval": "AC9.000.010.001",
                "resource-version": "1559662239257"
            },
            {
                "metaname": "controller-service-id",
                "metaval": "HSI-2019060415141146042320",
                "resource-version": "1559662239257"
            }
        ]
    }
}


Conclusion (Pass/Fail)

Status
colourGreen
titlePASS

Testing LabSwisscom Lab
Testing Date2019.06.05
Tester NameDavid Perez Caparros

...

HSIA Service Activation and Service Status Change Notification
Anchor
C4
C4

Actual Results
Test Case IDC4
Test Case Name

HSIA Service Activation and Service Status Change Notification

Description
C4
Test Case Name

HSIA Service Activation and Service Status Change Notification

DescriptionAfter service activation, the BSS is notified by ExtAPI about the service instance being active
ReleaseDublin
Preconditions

CPE Authentication is successful

Testing Steps

1. Check that service instance orchestration-status is active in AAI

2. Check that External API is sending to the BSS listener a notification on service activation right after CPE Authentication

Expected Results

1. Service instance orchestration-status=active

2. BSS listener is notified about service activation

Actual Results

1. Service instance orchestration-status=active

2. BBS portal (BSS mockup) is notified that service is completed by ExtAPI listener


[TODO: Add logs / screenshot here]

ReleaseDublin
PreconditionsTesting StepsExpected Results

Conclusion (Pass/Fail)

Status
colourGreen
titlePASS
NOT YET TESTED

Testing LabSwisscom Lab
Testing Date2019.06.05
Tester Name