vCPE(tosca) with HPA - Integration test cases



Category: External System Registration



WindRiver OpenStack VIM Registration

Test Case ID

T101

Test Case Name

WindRiver OpenStack VIM Registration

Description

WindRiver OpenStack VIM Registration

Release

Dublin

Preconditions

  1. The WindRiver OpenStack VIM is configured with tenant information and provider networks

  2. The WindRiver OpenStack VIM services (console, auth, neutron, image, glance, etc) are accessible from ONAP by IP

  3. Create flavor onap.hpa.flavor1 and aggregate

     $ openstack aggregate create --property aggregate_instance_extra_specs:sriov_nic=sriov-nic-intel-1234-5678-physnet1:1 aggr11

     $ openstack flavor create onap.hpa.flavor1 --id auto --ram 512 --disk 40 --vcpus 4

     $ openstack flavor set onap.hpa.flavor1 --property aggregate_instance_extra_specs:sriov_nic=sriov-nic-intel-1234-5678-physnet1:1

Testing Steps

Use CLI command to add the above info.

# Create complex
$ oclip complex-create \
-j <street2> -r <physical_location> -x <complex_name> \
-y <data_center_code> -lt <latitude> -l <region> \
-i <street1> -lo <longitude> -S <state> \
-la <lata> -g <city> -w <postal-code> \
-z <complex_name> -k <country> -o <elevation> \
-q <identity_url> -m <aai_url> -u <aai_username> -p <aai_password>

# Create cloud
$ oclip cloud-create -e <esr-system-info-id> -b <user-name> -I <cloud-region>
\
-x <cloud-owner> -y <cloud-region> -j <password> \

-w <cloud-region-version> -l <default-tenant> -url <service-url> \
-n <complex_name> -q <cloud-type> -r <owner-defined-type> \
-Q <system-type> -i <identity-url> -g <cloud-zone> \
-z <ssl-insecure> -k <system-status> -c <cloud-domain> \
-m <aai_url> -u <aai_username> -p <aai_password>

# Associate Cloud with complex

oclip complex-associate -x <complex_name> -y <cloud-region> -z <cloud-owner> -m <aai_url> -u <aai_username> -p <aai_password>



# Register Cloud with Multicloud

$ oclip multicloud-register-cloud -x <cloud-region> -y <cloud-owner> -m http://<ip>:<port> 

Expected Results

  1. VIM is registered successfully

  2. Tenant authentication information is stored correctly

Actual Results

All information stored in AAI.

Conclusion (Pass/Fail)

Pass

Testing Lab

Integration Lab - VFC tenant

Tester Name

Haibin Huang



GVNFM Registration

Test Case ID

T102

Test Case Name

GVNFM Registration

Description

Register GVNFM to AAI, VFC can use the GVNFM

Release

Dublin

Preconditions

We can access GVNFMDRIVER

Testing Steps

  1. Use CLI command to add the above info.

Expected Results

  1. VIM is registered successfully

  2. Tenant authentication information is stored correctly

Actual Results

All information stored in AAI.

Conclusion (Pass/Fail)

Pass

Testing Lab

Integration Lab - VFC tenant

Tester Name

Haibin Huang



Category: VNF Onboarding and Service Design



vCPE VNFs Onboarding in SDC

Test Case ID

T201

Test Case Name

vCPE VNFs Onboarding

Description

onboard vInfra, vBRG, vBNG, vGMux, vGW

Release

Dublin

Preconditions

  1. All TOSCA templates are ready

  2. VNF license has been created

Testing Steps

  1. Use SDC to import, test and certify the following VNF templates, including both yaml and env files: vDHCP, vAAA, vDNS, WebServer, vBRG, vBNG, vGMux, vG

Expected Results

  1. All VNFs are onboarded successfully

Actual Results



Conclusion (Pass/Fail)

Pass

Testing Lab

Integration Lab - VFC tenant

Tester Name

Haibin Huang



