Recovery after HSIA Service Instantiation Timeout

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

SO-1938 - Getting issue details... STATUS

Expected Results


Actual Results


Conclusion (Pass/Fail)

NOT TESTED

Testing LabSwisscom Lab
Testing Date
Tester Name

CPE Registration

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

PNF Resource in AAI after step 0
{
    "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

PNF Registration Event
{
    "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

unauthenticated.VES_PNFREG_OUTPUT
"{\"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

Updated PNF resource object in AAI
{
    "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

unauthenticated.PNF_READY
[
    "{\"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

Complete service instance with PNF and Generic-VNFs (AccessConnectivity and InternetProfile)
{
    "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)PASS


Testing LabSwisscom Lab
Testing Date2019.06.05
Tester Name

CPE Authentication

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" 

Service instance in AAI, orchestration-status="Assigned"
{
    "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

CPE 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

Updated service instance in AAI
{
    "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)

PASS

Testing LabSwisscom Lab
Testing Date2019.06.05
Tester NameDavid Perez Caparros

HSIA Service Activation and Service Status Change Notification

Test Case IDC4
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]

Conclusion (Pass/Fail)

PASS

Testing LabSwisscom Lab
Testing Date2019.06.05
Tester Name
  • No labels

1 Comment

  1. David Perez Caparros do we need:

    • A test for the registration time out (14) days that includes a recovery?
    • HSIA service activation where CPE Authentication - unsuccessful to successful - this will set the service to active
    • HSIA service activation where CPE Authentication - unsuccessful to successful - this will set the CFS service to inactive