Rainy day scenario - PNF is sending registration request to ONAP where required AAI entry is not present:
Gliffy
name
PNF PNP Flow - Rainy day
pagePin
1
Sunny day scenario - PNF is sending registration request to ONAP where required AAI entry is prepared by SO workflow:
Gliffy
name
PNF PNP Flow - positive scenario
pagePin
1
PNF PNP deployment diagram
Gliffy
name
PNF_PNP_deployment
pagePin
5
PNF PNP hardware requirements
ONAP - standard ONAP instance located in Wind River lab
4 Virtual machines dedicated for PNF Simulator:
2 VCPU
8 GB of RAM
32 GB of HDD
PNF PNP test cases
High-Level descriptions
...
Verification if PNF resource registration is done properly when correct AAI record (based on correlationID) is present before first InventoryQuery is done by PRH. Verification if AAI entries: ipaddress-v4-oam and ipaddress-v6-oam are updated correctly based on pnfRegistration message contents.
...
Verification if PNF resource registration is done properly when correct AAI entry is created after first InventoryQuery is done by PRH. Verification if AAI entries: ipaddress-v4-oam and ipaddress-v6-oam are updated correctly based on pnfRegistration message contents.
...
Verification if PRH drops the PnfRegistration request when no AAI entry exists for the correlationID. AAI entries shall not be created by PRH.
...
PNF registration accepted when AAI entry is created using AAI API (without SO instantiation)
...
Verification if PNF resource registration is done properly when correct AAI record (based on correlationID) is present - created using AAI API Verification if AAI entries: ipaddress-v4-oam and ipaddress-v6-oam are updated correctly based on correlationID.
Detailed descriptions
...
Create and distribute service which contains PNF based on imported VSP
...
Verification if in VID is present PNF enabled service. Test case covers following steps from message flow in 5G - PNF Plug and Play:
STEP 1 RESOURCE DEFINITION
STEP 2 SERVICE DEFINITION
STEP 3 ARTIFACTS DISTRIBUTION
...
Robot init sucesfully executed. In intsalation server followin script shoulkd be sucesfully ececuted.~/oom/kubernetes/robot/demo-k8s.sh onap init
...
language
text
theme
Eclipse
linenumbers
true
collapse
true
...
Warning
Test update in progress for Guilin release and SO building block flow
Rainy day scenario - PNF is sending registration request to ONAP where required AAI entry is not present:
Gliffy
name
PNF PNP Flow - Rainy day
pagePin
1
Sunny day scenario - PNF is sending registration request to ONAP where required AAI entry is prepared by SO workflow:
Gliffy
name
PNF PNP Flow - positive scenario
pagePin
1
PNF PNP deployment diagram
Gliffy
name
PNF_PNP_deployment
pagePin
5
PNF PNP hardware requirements
ONAP - standard ONAP instance located in Wind River lab
4 Virtual machines dedicated for PNF Simulator:
2 VCPU
8 GB of RAM
32 GB of HDD
PNF PNP test cases
High-Level descriptions
Id.
Test Case Name
Test Case Description
T01
Create and distribute service which contains PNF based on imported VSP
Verification if in VID is present PNF enabled service.
T02
Waiting for PNF Ready
Verification if PNF PnP functionality within SO is waiting for PNFReady to be published by PRH.
T03
PNF registration accepted when AAI entry created in advance
Verification if PNF resource registration is done properly when correct AAI record (based on correlationID) is present before first InventoryQuery is done by PRH. Verification if AAI entries: ipaddress-v4-oam and ipaddress-v6-oam are updated correctly based on pnfRegistration message contents.
T04
PNF registration accepted when AAI entry created with delay
Verification if PNF resource registration is done properly when correct AAI entry is created after first InventoryQuery is done by PRH. Verification if AAI entries: ipaddress-v4-oam and ipaddress-v6-oam are updated correctly based on pnfRegistration message contents.
T05
PNF registration rejected
Verification if PRH drops the PnfRegistration request when no AAI entry exists for the correlationID. AAI entries shall not be created by PRH.
T06
Parallel PNF PnP flows
Four parallel PNF PnP flows are hibernated, PNFRegistration event is received in ONAP, proper PNF PnP enabled workflow instance is re-hydrated.
T07
PNF registration accepted when AAI entry is created using AAI API (without SO instantiation)
Verification if PNF resource registration is done properly when correct AAI record (based on correlationID) is present - created using AAI API Verification if AAI entries: ipaddress-v4-oam and ipaddress-v6-oam are updated correctly based on correlationID.
Detailed descriptions
Anchor
CreateanddistributeservicewhichcontainsPNF
CreateanddistributeservicewhichcontainsPNF
...
Test Case ID
T02
Test Case Name
Waiting for PNFReady
Description
Verification if PNF PnP functionality within SO is waiting for PNFReady to be published by PRH.
Press Submit button and next COMMIT & SUBMIT button
Navigate to Home tab
Click on IMPORT button and select IMPORT VSP
Select previously created VSP and press IMPORT VSP button
In newly opened window yoiu can moduify PNF name.
Next click Create and Certify button
Next press Certify button. Put comment message in Certification confirmation pop-up and press OK button
Navigate to SDC tab / HOME menu
Click on ADD + button and select Add Service
In HOME > Create new service > General page fill all mandatory fields (change service type from default a'lacarte to macro) and press Create button in right top corner
Go to Composition in left menu
In search box find crated PNF using its name
Drag ad drop it to main view
Next click Certify button
Next Press Distribute button in left top corner
Press Monitor button in left top corner and verify distribution status, use refresh button
Re-login as a a demo user
VID Navigate to application
From left menu select Browse SDC Service Models
User is logged in
SDC application is open
ONBOARD CATALOG is visible
New License Model window is present
All mandatory parameters are fulfilled
License Key Group is added
Entitlement Pool is added
Feature Group is added
License Agreement is added
VLM is submitted sucesfully
VLM is visible
New Software Product window is present
All mandatory parameters are fulfilled
Licensing Version, License Agreement and Feature Groups and warning is not present
Licensing Version, License Agreement and Feature Groups are defined
Select file window is opened
File is selected
File is sucesfully uploaded and VSP is submited
Home tab is opened
Import VSP window is presnet with list of dubmited VSPs
Previously create VSP is imported as VSP and Create window is opened
All modifications are present
PNF is successfully Certified
SDC application is open
Page HOME > Create new service > General with fields that must be filled out is open
Create/Update saved successfully message is present in left top corner
Composition main view is open
PNF is visible
PNF is added to service
Service is Cerified and ready for Distribution
Distribute Distribute successfully message is present in left top corner
Monitor main view is opened with information about distribution. Thesr should not be any errors.Image Removed
User is re-logged
VID application is open
In Browse SDC Service Models main view is present entry about newly created service - it can take couple of minutes ~ 15 minutes Image Removed
Actual Results
In VID is present PNF enabled service.
Conclusion (Pass/Fail)
Testing Lab
Tester Name
Krzysztof Kuzmicki
...
Executes the VNF Orchestration Test cases including setu...
==============================================================================
Initialize Customer And Models | PASS |
------------------------------------------------------------------------------
Initialize SO Openstack Identity For V3 | PASS |
------------------------------------------------------------------------------
Testsuites.Demo :: Executes the VNF Orchestration Test cases inclu... | PASS |
2 critical tests, 2 passed, 0 failed
2 tests total, 2 passed, 0 failed
==============================================================================
Testsuites | PASS |
2 critical tests, 2 passed, 0 failed
2 tests total, 2 passed, 0 failed
==============================================================================
Output: /share/logs/0000_demo_init/output.xml
Log: /share/logs/0000_demo_init/log.html
Report: /share/logs/0000_demo_init/report.html
Testing Steps
Step
Expected Result
Login to ONAP portal as a designer user
Navigate to SDC application
Navigate to ONBOARD tab
Click on CREATE NEW VLM
Fill all mandatory parameters
Add License Key Group and fill all mandatory parameters
Add Entitlement Pool and fill all mandatory parameters
Add Feature Group fill all mandatory parameters and add already created Entitlement Pool andLicense Key Group
Add License Agreement fill mandatory parameters and add already created Feature Group
Press Submit button and next COMMIT & SUBMIT button
Navigate to ONBOARD tab
Click on CREATE NEW VSP
Fill all mandatory parameters:
select Vendor defined in already created VLM
Name will be used in next steps
in ONBOARDING PROCEDURE select Network Package
Click on warning under License Agreement
Fill Licensing Version, License Agreement and Feature Groups from already created VLM
Click on Overview from left menu and press SELECT FILE button.
Press Submit button and next COMMIT & SUBMIT button
Navigate to Home tab
Click on IMPORT button and select IMPORT VSP
Select previously created VSP and press IMPORT VSP button
In newly opened window yoiu can moduify PNF name.
Next click Create and Certify button
Next press Certify button. Put comment message in Certification confirmation pop-up and press OK button
Navigate to SDC tab / HOME menu
Click on ADD + button and select Add Service
In HOME > Create new service > General page fill all mandatory fields (change service type from default a'lacarte to macro) and press Create button in right top corner
Go to Composition in left menu
In search box find crated PNF using its name
Drag ad drop it to main view
Next click Certify button
Next Press Distribute button in left top corner
Press Monitor button in left top corner and verify distribution status, use refresh button
Re-login as a a demo user
VID Navigate to application
From left menu select Browse SDC Service Models
User is logged in
SDC application is open
ONBOARD CATALOG is visible
New License Model window is present
All mandatory parameters are fulfilled
License Key Group is added
Entitlement Pool is added
Feature Group is added
License Agreement is added
VLM is submitted sucesfully
VLM is visible
New Software Product window is present
All mandatory parameters are fulfilled
Licensing Version, License Agreement and Feature Groups and warning is not present
Licensing Version, License Agreement and Feature Groups are defined
Select file window is opened
File is selected
File is sucesfully uploaded and VSP is submited
Home tab is opened
Import VSP window is presnet with list of dubmited VSPs
Previously create VSP is imported as VSP and Create window is opened
All modifications are present
PNF is successfully Certified
SDC application is open
Page HOME > Create new service > General with fields that must be filled out is open
Create/Update saved successfully message is present in left top corner
Composition main view is open
PNF is visible
PNF is added to service
Service is Cerified and ready for Distribution
Distribute Distribute successfully message is present in left top corner
Monitor main view is opened with information about distribution. Thesr should not be any errors.Image Added
User is re-logged
VID application is open
In Browse SDC Service Models main view is present entry about newly created service - it can take couple of minutes ~ 15 minutes Image Added
Actual Results
In VID is present PNF enabled service.
Conclusion (Pass/Fail)
Testing Lab
Tester Name
Krzysztof Kuzmicki
Anchor
PNF Ready
PNF Ready
Test Case ID
T02
Test Case Name
Waiting for PNFReady
Description
Verification if PNF PnP functionality within SO is waiting for PNFReady to be published by PRH.
Created PNF and Service using Test Case T01 (Create and distribute service which contains PNF based on imported VSP )
Testing Steps
Step
Expected Result
Get created service model in Test Case T01 curl --location --request GET 'https://{worker_ip}:30204/sdc2/rest/v1/catalog/services/serviceName/{service model name}/serviceVersion/1.0' \ --header 'USER_ID: cs0008' \ --header 'X-FromAppId: robot-ete' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'Authorization: Basic YmVlcDpib29w'
Fill all mandatory parameters. To "PNF (Correlation) ID" field put correlationId that will be setup in PNF simulator. Press "Confirm" button.
Close "In Progress" pop-up window
Login to so-so-bpmn-infra pod via rancher console: kubectl exec -it dev-so-so-bpmn-infra-7584f4f887-p9tmn -n onap /bin/sh open debug.log vi logs/bpmn/debug.log
Verify AAI entry created by SO service using command: curl -X GET -k -H "accept: application/json" -H "Real-Time: true" -H "Content-Type: application/json" -H "X-FromAppId: dcae-curl" -H "x-transactionId: 9998" "https://AAI:AAI@<kubernetes noed ip address>:<aai service port>/aai/v11/network/pnfs/pnf/<correlationID>"
User is logged in
VID application is open
Distributed SDC Service Model for PNF is present
Create Service Instance -- Macropop-up is present
All fields are filled. Pop-up window "In Progress" is visible
In debug.log should be present following message: o.o.s.b.i.pnf.dmaap.PnfEventReadyDmaapClient - registering for pnf ready dmaap event for correlation id: <correlationId>
Command should return JSON with empty value for IPv4 and IPv6 address {"pnf-name":"<correlationID>"","pnf-id":"testtest","in-maint":true,"resource-version":"1541720264047"}
Actual Results
Correct entry is present in AAI. Entry contains pnf-name equal to correlationID.
SO service is waiting for PNFReady to be published by PRH