Versions Compared

Key

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

...

Test Case IDC2
Test Case NameCPE Registration


DescriptionCPE PnP
ReleaseDublin Casablanca MR
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
- Access SDN M&C is registered in ONAP as 3rd party controller and there is connectivity with RESTCONF collector

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


Code Block
languagebash
themeMidnight
titleunauthenticated.VES_PNFREG_OUTPUT
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)NOT YET
Status
colourYellow
titlePARTIALLY TESTED


Testing LabSwisscom Lab
Testing Date2019.04.12
Tester Name

...