aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/network_services/vnf_generic/vnf/test_tg_prox.py
diff options
context:
space:
mode:
authorDeepak S <deepak.s@linux.intel.com>2017-08-30 02:22:07 -0700
committerRoss Brattain <ross.b.brattain@intel.com>2017-10-02 21:47:26 -0700
commitcec4342dee5c13260b680f6dddbc33ae5bf0c127 (patch)
treec04c4655ed43d5406185502d9fb6364b9d41731a /tests/unit/network_services/vnf_generic/vnf/test_tg_prox.py
parentdd3cbc21dfb505ea70dd3574869c1fb33b7de956 (diff)
Enable multi-port perf in trex as TG
set TRex -c option for threads per port based on hardware number of queues. We can't auto-detect number of queues and we can't use more than one thread per core on systems with single-queue interfaces, so move the option to the config file options: tg_0: queues_per_port: 2 also enable trex debug by removing >/dev/null redirection options: tg_0: trex_server_debug: true Change-Id: I46da187849282bf28f4ef5b333e1ae890e202768 Signed-off-by: Deepak S <deepak.s@linux.intel.com> Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
Diffstat (limited to 'tests/unit/network_services/vnf_generic/vnf/test_tg_prox.py')
-rw-r--r--tests/unit/network_services/vnf_generic/vnf/test_tg_prox.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/unit/network_services/vnf_generic/vnf/test_tg_prox.py b/tests/unit/network_services/vnf_generic/vnf/test_tg_prox.py
index eb569cfe6..bdda149c5 100644
--- a/tests/unit/network_services/vnf_generic/vnf/test_tg_prox.py
+++ b/tests/unit/network_services/vnf_generic/vnf/test_tg_prox.py
@@ -395,7 +395,6 @@ class TestProxTrafficGen(unittest.TestCase):
sut.ssh_helper = mock.Mock()
sut.ssh_helper.run = mock.Mock()
sut.setup_helper.prox_config_dict = {}
- sut._vpci_ascending = ["0000:05:00.0", "0000:05:00.1"]
sut._connect_client = mock.Mock(autospec=STLClient)
sut._connect_client.get_stats = mock.Mock(return_value="0")
sut._traffic_runner(mock_traffic_profile)