opnfv/functest: lessons learned and best practices for vnf test automation

21
June 2023, 2016 | Berlin, Germany

Upload: valentin-boucher

Post on 13-Apr-2017

212 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: OPNFV/Functest: lessons learned and best practices for VNF test automation

June 20–23, 2016 | Berlin, Germany

Page 2: OPNFV/Functest: lessons learned and best practices for VNF test automation

Functest: lessons learned and best practices for VNF test automation

V.Boucher, Orange, M.Richomme Orange

Page 3: OPNFV/Functest: lessons learned and best practices for VNF test automation

Agenda

• Back to vIMS test case in Brahmaputra

• Lessons learned

• The future of VNF testing in Functest

Page 4: OPNFV/Functest: lessons learned and best practices for VNF test automation

Back to vIMSTest-case

Page 5: OPNFV/Functest: lessons learned and best practices for VNF test automation

Back to vIMS test-case

• vIMS Functest test-case in Brahmaputra => Get a first complex VNF test case

• vIMS test-case includes orchestration/VNF/Test

• vIMS test-case fully open source including both VNF and orchestrator

• vIMS fully integrated in CI pipeline

Page 6: OPNFV/Functest: lessons learned and best practices for VNF test automation

Back to vIMS test-case

vIMS Clearwater

architecture

Page 7: OPNFV/Functest: lessons learned and best practices for VNF test automation

Back to vIMS test-case

VNF Descriptor (Cloudify Blueprint) :

homestead:type: clearwater.nodes.homesteadproperties:private_domain: clearwater.local

relationships:- type: cloudify.relationships.contained_in

target: homestead_host- type: app_connected_to_bind

target: bind

homestead_host:type: clearwater.nodes.MonitoredServerinstances:deploy: 1

relationships:- target: base_security_group

type: cloudify.openstack.server_connected_to_security_group

- target: homestead_security_grouptype: cloudify.openstack.server_connected_to_security_group

See more : https://github.com/Orange-OpenSource/opnfv-cloudify-clearwater/

Page 8: OPNFV/Functest: lessons learned and best practices for VNF test automation

Back to vIMS test-case

vIMS Testcase step by step

Create user/tenantUpload OS ImagesChoose flavorsGet external network

1 Environment preparation

Page 9: OPNFV/Functest: lessons learned and best practices for VNF test automation

Back to vIMS test-case

vIMS Testcase step by step

Install orchestrator components

2.2 Orchestrator deployment

Create router/networkCreate security groupsCreate VM

2.1 Orchestrator deployment

Page 10: OPNFV/Functest: lessons learned and best practices for VNF test automation

Back to vIMS test-case

Create security groupsCreate VMCreate floating ip

3.1 VNF deployment

Install and configure VNF software

3.2 VNF deployment

Page 11: OPNFV/Functest: lessons learned and best practices for VNF test automation

Back to vIMS test-case

Create numbers

4.1 Test VNFSignaling testing

4.2 Test VNF

Page 12: OPNFV/Functest: lessons learned and best practices for VNF test automation

Back to vIMS test-case

Push results of deployment duration and test results into result api

5 Push results

DB

RESULT API

Page 13: OPNFV/Functest: lessons learned and best practices for VNF test automation

Back to vIMS test-case

Reporting status example

Page 14: OPNFV/Functest: lessons learned and best practices for VNF test automation

Lessons learned&

Best practices

Page 15: OPNFV/Functest: lessons learned and best practices for VNF test automation

Lessons learned

• Valuable test case to give a high level of confidence:• Creation of user/tenant/networks

• Access to Internet, public APIs

• Use of an orchestrator (Cloudify) to deploy a complex VNF based on Tosca descriptors

• Spawning of more than 5 VMs cross connected

• Association orchestrator/VNF makes sense for functional testing

• Realistic test suite for signaling

Page 16: OPNFV/Functest: lessons learned and best practices for VNF test automation

Brahmaputra lessons learned

• Success criteria• Orchestration + vIMS deployment

• Tests not part of the criteria due to some issues

• Not possible to run it on all the installers/scenarios• vIMS launched systematically

• Timeout adaptations needed to reduce test duration

• When previous tests failed (e.g. vPing) no need to try vIMS => improvement in Colorado

• Issues detected and reported (e.g. access to public API)

• Multi-tenant/Multi-sites would be also valuable

Page 17: OPNFV/Functest: lessons learned and best practices for VNF test automation

Future of VNF testing

Page 18: OPNFV/Functest: lessons learned and best practices for VNF test automation

Future of VNF testing

• Functest test slicing => 1 category dedicated to VNFs

• VNF part of the weekly loop i.e. not used anymore for scenario validation

• Not scenario specific – shall work on all the scenarios….

• Potentially long duration test

Page 19: OPNFV/Functest: lessons learned and best practices for VNF test automation

Future of VNF testing

• VNFs validation = 1 of the plugfest activity

• Reference/consider Open Source VNFs to enrich VNF category

• Goal develop test suite/ref open source VNFs to • Define ref baselines / harmonize test strategy

• Create a “VNF library”

• Initiate MANO stack testing

Page 20: OPNFV/Functest: lessons learned and best practices for VNF test automation

Future of VNF testing

Proprietary VNF

• Cannot be integrated to CI (license)

• Can be tested in Pharos Community labs

• Can be tested during Plugfests

• Open source test suite even towards proprietary VNFs should be encouraged

Page 21: OPNFV/Functest: lessons learned and best practices for VNF test automation

Thank you