vCPE Service Design in SDC

Test Case ID

T202

Test Case Name

vCPE Service Design

Description

vCPE Service Design

Release

Dublin

Preconditions

All VNFs have been boarded

Testing Steps



Expected Results

Service creation successfully

Actual Results





Conclusion (Pass/Fail)

Pass

Testing Lab

Integration Lab - VFC tenant

Tester Name

Haibin Huang



vCPE VNFs and Service distribution in SDC

Test Case ID

T203

Test Case Name

vCPE VNFs and Service distribution

Description

vCPE VNFs and Service distribution

Release

Dublin

Preconditions

  1. All VNFs have been boarded

  2. Service has been created

Testing Steps



Expected Results

We can see Service and VNF in UUI portal

Actual Results





Conclusion (Pass/Fail)

Pass

Testing Lab

Integration Lab - VFC tenant

Tester Name

Haibin Huang

Category: Service Create, Instantiation and Termination

vCPE VNFs Onboarding in VFC

Test Case ID

T301

Test Case Name

vCPE VNFs Onboarding

Description

Parse vInfra, vBRG, vBNG, vGMux, vGW and store data to VF-C catalog

Release

Dublin

Preconditions

  1. All TOSCA templates are ready

  2. VNF license has been created

Testing Steps

  1. Use SDC to import, test and certify the following VNF templates, including both yaml and env files: vDHCP, vAAA, vDNS, WebServer, vBRG, vBNG, vGMux, vG

Expected Results

  1. All VNFs are onboarded successfully

Actual Results



Conclusion (Pass/Fail)

Pass

Testing Lab

Integration Lab - VFC tenant

Tester Name

Haibin Huang



vCPE Service Onboarding in VFC

Test Case ID

T302

Test Case Name

vCPE VNFs Onboarding

Description

Parse Service and store data to VF-C catalog

Release

Dublin

Preconditions

  1. All TOSCA templates are ready

  2. VNF license has been created

Testing Steps

  1. Use SDC to import, test and certify the following VNF templates, including both yaml and env files: vDHCP, vAAA, vDNS, WebServer, vBRG, vBNG, vGMux, vG

Expected Results

  1. All VNFs are onboarded successfully

Actual Results



Conclusion (Pass/Fail)

Pass

Testing Lab

Integration Lab - VFC tenant

Tester Name

Haibin Huang



vCPE Service Creation

Test Case ID

T303

Test Case Name

vCPE Service Creation

Description

This creates vCPE service

Release

Dublin

Preconditions

We can see Service and VNF in UUI portal

Testing Steps

Use CLI command

Expected Results

Service is created successfully and stored in the catalog

Actual Results



Conclusion (Pass/Fail)

Pass

Testing Lab

Integration Lab - VFC tenant

Tester Name

Haibin Huang



vCPE Service Instantiation

Test Case ID

T304

Test Case Name

vCPE Service Instantiation

Description

This test covers the customer service instantiation process, including vBRG emulator and vG and the related configuration.

Release

Dublin

Preconditions

  1. vCPE services have been created

  2. vCPE infrastructure service has been instantiated

Testing Steps

  1. Use CLI command

Expected Results

  1. vDHCP, vAAA, vDNS, WebServer, vBRG, vBNG, vGMux, vG are up and running

  2. ONAP user can access the web server

Actual Results



Conclusion (Pass/Fail)

Pass

Testing Lab

Integration Lab - VFC tenant

Tester Name

Haibin Huang



vCPE Service Termination

Test Case ID

T305

Test Case Name

vCPE Service Termination

Description

This test covers vCPE service termination process

Release

Dublin

Preconditions

vCPE service is created

Testing Steps

  1. Use CLI command

Expected Results

  1. All vCPE VNFs and VLs are removed

Actual Results



Conclusion (Pass/Fail)

Pass

Testing Lab

Integration Lab - VFC tenant

Tester Name

Haibin Huang