Versions Compared

Key

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

vCPE Integration Test Case


Category: VNF Onboarding and Service Creation


vCPE VNFs Onboarding

Test Case IDT201
Test Case NamevCPE VNFs Onboarding
DescriptionOnboard vDHCP, vAAA, vDNS, WebServer, vBRG, vBNG, vGMux, vG
Actual Results

All VNFs onboarded successfully with Robot script (TODO: add screenshot)


Conclusion (Pass/Fail)Pass
Testing LabWindRiver Lab, Integration-SB-03
Testing DateNov. 26, 2018
Tester NameYang and Brian


vCPE Service Creation

Test Case IDT202
Test Case NamevCPE Service Creation
DescriptionThis creates vCPE service
Actual Results

All service created and distributed successfully (TODO: screenshot)

Conclusion (Pass/Fail)Pass
Testing LabWindRiver Lab, Integration-SB-03
Testing DateNov. 26, 2018
Tester NameYang and Brian


Closed Loop Configuration

Test Case IDT203
Test Case NameClosed loop configuration
DescriptionCreate and distribute closed loop artifacts from CLAMP


Actual ResultsPolicy is preset. No need to design in this use case
Conclusion (Pass/Fail)Pass
Testing LabWindRiver Lab, Integration-SB-03
Testing DateNov. 26, 2018
Tester NameYang and Brian


Closed Loop Deployment

Test Case IDT204
Test Case NameClosed loop deployment
Description

Deploy and activate closed loop control for vCPE

Actual ResultsClosed loop is preset in DCAE with ONAP install, and policy is installed with a preinstalled script (see details in Use Case service design wiki)
Conclusion (Pass/Fail)Pass
Testing LabWindRiver Lab, Integration-SB-03
Testing DateNov. 26, 2018
Tester NameYang and Brian

Category: Service Instantiation and Monitoring


Infrastructure Service Instantiation

Test Case IDT301
Test Case NamevCPE Infrastructure Service Instantiation
DescriptionThis test covers the infrastructure service instantiation process, including DHCP, AAA, DNS, Webserver, vBNG, and vGMux.
Actual Results

All networks and VNF were successfully instantiated (TODO: screenshot)


Conclusion (Pass/Fail)Pass
Testing LabWindRiver Lab SB-03
Testing DateNov. 26, 2018
Tester NameYang and Brian

   

Customer Service Instantiation

Test Case IDT302
Test Case NamevCPE Customer Service Instantiation
DescriptionThis test covers the customer service instantiation process, including vBRG emulator and vG and the related configuration.
Actual Results

Customer service successfully instantiated and configured. Need to manually update temp_network_heat_template and network_resource tables to set aic_version_max = 3.0

Demo Video

Conclusion (Pass/Fail)Pass
Testing LabWindRiver Lab SB-03
Testing DateNov. 26, 2018
Tester NameYang and Brian


Category: Closed Loop


vCPE Auto-healing

Test Case IDT401
Test Case NamevCPE Auto-healing
DescriptionThis test covers the closed loop to restart vGMux when packet loss is detected.
Actual Results

Closed loop test succeeded. Was able to restart vGMUX VM at the expected event. Need to manually insert identity-url for CloudRegion in A&AI

TODO: Screenshot of vgmux reboot


Conclusion (Pass/Fail)Pass
Testing LabWindRiver Lab SB-03
Testing DateNov. 26, 2018
Tester Name

Yang and Brian


Category: Service Termination


vCPE Service Termination

Test Case IDT501
Test Case NamevCPE Service Termination
DescriptionThis test covers vCPE service termination process
Actual Results

Succeeded in removing all components of the customer service with Openstack operation and script

TODO: screenshot of stack and network after deletion

Conclusion (Pass/Fail)Pass
Testing LabWindRiver Lab SB-03
Testing DateNov. 26, 2018
Tester NameYang and Brian


Reference

ONAP Beijing: Understanding the vFWCL use-case mechanism

Tutorial_vIMS : SDNC Updates

...

vCPE SO to SDNC Message Flow

Configuring SNIRO Emulator for vCPE Testing


Issues fixed during integration test

Set up ONAP and health check  

NumberIssuesJIRAWorkaround
1SDNC fails health check intermittently

Jira Legacy
serverSystem Jira
serverId4733707d-2057-3a0f-ae5e-4fd8aff50176
keySDNC-482

Reduce replica from 3 to 1 and not using clustering make the problem go away

2

SDC GUI doesn't come up

