framework: Add reworked framework to repo 94/694/2
authorBilly O'Mahony <billy.o.mahony@intel.com>
Fri, 29 May 2015 14:24:03 +0000 (15:24 +0100)
committerBilly O'Mahony <billy.o.mahony@intel.com>
Mon, 8 Jun 2015 13:55:35 +0000 (13:55 +0000)
commit8d6777df09c3dc441013a31f21cc50ab3b0f42a3
treed00f189e00631c33385122012727dd3c6438f406
parentacd2499310f81565c6b1eb11d18528f7372894f5
framework: Add reworked framework to repo

This commit adds the vSwitch Integration Test Framework whose
design, based off TOIT, is outlined in the HLD previously made
availiable to the community for review.

The design of this framework allows developers to add different
implementations of components, specifically vSwitches, Traffic
Generators, Metrics Collectors and VNFs, easily.

The goal of this design is that all testcases should run regardless of
what is "under the hood".

This commit adds support for running the framework for a phy to phy
RFC2544 testcase only. More testcases will be added by the community.

vSwitches supported at this time:
* Intel DPDK (r) accelerated OpenvSwitch

Traffic Generators supported at this time:
* IxNet - IxNetwork Implementation
* Ixia - IxExplorer Implementation
* Dummy - Manual Implementation

Metrics Collectors supported at this time:
* Linux Metrics

No VNFs are supported at this time but the framework outlines how they
should be integrated and provides APIs for them to adhere to.

JIRA: VSPERF-27
Change-Id: I312e1a1199487ffee8f824be06cd97d4f793eee0
Signed-off-by: Stephen Finucane <Stephen.Finucane@intel.com>
Signed-off-by: Meghan Halton <Meghan.Halton@intel.com>
Signed-off-by: Christopher Nolan <Christopher.Nolan@intel.com>
Signed-off-by: Maryam Tahhan <Maryam.Tahhan@intel.com>
Signed-off-by: Ciara Loftus <Ciara.Loftus@intel.com>
Signed-off-by: Mark Kavanagh <Mark.B.Kavanagh@intel.com>
Signed-off-by: Cian Ferriter <Cian.Ferriter@intel.com>
Signed-off-by: Timo Puha <TimoX.Puha@intel.com>
Signed-off-by: Billy O'Mahony <billy.o.mahony@intel.com>
Signed-off-by: Michal Weglicki <MichalX.Weglicki@intel.com>
Signed-off-by: Rory Sexton <Rory.Sexton@intel.com>
Signed-off-by: Ian Stokes <Ian.Stokes@intel.com>
Signed-off-by: Kevin Traynor <Kevin.Traynor@intel.com>
Signed-off-by: Dino Simeon Madarang <dino.simeonx.madarang@intel.com>
Reviewed-by: Eugene Snider <Eugene.Snider@huawei.com>
Reviewed-by: Aihua Li <aihua.li@huawei.com>
69 files changed:
.gitignore [new file with mode: 0644]
CONTRIBUTING.md [new file with mode: 0644]
LICENSE.toit [new file with mode: 0644]
NOTICE [new file with mode: 0644]
README [deleted file]
README.md [new file with mode: 0644]
conf/00_common.conf [new file with mode: 0644]
conf/01_testcases.conf [new file with mode: 0755]
conf/02_vswitch.conf [new file with mode: 0644]
conf/03_traffic.conf [new file with mode: 0644]
conf/04_vnf.conf [new file with mode: 0644]
conf/05_collector.conf [new file with mode: 0644]
conf/10_custom.conf [new file with mode: 0644]
conf/__init__.py [new file with mode: 0644]
core/__init__.py [new file with mode: 0644]
core/collector_controller.py [new file with mode: 0644]
core/component_factory.py [new file with mode: 0644]
core/loader/__init__.py [new file with mode: 0644]
core/loader/loader.py [new file with mode: 0755]
core/loader/loader_servant.py [new file with mode: 0644]
core/results/__init__.py [new file with mode: 0644]
core/results/results.py [new file with mode: 0644]
core/results/results_constants.py [new file with mode: 0644]
core/traffic_controller.py [new file with mode: 0644]
core/traffic_controller_rfc2544.py [new file with mode: 0644]
core/vnf_controller.py [new file with mode: 0644]
core/vnf_controller_p2p.py [new file with mode: 0644]
core/vnf_controller_pvp.py [new file with mode: 0644]
core/vswitch_controller.py [new file with mode: 0644]
core/vswitch_controller_p2p.py [new file with mode: 0644]
core/vswitch_controller_pvp.py [new file with mode: 0644]
docs/NEWS.md [new file with mode: 0644]
docs/installation.md [new file with mode: 0644]
docs/quickstart.md [new file with mode: 0644]
packages.txt [new file with mode: 0644]
requirements.txt [new file with mode: 0644]
src/__init__.py [new file with mode: 0644]
src/dpdk/__init__.py [new file with mode: 0644]
src/dpdk/dpdk.py [new file with mode: 0644]
src/ovs/__init__.py [new file with mode: 0644]
src/ovs/daemon.py [new file with mode: 0644]
src/ovs/ofctl.py [new file with mode: 0644]
testcases/__init__.py [new file with mode: 0644]
testcases/testcase.py [new file with mode: 0644]
tools/__init__.py [new file with mode: 0644]
tools/collectors/__init__.py [new file with mode: 0644]
tools/collectors/collector/__init__.py [new file with mode: 0644]
tools/collectors/collector/collector.py [new file with mode: 0644]
tools/collectors/sysmetrics/__init__.py [new file with mode: 0755]
tools/collectors/sysmetrics/linuxmetrics.py [new file with mode: 0644]
tools/pkt_gen/__init__.py [new file with mode: 0644]
tools/pkt_gen/dummy/__init__.py [new file with mode: 0644]
tools/pkt_gen/dummy/dummy.py [new file with mode: 0755]
tools/pkt_gen/ixia/__init__.py [new file with mode: 0644]
tools/pkt_gen/ixia/ixia.py [new file with mode: 0755]
tools/pkt_gen/ixia/pass_fail.tcl [new file with mode: 0755]
tools/pkt_gen/ixnet/__init__.py [new file with mode: 0755]
tools/pkt_gen/ixnet/ixnet.py [new file with mode: 0755]
tools/pkt_gen/ixnet/ixnetrfc2544.tcl [new file with mode: 0755]
tools/pkt_gen/trafficgen/__init__.py [new file with mode: 0755]
tools/pkt_gen/trafficgen/trafficgen.py [new file with mode: 0755]
tools/pkt_gen/trafficgen/trafficgenhelper.py [new file with mode: 0644]
tools/tasks.py [new file with mode: 0644]
vnfs/vnf/vnf.py [new file with mode: 0644]
vsperf [new file with mode: 0755]
vswitches/__init__.py [new file with mode: 0644]
vswitches/ovs_dpdk_vhost.py [new file with mode: 0644]
vswitches/utils.py [new file with mode: 0644]
vswitches/vswitch.py [new file with mode: 0644]