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
Release
Casablanca
Frankfurt/Guilin
Preconditions
Users with roles: Designer
, Tester, Governance Rep, Ops, Admin
(Carlos Santana - cs0008), Admin (demo) should be available
Testing Steps
Step
Expected Result
Login to ONAP portal as a designer user
Navigate to SDC application
Navigate to ONBOARD tab
Click on
ADD + button and select Add PNF
In HOME > Create new resource > General page fill all mandatory fields and press Create button in right top corner
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 defautl 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 press Submit for Testing button, fill Message field and press OK button
Re-login as a a tester user
Navigate to SDC tab / HOME menu
From main view select Service submitted for testing
Press Start Testing button in left top corner and next Accept button.
Put comment message in Certification confirmation pop-up and press OK button
Re-login as a a governance user
Navigate to SDC tab / HOME menu
From main view select previously created Service
CREATE NEW VLM
Fill all mandatory parameters
Add License Key Groups 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
Cick on Overview from left menu and press SELECT FILE button.
Select attached pnf.csar file from your PC
Click on ADD + button and select Add PNF
In HOME > Create new resource > General page fill all mandatory fields and press Create button in right top corner
Next press Certify button. Put
Press Approve button in left top corner and put
comment message in Certification confirmation pop-up and press OK button
Re-login as a l as a ops user
Page HOME > Create new resource > General page
Navigate to SDC tab / HOME menu
From main view select previously created Service
Press Distribute button in left top corner
Press Monitor button in left top corner and verify distribution status, use refresh button
Login to rancher node.
Login to <dev>-so-so-mariadb-<576ccb887f-9v7q8> node. For example:
In HOME > Create new service > General page fill all mandatory fields (change service type from defautl 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 press Submit for Testing button, fill Message field and press OK button
Re-login as a a tester user
Navigate to SDC tab / HOME menu
From main view select Service submitted for testing
Press Start Testing button in left top corner and next Accept button.
Put comment message in Certification confirmation pop-up and press OK button
Re-login as a a governance user
Navigate to SDC tab / HOME menu
From main view select previously created Service
Press Approve button in left top corner and put comment message in Certification confirmation pop-up and press OK button
Re-login as a l as a ops user
Navigate to SDC tab / HOME menu
From main view select previously created Service
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
Page HOME > Create new resource > General pagewith fields that must be filled out is open
Create/Update saved successfully message is present in left top corner
PNF is sucesfully Certified
SDC application is open
Page HOME > Create new service > General
Composition main
with fields that must be filled out is open
Create/Update saved successfully message is present in left top corner
PNF is sucesfully Certified
SDC application is open
Page HOME > Create new service > Generalwith 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
Submitted For Testing Submitted successfully for testingmessage is present in left top corner
User is re-logged
SDC application is open and newly created Service is visible in main view
Page with Service configuration is open
Start Testing Tested successfullymessage is present in left top corner
Accept Accepted successfullymessage is present in left top corner
User is re-logged
SDC application is open and newly created Service is visible in main view
Page with Service configuration is open
Approve Approved successfullymessage is present in left top corner
User is re-logged
SDC application is open and newly created Service is visible in main view
Page with Service configuration is open
Distribute Distribute successfully message is present in left top corner
Monitor main view is opened with information about distribution
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 -- Macro pop-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