Versions Compared

Key

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

...

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

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

...