Versions Compared

Key

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

...

NOT YET TESTED
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
PreconditionsTesting StepsExpected ResultsActual ResultsConclusion (Pass/Fail)

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

...