Introducing Generic framework to do pre-deployment VNF & Network service testing 17/26617/4
authorDeepak S <deepak.s@linux.intel.com>
Fri, 30 Dec 2016 17:21:22 +0000 (09:21 -0800)
committerDeepak S <deepak.s@linux.intel.com>
Thu, 19 Jan 2017 02:57:31 +0000 (08:27 +0530)
commita8075ff20b2046f847b91085aa27f2b336823337
tree035dbed36ffb23ac4ced52bd06394c4fb159db03
parent6f8fbe8acb94448ef2eb188193e9bea534021e89
Introducing Generic framework to do pre-deployment VNF & Network service testing

This patch introduces the framework which is aligned with ETSI-TST001

This patch adds:
1. NetworkServiceTestCase introduces following functions
      --> setup
            --> Verify if infrastructure mapping can meet topology
            --> Load VNF models
            --> Fill traffic profile with information from topology
            --> Provision VNFs
            --> Run experiment (traffic)
      --> run -> Yardstick calls run() at intervals defined in the yaml
                 and produces timestamped samples
      --> teardown --> Stop  VNFs

2. TrafficProfile is a generic class to get traffic profile for a given
   testcase and select the traffic generator for testcase.

3. QueueFileWrapper is a class to send/recive cmds to vnf

4. GenericVNF is a generic class to instantiate VNF

5. GenericTrafficGen is a generic class to run/listen/verify traffic.

JIRA: YARDSTICK-483
Change-Id: Ic453c917d34dcb508a7f3afb459011da85f6402e
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
19 files changed:
tests/unit/benchmark/scenarios/networking/imix_voice.yaml [new file with mode: 0644]
tests/unit/benchmark/scenarios/networking/ipv4_1flow_Packets_vpe.yaml [new file with mode: 0644]
tests/unit/benchmark/scenarios/networking/ipv4_throughput_vpe.yaml [new file with mode: 0644]
tests/unit/benchmark/scenarios/networking/test_vnf_generic.py [new file with mode: 0644]
tests/unit/benchmark/scenarios/networking/tg_trex_tpl.yaml [new file with mode: 0644]
tests/unit/benchmark/scenarios/networking/vpe_vnf_topology.yaml [new file with mode: 0644]
tests/unit/network_services/traffic_profile/__init__.py [new file with mode: 0644]
tests/unit/network_services/traffic_profile/test_base.py [new file with mode: 0644]
tests/unit/network_services/vnf_generic/__init__.py [new file with mode: 0644]
tests/unit/network_services/vnf_generic/test_vnfdgen.py [new file with mode: 0644]
tests/unit/network_services/vnf_generic/vnf/__init__.py [new file with mode: 0644]
tests/unit/network_services/vnf_generic/vnf/test_base.py [new file with mode: 0644]
yardstick/benchmark/scenarios/networking/vnf_generic.py [new file with mode: 0644]
yardstick/network_services/traffic_profile/__init__.py [new file with mode: 0644]
yardstick/network_services/traffic_profile/base.py [new file with mode: 0644]
yardstick/network_services/vnf_generic/__init__.py [new file with mode: 0644]
yardstick/network_services/vnf_generic/vnf/__init__.py [new file with mode: 0644]
yardstick/network_services/vnf_generic/vnf/base.py [new file with mode: 0644]
yardstick/network_services/vnf_generic/vnfdgen.py [new file with mode: 0644]