Jira Legacy
serverSystem Jira
serverId4733707d-2057-3a0f-ae5e-4fd8aff50176
keySDC-1839

The workaround is find an old working image for sdc-frontend and replace the failing one
3

SO fails on health check due to bpmn

can't start

Jira Legacy
serverSystem Jira
serverId4733707d-2057-3a0f-ae5e-4fd8aff50176
keySO-1166


Find a older working bpmn image from nexus3 repo and replace image version in Helm

deployment with kubectl edit command

4Portal GUI doesn't work on 8989 port

Use Firefox with portal 30225, and when switching to SDC click on the info icon at

the url bar and accept unsecure access to SDC GUI

5

All health check failed, due to the connection failure in k8s.

All cluster nodes are in Ready state:

root@oom-rancher:~/oom/kubernetes/robot# kubectl -n onap get node
NAME STATUS ROLES AGE VERSION
oom-etcd-1 Ready,SchedulingDisabled <none> 5d v1.11.2-rancher1
oom-etcd-2 NotReady,SchedulingDisabled <none> 5d v1.11.2-rancher1
oom-etcd-3 Ready,SchedulingDisabled <none> 5d v1.11.2-rancher1
oom-k8s-01 Ready <none> 5d v1.11.2-rancher1
oom-k8s-02 Ready <none> 5d v1.11.2-rancher1
oom-k8s-03 Ready <none> 5d v1.11.2-rancher1
oom-k8s-04 Ready <none> 5d v1.11.2-rancher1
oom-k8s-05 Ready <none> 5d v1.11.2-rancher1
oom-k8s-06 Ready <none> 5d v1.11.2-rancher1
oom-k8s-07 Ready <none> 5d v1.11.2-rancher1
oom-k8s-08 Ready <none> 5d v1.11.2-rancher1
oom-k8s-09 Ready <none> 5d v1.11.2-rancher1
oom-k8s-10 Ready <none> 5d v1.11.2-rancher1
oom-k8s-11 Ready <none> 5d v1.11.2-rancher1
oom-k8s-12 Ready <none> 5d v1.11.2-rancher1
oom-orch-1 NotReady,SchedulingDisabled <none> 5d v1.11.2-rancher1
oom-orch-2 Ready,SchedulingDisabled <none> 5d v1.11.2-rancher1



Restart oom-orch node can make k8s correction problem go away. You may have to restart a few pod manually like aaf-locate and aaf-service. But ONAP data seems preserved.


VNF onboarding, service creation and distribution

NumberIssue DescriptionJIRAWorkaround
1

AAI model loader fails model distribution. It appears AAI widgets are not loaded after initialization. The model loader error log shows 404 Not Found error like:

2018-11-01T22:39:25.117Z|5d569c28-6e2b-410f-98f2-17d11e978f5d|pool-2-thread-10|ModelLoader|Event-Bus|AAIRESTClient||INFO|AC0004I|AC0004I request at url = https://aai.onap:8443/aai/v14/service-design-and-creation/models/model/bb540550-d449-4745-b769-18f66508c56e resulted in http response: 404 Not Found|


Jira Legacy
serverSystem Jira
serverId4733707d-2057-3a0f-ae5e-4fd8aff50176
keyAAI-1759

run the script manually

root@oom-rancher:~# kubectl exec -it dev-aai-aai-traversal-b95847c96-fklkx -n onap gosu aaiadmin /opt/app/aai-traversal/bin/install/updateQueryData.sh

2Model distribution fails in SDNC because ueb-listener did not connect to SDC successful when starting

Jira Legacy
serverSystem Jira
serverId4733707d-2057-3a0f-ae5e-4fd8aff50176
keySDNC-472

Bounce ueb-listener can resolve the issue
3Model distribution fails on SO due to missing table entry for Generic NeutronNet

Jira Legacy
serverSystem Jira
serverId4733707d-2057-3a0f-ae5e-4fd8aff50176
keySO-1184

