aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-07-05Make "IterationIPC" MQ producer for VNF control messagesRodolfo Alonso Hernandez6-27/+125
"IterationIPC" runner class is a consumer for MQ aware VNFs. A MQ aware traffic generator can send "started", "finished" and "iteration" messages. This feature implements a MQ producer in the runner in order to send messages to the VNFs. The messages implemented are: - "start_iteration" - "stop_iteration" JIRA: YARDSTICK-1286 Change-Id: I706f9a9dda5e5beed52231be7d71452945a7dbed Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
2018-07-05Merge "Cleanup TestProxSocketHelper unit tests"Rodolfo Alonso Hernandez1-164/+182
2018-07-05Merge "Cleanup OvsDpdkContextTestCase unit tests"Rodolfo Alonso Hernandez1-0/+6
2018-07-05Remove TRex installer from ansible directoryRodolfo Alonso Hernandez1-51/+0
Standalone TRex installer script is not updated or maintained. TRex is installed in Jumphost and the physical nodes using the installer script. There is no need to keep this script anymore. JIRA: YARDSTICK-1251 Change-Id: I3af62e70e244d2277a980a1ca6b8079597621a62 Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
2018-07-05Merge "Cleanup ScenarioGeneral unit tests"Rodolfo Alonso Hernandez1-4/+7
2018-07-05Enable traffic generator PID in "NSPerf" scenario setupRodolfo Alonso Hernandez13-56/+205
Now "NSPerf" scenario will inform about the traffic generator PIDs after setup process. With this information, IterationIPC runner will be able to receive the messages sent by those traffic generators and control the main iteration loop. The following example, using vFW as VNF and OpenStack as context, makes use of this new runner implementation: /samples/vnf_samples/nsut/vfw/ tc_heat_rfc2544_ipv4_1rule_1flow_64B_trex_iterationipc.yaml JIRA: YARDSTICK-1127 Change-Id: I46b1368bc209680b88ff9fb5c3b9beadf6271ac9 Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
2018-07-05Enable the MQ producer in "SampleVNFTrafficGen" classRodolfo Alonso Hernandez10-14/+150
Now all traffic generators using the default implementation of "ClientResourceHelper.run_traffic" will update the status of the traffic injection using the MQ. The available methods are listed in common.messsaging (VNF_METHOD_*): - tg_method_started: VNF app started - tg_method_finished: VNF app finished - tg_method_iteration: VNF app execution loop started JIRA: YARDSTICK-1127 Change-Id: I12829e1762fc20cc95da3b50767a66f031e25ee8 Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
2018-07-05Add "TrafficGeneratorProducer" for "GenericTrafficGen" instancesRodolfo Alonso Hernandez2-1/+47
Added "TrafficGeneratorProducer" class, a message producer specific for "GenericTrafficGen" derived classes. JIRA: YARDSTICK-1127 Change-Id: Icc87a6920155612e759a1d4d2f29028940c2e040 Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
2018-07-05Add "IterationIPC" runnerRodolfo Alonso Hernandez6-4/+382
"IterationIPC" is a runner that runs a configurable number of times before it returns. Each iteration has a configurable timeout. The loop control depends on the feedback received from the running VNFs. The context PIDs from the VNFs to listen the messages from are given in the scenario "setup" method. The MQ consumer, "RunnerIterationIPCConsumer", is subscribed to messages sent to topic "messaging.TOPIC_TG". The endpoints are defined in the class "RunnerIterationIPCEndpoint". Three are implemented: "messaging.TG_METHOD_STARTED", "messaging.TG_METHOD_FINISHED" and "messaging.TG_METHOD_ITERATION". JIRA: YARDSTICK-1127 Change-Id: I4b2f11a15ef41e6f3c70bd64188d5c7fbcdb7eed Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
2018-07-05Merge "Bump requirements to match OpenStack Queens release upper requirements"Rex Lee4-14/+14
2018-07-04Cleanup ActionTestCase unit testsRodolfo Alonso Hernandez1-19/+23
Removed unneeded output and applied the correct mocks. JIRA: YARDSTICK-1290 Change-Id: Ib8dbf582d81f7de0fadce7ddb215360abb2d16a4 Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
2018-07-04Merge "DPDK site change"Abhijit Sinha2-12/+16
2018-07-04Merge "Fix up formatting on devguide"Rodolfo Alonso Hernandez1-77/+151
2018-07-04Bump requirements to match OpenStack Queens release upper requirementsrexlee87764-14/+14
tox -e os-requiremnts results: Validating requirements file "requirements.txt" Package "oslo.config" version 4.11.1 outdated, minimum version 5.1.0 Package "keystoneauth1" version 3.1.0 outdated, minimum version 3.3.0 Package "python-cinderclient" version 3.1.0 outdated, minimum version 3.3.0 Package "requests" version 2.11.1 outdated, minimum version 2.14.2 Package "osc-lib" version 1.7.0 outdated, minimum version 1.8.0 Package "oslo.utils" version 3.28.0 outdated, minimum version 3.33.0 Package "oslo.privsep" version 1.22.1 outdated, minimum version 1.23.0 Incompatible requirement found! JIRA: YARDSTICK-1283 Change-Id: I362c1e2b5c61abf09810ce2a2fe6bab39097d017 Signed-off-by: rexlee8776 <limingjiang@huawei.com>
2018-07-04Merge "IXIA IxNetwork TP first rate is not populated"Rodolfo Alonso Hernandez2-2/+12
2018-07-04Merge "Sample VNF version need to be updated to Fraser"Rodolfo Alonso Hernandez1-1/+1
2018-07-03Merge changes from topics 'YARDSTICK-1250', 'YARDSTICK-1249'Rodolfo Alonso Hernandez7-56/+37
* changes: Fix pip install issues in install.yaml script Bump ansible version to 2.5.5
2018-07-03IXIA IxNetwork TP first rate is not populatedRodolfo Alonso Hernandez2-2/+12
IXIA IxNetwork traffic profile defines an initial injection frame rate for RFC2544 test cases: schema: "isb:traffic_profile:0.1" traffic_profile: frame_rate : 20000 This value should be assigned to IXIARFC2544Profile.rate before the initial injection period. JIRA: YARDSTICK-1288 Change-Id: I29a334c7dbb863f680e45a1d3ab880aaf1fe166d Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
2018-07-03Merge "Cleanup Iperf3 unit tests"Rodolfo Alonso Hernandez1-13/+9
2018-07-03Merge "Cleanup Plugin unit tests"Rodolfo Alonso Hernandez1-2/+8
2018-07-03Merge "Cleanup NodeContextTestCase unit tests"Rodolfo Alonso Hernandez1-2/+2
2018-07-03Merge "Cleanup vPE VNF unit tests"Rodolfo Alonso Hernandez1-84/+92
2018-07-03Merge "Cleanup TestIxLoadTrafficGen unit tests"Rodolfo Alonso Hernandez2-143/+93
2018-07-03Merge "Cleanup GetDataDbClientTestCase unit tests"Rodolfo Alonso Hernandez1-3/+5
2018-07-03Merge "Cleanup VsperfDPDKTestCase unit tests"Rodolfo Alonso Hernandez1-4/+5
2018-07-03Sample VNF version need to be updated to FraserRodolfo Alonso Hernandez1-1/+1
JIRA: YARDSTICK-1289 Change-Id: Ib150fafdfcc7a7aa09e4ed9c683fc3013676dac4 Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
2018-07-02Cleanup TestProxSocketHelper unit testsRodolfo Alonso Hernandez1-164/+182
Removed unneeded output. JIRA: YARDSTICK-1284 Change-Id: I41d9b8d2df417fa19b0a6f8c13bc9837dc3dde95 Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
2018-07-02Merge "Cleanup TestProxBinSearchProfile unit tests"Rodolfo Alonso Hernandez1-13/+13
2018-07-02Merge "Cleanup ProxDuration unit tests"Rodolfo Alonso Hernandez1-142/+133
2018-07-01Merge "Yardstick Fraser Release notes - 6.2.1"Rex Lee1-0/+17
2018-07-01Yardstick Fraser Release notes - 6.2.1rexlee87761-0/+17
JIRA: YARDSTICK-1278 Change-Id: I96d54b06f0ef794c9c0ec26d78eb54ebcc6462ed Signed-off-by: rexlee8776 <limingjiang@huawei.com>
2018-07-01Merge "Bugfix: ansible install.yaml missing configure_gui step"Rex Lee1-0/+1
2018-07-01Bugfix: ansible install.yaml missing configure_gui steprexlee87761-0/+1
JIRA: YARDSTICK-1279 Change-Id: I7df97479e2e17495668ef4982de4aec13d04c25c Signed-off-by: rexlee8776 <limingjiang@huawei.com>
2018-07-01Bugfix: uwsgi config file yardstick.ini output errorrexlee87761-2/+2
JIRA: YARDSTICK-1280 Change-Id: I45b4b781cee21035897ba0c34dc740af6365e918 Signed-off-by: rexlee8776 <limingjiang@huawei.com>
2018-06-30Bugfix: docker build failedrexlee87761-1/+1
Due to no inventory.ini specified in Dockerfile, which resulsts in ansible-playbook run fail JIRA: YARDSTICK-1277 Change-Id: Iaf689b71b8c86b54b2451d8a8c480f7d94d53561 Signed-off-by: rexlee8776 <limingjiang@huawei.com>
2018-06-29Cleanup Iperf3 unit testsRodolfo Alonso Hernandez1-13/+9
Removed unneeded output. JIRA: YARDSTICK-1275 Change-Id: I75fe1f7f048714ba5d2fdfa586ad69ebb7b56c88 Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
2018-06-29Cleanup Plugin unit testsRodolfo Alonso Hernandez1-2/+8
Removed unneeded output (LOG.info and print functions). JIRA: YARDSTICK-1274 Change-Id: Ida3b62ce28e27058a8b4a3a9e6fa16f041a1f99c Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
2018-06-29Cleanup NodeContextTestCase unit testsRodolfo Alonso Hernandez1-2/+2
Removed deprecated functions. JIRA: YARDSTICK-1273 Change-Id: I055b8393e6b25eb08f718cd8a915c6ea684786d8 Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
2018-06-29Merge "Update PROX_NSB_DEVGUIDE for F Release"Rodolfo Alonso Hernandez10-25/+119
2018-06-29Merge "Yardstick Fraser Release notes - 6.2.0"Rex Lee1-5/+98
2018-06-29Cleanup vPE VNF unit testsRodolfo Alonso Hernandez1-84/+92
Removed unneeded output and stopped access to file system. JIRA: YARDSTICK-1271 Change-Id: I15a58eb7bb81b69fe156433055f59a54372fa0a8 Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
2018-06-29Cleanup TestIxLoadTrafficGen unit testsRodolfo Alonso Hernandez2-143/+93
Removed unneeded output and mock system calls. JIRA: YARDSTICK-1270 Change-Id: I0e04a67cab592216280481c7145188c4f9045466 Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
2018-06-29Cleanup GetDataDbClientTestCase unit testsRodolfo Alonso Hernandez1-3/+5
Removed unneeded output. JIRA: YARDSTICK-1268 Change-Id: I2e9130e863ba915feeb52f54fc901898b1c8f792 Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
2018-06-29Cleanup VsperfDPDKTestCase unit testsRodolfo Alonso Hernandez1-4/+5
Removed unneeded output. JIRA: YARDSTICK-1267 Change-Id: I0a3f25db2c5ef8ed71fd087b6b35641075c121e7 Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
2018-06-29Cleanup TestProxBinSearchProfile unit testsRodolfo Alonso Hernandez1-13/+13
Removed unneeded output and mocks. JIRA: YARDSTICK-1266 Change-Id: I04fd1ba32ea46c7896548faebc5af1a43b0f750e Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
2018-06-29NFVI support for standalone, baremetal and heat contextsChornyi, TarasX26-151/+474
JIRA: YARDSTICK-1257 Change-Id: I6733bd49ac91985e8f3d7722e6990e8733bb430e Signed-off-by: Chornyi, TarasX <tarasx.chornyi@intel.com>
2018-06-29Update PROX_NSB_DEVGUIDE for F ReleaseDanielMartinBuckley10-25/+119
Contains Updates :- New Description of Grafana output New Description of ProxDuration Runner Update Description of Openstack Network Change-Id: I861bb7eab4aeed207c0151be6766c48c5f10c6ef Signed-off-by: Daniel Martin Buckley <daniel.m.buckley@intel.com>
2018-06-29Move "read_yaml_file" to common.yaml_loaderRodolfo Alonso Hernandez7-25/+26
JIRA: YARDSTICK-1265 Change-Id: Ic2813dca7fc9a3230632f6e8bd75aeacc7e951b0 Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
2018-06-29Fix up formatting on devguideEmma Foley1-77/+151
* Change the notation used for heading levels and add a key at the top of the file. * Wrap lines at 80 characters. * Highlight keywords Change-Id: Ic6e7194270bbffb3ddaf688c774b632287b0c201 JIRA: YARDSTICK-1253 Signed-off-by: Emma Foley <emma.l.foley@intel.com>
2018-06-29Merge "Removed unused ACL config file."Rodolfo Alonso Hernandez1-47/+0