NSB update 37/38137/40
authorDeepak S <deepak.s@linux.intel.com>
Tue, 20 Jun 2017 21:31:19 +0000 (14:31 -0700)
committerRoss Brattain <ross.b.brattain@intel.com>
Tue, 8 Aug 2017 15:54:23 +0000 (08:54 -0700)
commit5ce3b6f8c8b3217091e51a6041455738603d90b8
treeca34e15a85d69e2b23ce498fead47761624ae42c
parent72778951d6b8968f562fb8fefa02a57159ea1b83
NSB update

Refactored main NSB VNF classes accroding to class diagram

https://wiki.opnfv.org/display/yardstick/NSB+class+diagram

All the SampleVNFs have been separated and placed under
the SampleVNF class.

Added AutoConnectSSH to automatically create SSH conneciton on demand.

Added VnfdHelper class to wrap the VNFD dictionary in prepartion for
class-based modeling.

Extracted DpdkVnfSetupEnvHelper for DPDK based VNF setup.

Extracted Stats and other client config to ResourceHelper

Had to replace dict_key_flatten with deepgetitem due to Python 2.7
Jinja2 infinite recursion.

Change-Id: Ia8840e9c44cdbdf39aab6b02e6d2176b31937dc9
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
Signed-off-by: Edward MacGillivray <edward.s.macgillivray@intel.com>
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
82 files changed:
run_tests.sh
samples/vnf_samples/nsut/vpe/ixia_traffic.cfg [new file with mode: 0644]
samples/vnf_samples/nsut/vpe/tc_baremetal_http_ipv4_ixload.yaml [new file with mode: 0644]
samples/vnf_samples/nsut/vpe/tc_baremetal_rfc2544_ipv4_1flow_1518B.yaml
samples/vnf_samples/nsut/vpe/tc_baremetal_rfc2544_ipv4_1flow_64B.yaml
samples/vnf_samples/nsut/vpe/tc_baremetal_rfc2544_ipv4_1flow_64B_ixia.yaml [new file with mode: 0644]
samples/vnf_samples/nsut/vpe/tc_baremetal_rfc2544_ipv4_1flow_64B_trex_corelated_traffic.yaml [new file with mode: 0644]
samples/vnf_samples/nsut/vpe/tc_baremetal_rfc2544_ipv4_1flow_IMIX.yaml
samples/vnf_samples/nsut/vpe/vpe_config/vpe_config [deleted file]
samples/vnf_samples/nsut/vpe/vpe_config/vpe_downstream [new file with mode: 0644]
samples/vnf_samples/nsut/vpe/vpe_config/vpe_script [deleted file]
samples/vnf_samples/nsut/vpe/vpe_config/vpe_upstream [new file with mode: 0644]
samples/vnf_samples/nsut/vpe/vpe_vnf_topology-3node.yaml [new file with mode: 0644]
samples/vnf_samples/nsut/vpe/vpe_vnf_topology_ixia.yaml [new file with mode: 0644]
samples/vnf_samples/nsut/vpe/vpe_vnf_topology_ixload.yaml [new file with mode: 0644]
samples/vnf_samples/traffic_profiles/example.yaml
samples/vnf_samples/traffic_profiles/http_tests/HTTP_1b-requests_65000_concurrency.yaml [new file with mode: 0644]
samples/vnf_samples/traffic_profiles/ipv4_1flow_Packets.yaml [new file with mode: 0644]
samples/vnf_samples/traffic_profiles/ipv4_1flow_Packets_vpe.yaml
samples/vnf_samples/traffic_profiles/ipv4_throughput.yaml [new file with mode: 0644]
samples/vnf_samples/traffic_profiles/ipv4_throughput_vpe.yaml
samples/vnf_samples/traffic_profiles/ixia_ipv4_latency_vpe.yaml [new file with mode: 0644]
samples/vnf_samples/traffic_profiles/vpe/HTTP-vPE_IPv4_2Ports.rxf [new file with mode: 0644]
samples/vnf_samples/traffic_profiles/vpe/vpe_ipv4_profile_1flows.ixncfg [new file with mode: 0644]
samples/vnf_samples/traffic_profiles/vpe/vpe_ipv4_profile_256Kflows.ixncfg [new file with mode: 0644]
tests/ci/cover.awk [new file with mode: 0644]
tests/ci/cover.sh
tests/unit/apiserver/__init__.py
tests/unit/apiserver/resources/test_env_action.py
tests/unit/benchmark/contexts/test_heat.py
tests/unit/benchmark/contexts/test_kubernetes.py
tests/unit/benchmark/contexts/test_node.py
tests/unit/benchmark/contexts/test_standalone.py
tests/unit/benchmark/scenarios/networking/test_vnf_generic.py
tests/unit/benchmark/scenarios/networking/test_vsperf.py
tests/unit/common/test_utils.py
tests/unit/network_services/helpers/__init__.py [new file with mode: 0644]
tests/unit/network_services/helpers/test_cpu.py [new file with mode: 0644]
tests/unit/network_services/helpers/test_samplevnf_helper.py [new file with mode: 0644]
tests/unit/network_services/test_utils.py
tests/unit/network_services/test_yang_model.py [new file with mode: 0644]
tests/unit/network_services/traffic_profile/test_rfc2544.py
tests/unit/network_services/traffic_profile/test_traffic_profile.py
tests/unit/network_services/vnf_generic/test_vnfdgen.py
tests/unit/network_services/vnf_generic/vnf/test_base.py
tests/unit/network_services/vnf_generic/vnf/test_sample_vnf.py [new file with mode: 0644]
tests/unit/network_services/vnf_generic/vnf/test_tg_ping.py
tests/unit/network_services/vnf_generic/vnf/test_tg_rfc2544_trex.py
tests/unit/network_services/vnf_generic/vnf/test_tg_trex.py
tests/unit/network_services/vnf_generic/vnf/test_vpe_vnf.py
tests/unit/network_services/vnf_generic/vnf/vpe_config/action_bulk_512.txt [deleted file]
tests/unit/network_services/vnf_generic/vnf/vpe_config/full_tm_profile_10G.cfg [deleted file]
tests/unit/network_services/vnf_generic/vnf/vpe_config/fw_bulk_inst0_256.txt [deleted file]
tests/unit/network_services/vnf_generic/vnf/vpe_config/vpe_config [deleted file]
tests/unit/network_services/vnf_generic/vnf/vpe_config/vpe_script [deleted file]
tests/unit/test_ssh.py
tox.ini
yardstick/benchmark/contexts/base.py
yardstick/benchmark/contexts/heat.py
yardstick/benchmark/contexts/node.py
yardstick/benchmark/contexts/standalone.py
yardstick/benchmark/core/task.py
yardstick/benchmark/scenarios/lib/migrate.py
yardstick/benchmark/scenarios/networking/vnf_generic.py
yardstick/common/utils.py
yardstick/network_services/helpers/__init__.py [new file with mode: 0644]
yardstick/network_services/helpers/cpu.py [new file with mode: 0644]
yardstick/network_services/helpers/samplevnf_helper.py [new file with mode: 0644]
yardstick/network_services/pipeline.py [new file with mode: 0644]
yardstick/network_services/traffic_profile/rfc2544.py
yardstick/network_services/traffic_profile/traffic_profile.py
yardstick/network_services/utils.py
yardstick/network_services/vnf_generic/vnf/base.py
yardstick/network_services/vnf_generic/vnf/sample_vnf.py [new file with mode: 0644]
yardstick/network_services/vnf_generic/vnf/tg_ping.py
yardstick/network_services/vnf_generic/vnf/tg_rfc2544_trex.py
yardstick/network_services/vnf_generic/vnf/tg_trex.py
yardstick/network_services/vnf_generic/vnf/vpe_vnf.py
yardstick/network_services/vnf_generic/vnfdgen.py
yardstick/network_services/yang_model.py [new file with mode: 0644]
yardstick/orchestrator/heat.py
yardstick/ssh.py