Code Block
titlesql to insert data
collapsetrue
INSERT INTO catalogdb.heat_template(`ARTIFACT_UUID`, `NAME`, `VERSION`, `BODY`, `TIMEOUT_MINUTES`, `DESCRIPTION`, `CREATION_TIMESTAMP`, `ARTIFACT_CHECKSUM`) VALUES('efee1d84-b8ec-11e7-abc4-cec278b6b50a', 'Generic NeutronNet', '1', 

'heat_template_version: 2013-05-23

description: A simple Neutron network

parameters:

  network_name:

    type: string

    description: Name of the Neutron Network

    default: ONAP-NW1

  shared:

     type: boolean

     description: Shared amongst tenants

     default: True

outputs:

  network_id:

    description: Openstack network identifier

    value: { get_resource: network }

resources:

  network:

    type: OS::Neutron::Net

    properties:

      name: { get_param: network_name }

      shared: { get_param: shared }

', 10, 'Generic Neutron Template', NOW(), 'MANUAL RECORD');

INSERT INTO catalogdb.heat_template_params(`HEAT_TEMPLATE_ARTIFACT_UUID`, `PARAM_NAME`, `IS_REQUIRED`, `PARAM_TYPE`, `PARAM_ALIAS`) VALUES('efee1d84-b8ec-11e7-abc4-cec278b6b50a', 'shared', 0, 'string', NULL);


INSERT INTO catalogdb.temp_network_heat_template_lookup (`NETWORK_RESOURCE_MODEL_NAME`, `HEAT_TEMPLATE_ARTIFACT_UUID`,`AIC_VERSION_MIN` , `AIC_VERSION_MAX` ) VALUES ('Generic NeutronNet','efee1d84-b8ec-11e7-abc4-cec278b6b50a','2.0','2.5');


If table is populated with wrong content (e.g. Generic NetronNet yaml), you can run SQL command to update it

Code Block
root@mariadb:/# cat neutron.sh 
mysql -uroot -ppassword -e 'update catalogdb.heat_template set body="
heat_template_version: 2013-05-23
description: A simple Neutron network
parameters:
 network_name:
 type: string
 description: Name of the Neutron Network
 default: ONAP-NW1
 shared:
 type: boolean
 description: Shared amongst tenants
 default: False
outputs:
 network_id:
 description: Openstack network identifier
 value: { get_resource: network }
resources:
 network:
 type: OS::Neutron::Net
 properties:
 name: { get_param: network_name }
 shared: { get_param: shared }" where name="Generic NeutronNet"'
4




Service Instantiation

NumberIssueJIRAWorkaround
1Failed to create vCPE customer service with error message in bpmn log as
Cannot orchestrate Service-Macro-Create without user params with a vnf

Jira Legacy
serverSystem Jira
serverId4733707d-2057-3a0f-ae5e-4fd8aff50176
keySO-1189


2
MAC
DHCP_
DB
MAP is not populated in SDNC because kea DHCP is not downloaded correctly

Jira Legacy
serverSystem Jira
serverId4733707d-2057-3a0f-ae5e-4fd8aff50176
keyINT-712

You can manually download kea lib. See vCPE tutorial
3CloudOwner is not defined in SDNC configuration. vCPE customer service instantiation will fail

Jira Legacy
serverSystem Jira
serverId4733707d-2057-3a0f-ae5e-4fd8aff50176
keySDNC-448

Add cloud-region.cloud-owner=CloudOwner container sdnc-sdnc-0: /opt/sdnc/data/properties/generic-resource-api-dg.properties

4

Customer service instantiation uses self-service flow and failed to find cloud owner

Jira Legacy
serverSystem Jira
serverId4733707d-2057-3a0f-ae5e-4fd8aff50176
keySDNC-511

Add preload to GRA for the vBRG based on SO name to be assigned zRegionOne1base_vgw_0 , zRegionOne2base_vgw_0, etc.
5SUBCATEGORY and ALLOTTED_RESOURCE_ROLE not set in allotted_resource_customization/allotted_resource tables correctly


Jira Legacy
serverSystem Jira
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverId4733707d-2057-3a0f-ae5e-4fd8aff50176
keySDC-1909

Jira Legacy
serverSystem Jira
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverId4733707d-2057-3a0f-ae5e-4fd8aff50176
keySO-1200

Jira Legacy
serverSystem Jira
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverId4733707d-2057-3a0f-ae5e-4fd8aff50176
keySO-1208

Manually update the allotted_resource table and allotted_resource_customization tables to set TunellXCon and BRG
6mso.workflow.sdnc.replication.delay not set in override.yaml for BPMN

Jira Legacy
serverSystem Jira
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverId4733707d-2057-3a0f-ae5e-4fd8aff50176
keySO-1198

Manually set it to PT60S
7SO query to AAI after SDNC service-topology-operation fails -

arUrl is null

Jira Legacy
serverSystem Jira
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverId4733707d-2057-3a0f-ae5e-4fd8aff50176
keySO-1201

Need patch