yardstick.git
6 years agoNFVI support for standalone, baremetal and heat contexts 51/59351/1
Chornyi, TarasX [Tue, 29 May 2018 14:59:49 +0000 (17:59 +0300)]
NFVI support for standalone, baremetal and heat contexts

JIRA: YARDSTICK-1257

Change-Id: I6733bd49ac91985e8f3d7722e6990e8733bb430e
Signed-off-by: Chornyi, TarasX <tarasx.chornyi@intel.com>
(cherry picked from commit 005358a39a87e42061dd5b344916c2ffe0475961)

6 years agoFix NSB NfVi support for 25 and 40Gbps 57/59157/5
Xavier Simonart [Tue, 5 Jun 2018 12:06:29 +0000 (14:06 +0200)]
Fix NSB NfVi support for 25 and 40Gbps

When setting interface_speed option in the test case, NSB/PROX
was still considering 100% as 10 Gbps.
With this fix, when interface_speed is set to for instance 25 Gbps
then NSB/PROX will start generate at 25 Gbps.
Yardstick logging info printed on the screen will show performance result
as percentage of interface_speed (e.g. 100% will be 25 Gbps).
This is done by sending the command "speed 250" to PROX (PROX cannot
know the underlying interface speed in all cases e.g. in virtio, and
hence considers 100% as 10Gbps).

JIRA: YARDSTICK-1217

Change-Id: I4989161b04a7afa5e347935ee7ccef7dfe5a504d
Signed-off-by: Xavier Simonart <xavier.simonart@intel.com>
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
(cherry picked from commit 1d61af34eb7b35b912d124768ad26eb5f0cd03a8)

6 years agoMerge "NSB Topology fix for Prox 4 port test case" into stable/fraser
Emma Foley [Fri, 29 Jun 2018 10:06:13 +0000 (10:06 +0000)]
Merge "NSB Topology fix for Prox 4 port test case" into stable/fraser

6 years agoMerge "NSB NFVi BNG test fails to run - stops after one step" into stable/fraser
Emma Foley [Fri, 29 Jun 2018 10:06:06 +0000 (10:06 +0000)]
Merge "NSB NFVi BNG test fails to run - stops after one step" into stable/fraser

6 years agoMerge changes from topic 'prox-stable/fraser' into stable/fraser
Emma Foley [Fri, 29 Jun 2018 10:05:50 +0000 (10:05 +0000)]
Merge changes from topic 'prox-stable/fraser' into stable/fraser

* changes:
  NSB NFVi PROX BNG losing many packets
  NSB NFVi PROX VPE losing many packets
  Decrease Sampling interval
  Addition of Configurable Sampling and Configurable Confirmation Retry

6 years agoMerge "Convert SLA asserts to raises" into stable/fraser
Emma Foley [Fri, 29 Jun 2018 08:36:04 +0000 (08:36 +0000)]
Merge "Convert SLA asserts to raises" into stable/fraser

6 years agoMerge "Extended Context class with get_physical_nodes functionality" into stable...
Rodolfo Alonso Hernandez [Thu, 28 Jun 2018 16:17:27 +0000 (16:17 +0000)]
Merge "Extended Context class with get_physical_nodes functionality" into stable/fraser

6 years agoMerge "Add "os_cloud_config" as a new context flag parameter" into stable/fraser
Rodolfo Alonso Hernandez [Thu, 28 Jun 2018 16:17:17 +0000 (16:17 +0000)]
Merge "Add "os_cloud_config" as a new context flag parameter" into stable/fraser

6 years agoMerge "Stop running tests from tests/unit" into stable/fraser
Rodolfo Alonso Hernandez [Thu, 28 Jun 2018 16:16:29 +0000 (16:16 +0000)]
Merge "Stop running tests from tests/unit" into stable/fraser

6 years agoExtended Context class with get_physical_nodes functionality 01/59101/5
Chornyi, TarasX [Mon, 11 Jun 2018 12:18:54 +0000 (15:18 +0300)]
Extended Context class with get_physical_nodes functionality

JIRA: YARDSTICK-1255

Change-Id: I446d715dc6cf716a4fcbc1b809c1b1d6303071e0
Signed-off-by: Chornyi, TarasX <tarasx.chornyi@intel.com>
(cherry picked from commit 595212edf5ccd71af1bf7ef57a8d260fb1ec0c9e)

6 years agoNSB Topology fix for Prox 4 port test case 11/59111/6
Abhijit Sinha [Thu, 7 Jun 2018 18:59:08 +0000 (19:59 +0100)]
NSB Topology fix for Prox 4 port test case

The uplink and downlink interfaces for the 4 port
test cases were inconsistent and fixed in this commit.

This affects all the 4 port PROX test cases.

Tested on: Heat L2fwd-4 and L3fwd-4 test case.

JIRA: YARDSTICK-1185

Change-Id: Ia2ce7ed0dc395b812f84ede94e259b42dc833579
Signed-off-by:Abhijit Sinha <abhijit.sinha@intel.com>
(cherry picked from commit 8ebd2d3fde473ffcd139090bd688882d4e5e0f44)

6 years agoNSB NFVi BNG test fails to run - stops after one step 09/59109/5
DanielMartinBuckley [Thu, 14 Jun 2018 15:15:26 +0000 (16:15 +0100)]
NSB NFVi BNG test fails to run - stops after one step

JIRA: YARDSTICK-1244

When sending the start or stop command to PROX. We sould not send the same core.
We should not send "start 1,1" instead we should send "start 1"

Change-Id: Ie600dc3ed808fd00341e92f13bd52199e68dc51f
Signed-off-by: Daniel Martin Buckley <daniel.m.buckley@intel.com>
(cherry picked from commit e219f22429ad2e6e6060c5c3440df72e014be273)

6 years agoNSB NFVi PROX BNG losing many packets 55/59155/3
DanielMartinBuckley [Tue, 19 Jun 2018 15:43:41 +0000 (16:43 +0100)]
NSB NFVi PROX BNG losing many packets

JIRA: YARDSTICK-1101

Problem was incorrect generator and changed the traffic profile to allow
a tolerated loss of 5%.

ARP packets are not managed (just passed thru the system) therefor the
tolerated loss must be higehr than normal.

Change-Id: I03bd62b397a66b50961e810d033c6894d0b3e9a6
Signed-off-by: Daniel Martin Buckley <daniel.m.buckley@intel.com>
(cherry picked from commit 48c9e48dcff498c8f51ec507d4107bc658b82d82)

6 years agoNSB NFVi PROX VPE losing many packets 13/59113/4
DanielMartinBuckley [Mon, 18 Jun 2018 18:27:41 +0000 (19:27 +0100)]
NSB NFVi PROX VPE losing many packets

JIRA: YARDSTICK-1105

Running a vPE test ends up with up to 25% drooped packets.
This is due to tolerated loss being incorrectly configured,
test duration was too short and test interval was too
short.

Note This is due to the fact that vPE use case have by
default a tolerated loss of 100%, Now changed to 0.001,
same as L2FWD

Also: Grafan dashboard has been updated to show all SUT
CPUS Utilization in 1 panel. And LINE rate MIN, MAX & TEST
Rate have been added

Change-Id: I7adae2199b3f656fe460705b6aeb3aa69c767d50
Signed-off-by: Daniel Martin Buckley <daniel.m.buckley@intel.com>
(cherry picked from commit 39b3d9ae8ff19a0d64bff0e874f05b6dbcc30b01)

6 years agoConvert SLA asserts to raises 03/59103/2
Miikka Koistinen [Fri, 8 Jun 2018 10:54:48 +0000 (13:54 +0300)]
Convert SLA asserts to raises

This commit converts Python assertions to a custom exception in all
places where SLA validation is checked with an assertion.

This commit also fixes all emerged pylint errors.

JIRA: YARDSTICK-966

Change-Id: If771ed03b2cbc0a43a57fcfb9293f18740b3ff80
Signed-off-by: Miikka Koistinen <miikka.koistinen@nokia.com>
(cherry picked from 39f80e9b06395ae1515cfcf08508504ad4dd978a)

6 years agoDecrease Sampling interval 07/59107/6
DanielMartinBuckley [Tue, 5 Jun 2018 18:06:38 +0000 (19:06 +0100)]
Decrease Sampling interval

JIRA: YARDSTICK-1219

Currently NSB for NFVI using PROX returns sampling information every 13
seconds.

This is too slow.

It is required to return sampling information form Generator AND VNF at
least every  1 second.

This change is depandant on JIRA: YARDSTICK-1212 and YARDSTICK-1220

Change-Id: Ica7ab795a2919d191d8cd846d028e15739e33fb7
Signed-off-by: Daniel Martin Buckley <daniel.m.buckley@intel.com>
(cherry picked from commit f8b45aca386ed5852d9568c531ba4595c68cc0e2)

6 years agoAddition of Configurable Sampling and Configurable Confirmation Retry 05/59105/3
DanielMartinBuckley [Wed, 6 Jun 2018 14:06:01 +0000 (15:06 +0100)]
Addition of Configurable Sampling and Configurable Confirmation Retry

JIRA: YARDSTICK-1221

In order to increase accuracy of result the following are done :-
  - Improve Measurement Accuracy (YARDSTICK-1212)
  - Improve Sampling Interval (YARDSTICK-1219)
  - Allow 4 PROX ports to be read simultaneously (YARDSTICK-1220)

This change does the following :-
  - Stores LINE Rate statistics of Sample
  - Requires a confirmation retry before deciding to increase or
    decrease this is configurable.
  - Allows the user to disable Sampling or specify a sample interval
  - Added Code Coverage of ProxDurationRunner based on YARDSTICK-1199

Change-Id: I27242ac1849c9a2712866385b5fbc05977c71516
Signed-off-by: Daniel Martin Buckley <daniel.m.buckley@intel.com>
(cherry picked from commit 2e447af9a5a54355aa20028813660d07d1bd2e18)

6 years agoAdd "os_cloud_config" as a new context flag parameter 63/59163/4
Rodolfo Alonso Hernandez [Thu, 26 Apr 2018 14:24:44 +0000 (15:24 +0100)]
Add "os_cloud_config" as a new context flag parameter

This new parameter will contain the OpenStack cloud specific configuration
used by Shade client. This new flag is used only in Heat context.

By default, this new parameter (dict) will contain this content:
  'os_cloud_config': {'verify': False}

This field will be used by HeatStack [1] to create a Shade cloud. Shade
retrieves, if not defined, the OpenStack configuration from
"os_client_config". This configuration is used to generate the cloud
configuration, which is the description of the OpenStackCloud returned.

The default parameter defined, "verify", refers to the related bug. By
default, in case of using SSL certificate it will not be verified.

[1] https://github.com/opnfv/yardstick/blob/b338d3091bb0beb89d4ad9f7c144f43a31a19a74/yardstick/orchestrator/heat.py#L47

JIRA: YARDSTICK-1139

Change-Id: I875a7018401b84e51dab775b8194174645d27e06
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
(cherry picked from commit 9ae331e1aa1081c3e821512d1940846dfb4063ec)

6 years agoMerge "Bugfix: HA kill process recovery has a conflict" into stable/fraser
Jing Lu [Thu, 28 Jun 2018 07:36:33 +0000 (07:36 +0000)]
Merge "Bugfix: HA kill process recovery has a conflict" into stable/fraser

6 years agoMerge "Replace glance delete image with shade client." into stable/fraser
Rodolfo Alonso Hernandez [Thu, 28 Jun 2018 07:24:14 +0000 (07:24 +0000)]
Merge "Replace glance delete image with shade client." into stable/fraser

6 years agoMerge "Replace glance create image with shade client." into stable/fraser
Rodolfo Alonso Hernandez [Thu, 28 Jun 2018 07:24:10 +0000 (07:24 +0000)]
Merge "Replace glance create image with shade client." into stable/fraser

6 years agoMerge "Replace cinder detach volume with shade client." into stable/fraser
Rodolfo Alonso Hernandez [Thu, 28 Jun 2018 07:24:08 +0000 (07:24 +0000)]
Merge "Replace cinder detach volume with shade client." into stable/fraser

6 years agoMerge "Replace cinder delete volume with shade client." into stable/fraser
Rodolfo Alonso Hernandez [Thu, 28 Jun 2018 07:24:04 +0000 (07:24 +0000)]
Merge "Replace cinder delete volume with shade client." into stable/fraser

6 years agoMerge "Replace cinder create volume with shade client." into stable/fraser
Rodolfo Alonso Hernandez [Thu, 28 Jun 2018 07:24:01 +0000 (07:24 +0000)]
Merge "Replace cinder create volume with shade client." into stable/fraser

6 years agoMerge "Replace cinder get_volume_id with shade client." into stable/fraser
Rodolfo Alonso Hernandez [Thu, 28 Jun 2018 07:23:59 +0000 (07:23 +0000)]
Merge "Replace cinder get_volume_id with shade client." into stable/fraser

6 years agoMerge "Replace nova get flavor with shade client." into stable/fraser
Rodolfo Alonso Hernandez [Thu, 28 Jun 2018 07:23:56 +0000 (07:23 +0000)]
Merge "Replace nova get flavor with shade client." into stable/fraser

6 years agoMerge "Replace nova get server with shade client." into stable/fraser
Rodolfo Alonso Hernandez [Thu, 28 Jun 2018 07:23:53 +0000 (07:23 +0000)]
Merge "Replace nova get server with shade client." into stable/fraser

6 years agoMerge "Replace nova attach volume to server with shade client." into stable/fraser
Rodolfo Alonso Hernandez [Thu, 28 Jun 2018 07:23:50 +0000 (07:23 +0000)]
Merge "Replace nova attach volume to server with shade client." into stable/fraser

6 years agoMerge "Replace nova delete keypair with shade client." into stable/fraser
Rodolfo Alonso Hernandez [Thu, 28 Jun 2018 07:23:47 +0000 (07:23 +0000)]
Merge "Replace nova delete keypair with shade client." into stable/fraser

6 years agoMerge "Replace nova client create keypair with shade." into stable/fraser
Rodolfo Alonso Hernandez [Thu, 28 Jun 2018 07:23:44 +0000 (07:23 +0000)]
Merge "Replace nova client create keypair with shade." into stable/fraser

6 years agoMerge "Remove unused nova client functions." into stable/fraser
Rodolfo Alonso Hernandez [Thu, 28 Jun 2018 07:23:41 +0000 (07:23 +0000)]
Merge "Remove unused nova client functions." into stable/fraser

6 years agoMerge "Replace nova delete instance with shade client." into stable/fraser
Rodolfo Alonso Hernandez [Thu, 28 Jun 2018 07:23:35 +0000 (07:23 +0000)]
Merge "Replace nova delete instance with shade client." into stable/fraser

6 years agoMerge "Replace nova create instance with shade client." into stable/fraser
Rodolfo Alonso Hernandez [Thu, 28 Jun 2018 07:23:33 +0000 (07:23 +0000)]
Merge "Replace nova create instance with shade client." into stable/fraser

6 years agoMerge "Update neutron delete_neutron_net function." into stable/fraser
Rodolfo Alonso Hernandez [Thu, 28 Jun 2018 07:23:30 +0000 (07:23 +0000)]
Merge "Update neutron delete_neutron_net function." into stable/fraser

6 years agoMerge "Replace neutron create security group full with shade." into stable/fraser
Rodolfo Alonso Hernandez [Thu, 28 Jun 2018 07:23:26 +0000 (07:23 +0000)]
Merge "Replace neutron create security group full with shade." into stable/fraser

6 years agoCorrected scale-up command line arguments 53/59153/1
Chornyi, TarasX [Tue, 26 Jun 2018 11:39:56 +0000 (14:39 +0300)]
Corrected scale-up command line arguments

Change-Id: If308fde797dcb01e58f37ad81bb116fde542366a
Signed-off-by: Chornyi, TarasX <tarasx.chornyi@intel.com>
(cherry picked from commit 5fa31a4e78b9421615ef81c8392e30179d49e1cb)

6 years agoMerge "Change IxNextgen library load" into stable/fraser
Rodolfo Alonso Hernandez [Wed, 27 Jun 2018 16:48:33 +0000 (16:48 +0000)]
Merge "Change IxNextgen library load" into stable/fraser

6 years agoReplace glance delete image with shade client. 45/59145/1
Shobhi Jain [Thu, 12 Apr 2018 12:38:21 +0000 (13:38 +0100)]
Replace glance delete image with shade client.

Remove get_image_id function.
Function delete_image now uses shade client.

JIRA: YARDSTICK-892

Change-Id: I6e8510dfa49aa14786ed7ac3382b85c4e699fb9e
Signed-off-by: Shobhi Jain <shobhi.jain@intel.com>
(cherry picked from commit d6c1b8b7bfd257efd5fe2df30dd450bdb2c57c7d)

6 years agoReplace glance create image with shade client. 43/59143/1
Shobhi Jain [Wed, 11 Apr 2018 08:34:22 +0000 (09:34 +0100)]
Replace glance create image with shade client.

Function create_image now uses shade client.

JIRA: YARDSTICK-892

Change-Id: Ia41d9ce702a1f24031080f8a365c1b2bd9ac9faa
Signed-off-by: Shobhi Jain <shobhi.jain@intel.com>
(cherry picked from commit c31edc5ab9013d93ffd32ed72adb14740e43b24a)

6 years agoReplace cinder detach volume with shade client. 41/59141/1
Shobhi Jain [Tue, 10 Apr 2018 14:17:35 +0000 (15:17 +0100)]
Replace cinder detach volume with shade client.

Function detach volume now uses shade client.

JIRA: YARDSTICK-891

Change-Id: Ie437ccf1172cb82dc869963f0d62e31a5ab23ebb
Signed-off-by: Shobhi Jain <shobhi.jain@intel.com>
(cherry picked from commit f6cca46f6b1aa6134a0e634a3a9e524cdbbfa729)

6 years agoReplace cinder delete volume with shade client. 39/59139/1
Shobhi Jain [Tue, 10 Apr 2018 13:13:50 +0000 (14:13 +0100)]
Replace cinder delete volume with shade client.

Function delete volume now uses shade client.

JIRA: YARDSTICK-891

Change-Id: I016e1d3bf5972879cad176b56c7282e35413945e
Signed-off-by: Shobhi Jain <shobhi.jain@intel.com>
(cherry picked from commit 4c672aa7012a530806a2f8ff2d45a8badb7f7b21)

6 years agoReplace cinder create volume with shade client. 37/59137/1
Shobhi Jain [Fri, 6 Apr 2018 13:44:33 +0000 (14:44 +0100)]
Replace cinder create volume with shade client.

Adds get_volume function.
Function create volume now uses shade client.

JIRA: YARDSTICK-891

Change-Id: I0b2fae5f2cf52eaf2e4a0062c858d49bc4ce9ccd
Signed-off-by: Shobhi Jain <shobhi.jain@intel.com>
(cherry picked from commit 2d33d0f289f3dd3864fe57289e953b876f362c06)

6 years agoReplace cinder get_volume_id with shade client. 35/59135/1
Shobhi Jain [Fri, 6 Apr 2018 10:41:54 +0000 (11:41 +0100)]
Replace cinder get_volume_id with shade client.

Function get_volume_id now uses shade client.

JIRA: YARDSTICK-891

Change-Id: I45ae40982a64f677dbbdeb6c9510a0ec9ac973f1
Signed-off-by: Shobhi Jain <shobhi.jain@intel.com>
(cherry picked from commit be197a6197e803b6334f2ccf72f561245ef7aac7)

6 years agoReplace nova get flavor with shade client. 33/59133/1
Shobhi Jain [Thu, 5 Apr 2018 15:04:08 +0000 (16:04 +0100)]
Replace nova get flavor with shade client.

Rename get_flavor_by_name with get_flavor.
Function get_flavor now uses shade client.

JIRA: YARDSTICK-1088

Change-Id: Ic82127e475baf39643be0a254b177f3058b85748
Signed-off-by: Shobhi Jain <shobhi.jain@intel.com>
(cherry picked from commit 35bbd618b1e69a5b5edbd64a333720bfa5a92400)

6 years agoReplace nova get server with shade client. 31/59131/1
Shobhi Jain [Fri, 30 Mar 2018 09:45:54 +0000 (10:45 +0100)]
Replace nova get server with shade client.

Rename get_server_by_name with get_server.
Function get_server now uses shade client.

JIRA: YARDSTICK-1088

Change-Id: I69c59145cefdb565f3ece27baaaf932905e1b757
Signed-off-by: Shobhi Jain <shobhi.jain@intel.com>
(cherry picked from commit d75a91ebf2937e5cfe5cf2aa5a90db9121f73967)

6 years agoReplace nova attach volume to server with shade client. 29/59129/1
Shobhi Jain [Wed, 28 Mar 2018 11:19:35 +0000 (12:19 +0100)]
Replace nova attach volume to server with shade client.

Function attach_volume_to_server now uses shade client
instead of nova client.

JIRA: YARDSTICK-1088

Change-Id: Id00df672c2c195b5c338cbbc30ddf2742a4e4d29
Signed-off-by: Shobhi Jain <shobhi.jain@intel.com>
(cherry picked from commit 8fd82cd8d0146d8cebbc32ed7cbb6fb9d1861297)

6 years agoReplace nova delete keypair with shade client. 27/59127/1
Shobhi Jain [Tue, 27 Mar 2018 15:47:04 +0000 (16:47 +0100)]
Replace nova delete keypair with shade client.

Function delete_keypair now uses shade client.

JIRA: YARDSTICK-1088

Change-Id: I46b895748c5c44b0bf7d5b035395676ebff48d7f
Signed-off-by: Shobhi Jain <shobhi.jain@intel.com>
(cherry pick from commit aded0fdb30caf035e0eb94c1216f436ba597c2c7)

6 years agoReplace nova client create keypair with shade. 25/59125/1
Shobhi Jain [Tue, 27 Mar 2018 13:28:08 +0000 (14:28 +0100)]
Replace nova client create keypair with shade.

Function create_keypair now uses shade client instead
of nova client.

JIRA: YARDSTICK-1088

Change-Id: I060580504d6969c5ba859ed4494082feb998d37d
Signed-off-by: Shobhi Jain <shobhi.jain@intel.com>
(cherry pick from commit c1ab98526209a761a0565afa7ccd552ba9ac7ade)

6 years agoRemove unused nova client functions. 23/59123/1
Shobhi Jain [Mon, 26 Mar 2018 15:04:49 +0000 (16:04 +0100)]
Remove unused nova client functions.

Following funtions are not required by shade client also
not been used in any of the scenario files:
*create_aggregate
*create_aggregate_with_host
*create_instance
*add_host_to_aggregate
*create_aggregate_with_host
*get_availability_zones
*get_availability_zone_names
*remove_hosts_from_aggregate
*remove_host_from_aggregate
*delete_aggregate
*get_image_by_name
*check_status

JIRA: YARDSTICK-1088

Change-Id: I7ba0fbce6aa3e636aa55581a993c1ec1b48fbead
Signed-off-by: Shobhi Jain <shobhi.jain@intel.com>
(cherry picked from commit 2ca15a8c87e171cbd82b1e748dfc60903662b73b)

6 years agoReplace nova delete instance with shade client. 21/59121/1
Shobhi Jain [Mon, 26 Mar 2018 13:56:59 +0000 (14:56 +0100)]
Replace nova delete instance with shade client.

Function delete_instance now uses shade client.

JIRA: YARDSTICK-1088

Change-Id: I5772a74c6dc2d103edd410042a8eaf721d1bcc5c
Signed-off-by: Shobhi Jain <shobhi.jain@intel.com>
(cherry picked from commit 05f97c4e4ce1e8c7c97cda16f12215e663a13c23)

6 years agoReplace nova create instance with shade client. 19/59119/1
Shobhi Jain [Thu, 22 Mar 2018 16:45:13 +0000 (16:45 +0000)]
Replace nova create instance with shade client.

Remove redundant functions:
*get_instances
*get_instance_status
*get_instance_by_name

Function create_instance_and_wait_for_active now uses shade client.

JIRA: YARDSTICK-1088

Change-Id: I766da333dabbb1b83a7b4ede4bf73567ec70eb8c
Signed-off-by: Shobhi Jain <shobhi.jain@intel.com>
(cherry picked from commit 069d7a13d1f8b6b465ae164e2a440c25270f7e8e)

6 years agoUpdate neutron delete_neutron_net function. 17/59117/1
Shobhi Jain [Fri, 16 Mar 2018 13:07:55 +0000 (13:07 +0000)]
Update neutron delete_neutron_net function.

Update the changes done in patch [1].

JIRA: YARDSTICK-890

[1] https://gerrit.opnfv.org/gerrit/#/c/52361/

Change-Id: Iccbf16d0a2e72919d5092366241ff41686f01a58
Signed-off-by: Shobhi Jain <shobhi.jain@intel.com>
(cherry picked from commit 14615e286e67ca74a8c0ae55ffe043170e5ecbb6)

6 years agoReplace neutron create security group full with shade. 15/59115/1
Shobhi Jain [Fri, 16 Mar 2018 11:56:09 +0000 (11:56 +0000)]
Replace neutron create security group full with shade.

Function create_security_group_full now uses shade client.

Remove openstack util's private 'get_security_groups',
'get_security_group_id' & 'create_security_group' functions as
'create_security_group_full' now uses 'get_security_group' &
'create_security_group' function defined in shade client library.

JIRA: YARDSTICK-890

Change-Id: Ibd5b9ca9b7ce99b3e40c5dcc545f2af672ce2203
Signed-off-by: Shobhi Jain <shobhi.jain@intel.com>
(cherry picked from commit c00e2c606806b46111b108818235d236ba409515)

6 years agoNSB setup inventory name changed 91/59091/1
Mytnyk, Volodymyr [Wed, 27 Jun 2018 13:27:15 +0000 (14:27 +0100)]
NSB setup inventory name changed

NSB setup script [1] fails when retrieving the inventory file. This script
is going to be deprecated but we still support it.

[1] https://github.com/opnfv/yardstick/blob/master/nsb_setup.sh

JIRA: YARDSTICK-1247

Change-Id: I3798531652b0e3a1a007d1d9434998fdd54645d7
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
Signed-off-by: Mytnyk, Volodymyr <volodymyrx.mytnyk@intel.com>
(cherry picked from commit 370b703896656f6b6949de05b6c44c98a72eee46)

6 years agoFix nsb_setup.sh script 81/59081/1
John O Loughlin [Wed, 2 May 2018 09:03:20 +0000 (10:03 +0100)]
Fix nsb_setup.sh script

Ansible role install_dependencies was renamed
to install_dependencies_jumphost in previous patch.

JIRA: YARDSTICK-1146

Change-Id: Idf7c191151961c1c0e63ad2f75aa0aab8ed2b2fa
Signed-off-by: John O Loughlin <john.oloughlin@intel.com>
(cherry picked from commit bbf5e6a37922124bd729b5e6e50929c282bb7892)

6 years agoMerge "Install dependencies: bare-metal, standalone" into stable/fraser
Rodolfo Alonso Hernandez [Wed, 27 Jun 2018 09:18:56 +0000 (09:18 +0000)]
Merge "Install dependencies: bare-metal, standalone" into stable/fraser

6 years agoMerge "Start nginx and uwsgi servicies only in not container mode" into stable/fraser
Rodolfo Alonso Hernandez [Wed, 27 Jun 2018 09:18:51 +0000 (09:18 +0000)]
Merge "Start nginx and uwsgi servicies only in not container mode" into stable/fraser

6 years agoMerge "Migrate install.sh script to ansible" into stable/fraser
Rodolfo Alonso Hernandez [Wed, 27 Jun 2018 09:18:47 +0000 (09:18 +0000)]
Merge "Migrate install.sh script to ansible" into stable/fraser

6 years agoBugfix: HA kill process recovery has a conflict 49/59049/1
rexlee8776 [Tue, 19 Jun 2018 10:40:20 +0000 (10:40 +0000)]
Bugfix: HA kill process recovery has a conflict

It happens in Nokia SUT when running in the Plugfest. The problem happens when
the start_process start to recover the killed process (like nova-api), but the
self-cured mechanism already recovered. And somehow it lead to a conflict and
has problems.
So the recover of the HA attack-recover should be improved to only recover it
when it needs to.

JIRA: YARDSTICK-1222

Change-Id: I1acb5a7d59d6fe4e0de0b0c5942fa89e051dd1ff
Signed-off-by: rexlee8776 <limingjiang@huawei.com>
(cherry picked from commit 736f3fa5d52345d6fe5174b83de043f779fa0600)

6 years agoInstall dependencies: bare-metal, standalone 21/58921/3
Stepan Andrushko [Tue, 15 May 2018 09:46:42 +0000 (12:46 +0300)]
Install dependencies: bare-metal, standalone

This will install all dependencies needed on the bare-metal and standalone
physical nodes.

JIRA: YARDSTICK-1177

Change-Id: I719ca64d4da098d6dd60597e5fc4ad6f4715f79e
Signed-off-by: Stepan Andrushko <stepanx.andrushko@intel.com>
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
(cherry picked from commit 86be172a9427a4ecee5666e9660ce37c006abe1b)

6 years agoStart nginx and uwsgi servicies only in not container mode 19/58919/3
Stepan Andrushko [Tue, 15 May 2018 15:42:55 +0000 (18:42 +0300)]
Start nginx and uwsgi servicies only in not container mode

No need to execute nginx and uwsgi when running in container mode.

JIRA: YARDSTICK-1179

Change-Id: I253f3adab388a14886b70e6589936f6eb27ac4c0
Signed-off-by: Stepan Andrushko <stepanx.andrushko@intel.com>
(cherry picked from commit 3decdca3d0732a1df845650562e7bcb8fbfd87a7)

6 years agoMigrate install.sh script to ansible 17/58917/3
John O Loughlin [Fri, 16 Feb 2018 15:29:58 +0000 (15:29 +0000)]
Migrate install.sh script to ansible

Ansible scripts to install yardstick.

These scripts will take a few options:
  INSTALLATION_MODE : Container or Baremetal
  YARDSTICK_DIR: Location of Yardstick directory
  VIRTUAL_ENVIRONMENT: Should a virtual environment be used
  NSB_DIR: Location of NSB directory

JIRA: YARDSTICK-1126

Change-Id: I4a13e07e96650ffd971dfb18472f2563cfd51aa9
Signed-off-by: John O Loughlin <john.oloughlin@intel.com>
(cherry picked from commit 0b976dd02421a181674acc837127ac741ccfccea)

6 years agoStop running tests from tests/unit 67/58767/10
Emma Foley [Tue, 20 Feb 2018 16:19:50 +0000 (16:19 +0000)]
Stop running tests from tests/unit

Since all tests have been moved into yardstick/tests,
temperary code to run tests in both tests and yardstick/tests
should be removed.

JIRA: YARDSTICK-837
Change-Id: I3bf3c9ece9bc8457d992e53ee8cc5cadb1dec8f0
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
(cherry-picked from commit 64add9a435e9455b3bff6971d2717857cdce8193)

6 years agoRefactor "utils.parse_ini_file" testing 29/59029/3
Rodolfo Alonso Hernandez [Tue, 5 Jun 2018 14:44:30 +0000 (15:44 +0100)]
Refactor "utils.parse_ini_file" testing

JIRA: YARDSTICK-1218

Change-Id: I5136b22110d215beb7af72998ad47a8dba27f63b
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
(cherry picked from commit 4a186ef7fde978f89f4332990f70e396966f69e3)

6 years agoFix "os.path" mock problems during tests 45/59045/1
Emma Foley [Tue, 26 Jun 2018 14:37:52 +0000 (15:37 +0100)]
Fix "os.path" mock problems during tests

This patch removes the global mocking applied on "os.path".

Change-Id: Ia18d2c90195c5408a1852792bdf05b6f0c1ad21f
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
(cherry picked from commit d7f8717c3beb1854976e77d56823f482497ffff3)

6 years agoMerge "Refactor RFC2455 TRex traffic profile injection" into stable/fraser
Emma Foley [Tue, 26 Jun 2018 13:56:01 +0000 (13:56 +0000)]
Merge "Refactor RFC2455 TRex traffic profile injection" into stable/fraser

6 years agoChange IxNextgen library load 97/58997/2
Rodolfo Alonso Hernandez [Mon, 25 Jun 2018 07:47:00 +0000 (08:47 +0100)]
Change IxNextgen library load

Changed IxNextgen library load in IXIA RFC2544 traffic generator call.

JIRA: YARDSTICK-1116

Change-Id: Icbdc5f1255dd2676584f3a1be767287e55e71f4a
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
(cherry picked from commit 9d84f5ad73e9689d3131e4ce09fe7262697c5817)

6 years agoStop time.sleep mocks in unit tests 17/58817/14
Rodolfo Alonso Hernandez [Thu, 14 Jun 2018 13:14:27 +0000 (14:14 +0100)]
Stop time.sleep mocks in unit tests

tVpeApproxVnf and TestProxSocketHelper classes mock "time.sleep" in
the setUp method without deleting it at the end of the test execution.

JIRA: YARDSTICK-1243

Change-Id: Iff31d9c7b400ad8a47f37792aeb0d20328b9d9e1
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
(cherry picked from commit 9b22f5b23050a0be67f8237e4d0b412f58b43472)

6 years agoRefactor RFC2455 TRex traffic profile injection 93/58993/2
Rodolfo Alonso Hernandez [Thu, 24 May 2018 13:02:03 +0000 (14:02 +0100)]
Refactor RFC2455 TRex traffic profile injection

The TRex RFC2455 traffic profile configures the duration of the traffic
injection. Once the traffic is started, the traffic profile should poll
the traffic injector client for the injection status. When the injection
is finished, the traffic execution should end.

Instead of this, the traffic profile waits a fixed time (using time.sleep
method) and then stops the traffic. This approach is not accurate and may
cause shorter injection periods.

JIRA: YARDSTICK-1197

Change-Id: I5090df81ef4ec7945ff6c1aff070656b48e0fe77
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
(cherry picked from commit 340be73be5fd20067c23a7ddce9073639e355d3a)

6 years agoMove tests: unit/network_services/helpers 63/58763/9
Emma Foley [Fri, 27 Apr 2018 10:33:17 +0000 (10:33 +0000)]
Move tests: unit/network_services/helpers

* Fix pylint errors
* Add TODOs

Some errors are ignored locally, as they were a symptom of other problems.
These issues have been flagged with a TODO, and should be fixed later.

JIRA: YARDSTICK-837
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
Change-Id: If0b77a6e0b102071ecfb212362647c62a621e4f9
(cherry-picked from commit 065c00d3147d12c692d43179d9c1c9afadb97825)

6 years agoMerge "Move tests: unit/network_services/vnf_generic" into stable/fraser
Emma Foley [Tue, 26 Jun 2018 11:02:43 +0000 (11:02 +0000)]
Merge "Move tests: unit/network_services/vnf_generic" into stable/fraser

6 years agoMerge "Standalone XML machine type is not longer valid" into stable/fraser
Emma Foley [Tue, 26 Jun 2018 10:17:47 +0000 (10:17 +0000)]
Merge "Standalone XML machine type is not longer valid" into stable/fraser

6 years agoMove tests: unit/network_services/vnf_generic 65/58765/16
Emma Foley [Fri, 27 Apr 2018 10:30:20 +0000 (10:30 +0000)]
Move tests: unit/network_services/vnf_generic

* Fix pylint errors
* Add TODOs

Some errors are ignored locally, as they were a symptom of other problems.
These issues have been flagged with a TODO, and should be fixed later.

JIRA: YARDSTICK-837

Signed-off-by: Emma Foley <emma.l.foley@intel.com>
Change-Id: I3d95537a64bde923703421510d27bac0d6dd92bd
(cherry-picked from commit 98294f2c8153f663c3b3a4e4cb98910e9d5cb602)

6 years agoMerge "Remove instantiated contexts in "test_task"" into stable/fraser
Emma Foley [Tue, 26 Jun 2018 09:30:47 +0000 (09:30 +0000)]
Merge "Remove instantiated contexts in "test_task"" into stable/fraser

6 years agoRemove instantiated contexts in "test_task" 81/58781/9
Rodolfo Alonso Hernandez [Thu, 31 May 2018 17:54:31 +0000 (18:54 +0100)]
Remove instantiated contexts in "test_task"

During unit testing, all contexts instantiated must be deleted at the end
of the test to avoid clashes with other tests.

JIRA: YARDSTICK-1209

Change-Id: I1994b915001b4a518e096833a0c5d33febbd8de6
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
(cherry picked from commit 5e4d95ba299ce92588701d9481657c343b8ef609)

6 years agoMerge "Move tests: unit/network_services/nfvi" into stable/fraser
Emma Foley [Mon, 25 Jun 2018 15:08:31 +0000 (15:08 +0000)]
Merge "Move tests: unit/network_services/nfvi" into stable/fraser

6 years agoMerge "Add "duration" parameter to test case definition" into stable/fraser
Rodolfo Alonso Hernandez [Mon, 25 Jun 2018 14:41:59 +0000 (14:41 +0000)]
Merge "Add "duration" parameter to test case definition" into stable/fraser

6 years agoMerge "Remove print out of logger exception in TestUtils" into stable/fraser
Rodolfo Alonso Hernandez [Mon, 25 Jun 2018 14:40:34 +0000 (14:40 +0000)]
Merge "Remove print out of logger exception in TestUtils" into stable/fraser

6 years agoMerge "Cleanup TestYardstickNSCli class" into stable/fraser
Rodolfo Alonso Hernandez [Mon, 25 Jun 2018 14:40:13 +0000 (14:40 +0000)]
Merge "Cleanup TestYardstickNSCli class" into stable/fraser

6 years agoMerge "Document for Fraser test case results" into stable/fraser
Emma Foley [Mon, 25 Jun 2018 14:38:17 +0000 (14:38 +0000)]
Merge "Document for Fraser test case results" into stable/fraser

6 years agoMove tests: unit/network_services/nfvi 61/58761/7
Emma Foley [Fri, 27 Apr 2018 10:41:10 +0000 (10:41 +0000)]
Move tests: unit/network_services/nfvi

* Fix pylint errors
* Add TODOs

Some errors are ignored locally, as they were a symptom of other problems.
These issues have been flagged with a TODO, and should be fixed later.

JIRA: YARDSTICK-837
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
Change-Id: Id330ee1c89d54ef487edb7fe160e5a31d9a3094f
(cherry-picked from commit e12f98c2bbed5191714bdc553e7b269b1437cecd)

6 years agoAdd "duration" parameter to test case definition 61/58861/4
Rodolfo Alonso Hernandez [Wed, 23 May 2018 08:16:39 +0000 (09:16 +0100)]
Add "duration" parameter to test case definition

Add "duration" parameter to test case definition, in scenario:options
section. This parameter will be rendered in the traffic profile.

If the parameter is not present in the test case scenario options, the
default time written in the traffic profile options will be 30 seconds
(TrafficProfile.DEFAULT_DURATION = 30). If the traffic profile
injection time is not defined, the default injection time will be 30
seconds.

  testcase:scenario:options:duration (default = 30)
      render --> traffic_profile:duration
          parse --> TrafficProfile.duration (default = 30)

Target traffic profiles (RFC2544):
  - RFC2544Profile
  - IXIARFC2544Profile

JIRA: YARDSTICK-1194

Change-Id: I968922e6bb882d7ee15aa1c4db4037face7a3492
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
(cherry picked from commit 1517319fd210d71db72c5e4bfa00fc49ae4fa877)

6 years agoImprove IXIA IxNetwork library and traffic profile (4) 11/58811/6
Rodolfo Alonso Hernandez [Thu, 12 Apr 2018 14:08:58 +0000 (15:08 +0100)]
Improve IXIA IxNetwork library and traffic profile (4)

This patch implements an active wait for the traffic injection. Once the
traffic is started, the traffic generator class will poll periodically the
IXIA traffic generator chassis to retrieve the status of the traffic
("started", "stopped").

Now the latency statistics are retrieved and reported for each injection
period.

JIRA: YARDSTICK-1116

Change-Id: I4422e2c88b4fc97b7cac3de8a82b2d75467c4117
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
(cherry picked from commit a3399d07b83ce0e50d9c0144d00a7ba83a73390f)

6 years agoImprove IXIA IxNetwork library and traffic profile (3) 09/58809/6
Rodolfo Alonso Hernandez [Wed, 11 Apr 2018 17:32:52 +0000 (18:32 +0100)]
Improve IXIA IxNetwork library and traffic profile (3)

This patch modifies IP packet parameters.

"IxNextgen.update_ip_packet" modifies the L3 packet according to the
test case and setup the IP addresses.

JIRA: YARDSTICK-1116

Change-Id: I46ff75ab1989d0e6f5cc876418a015386717e06f
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
(cherry picked from commit e5c78ae3ec1bcf0cb44646c6031fb9c04dd63e4a)

6 years agoImprove IXIA IxNetwork library and traffic profile (2) 07/58807/6
Rodolfo Alonso Hernandez [Tue, 10 Apr 2018 08:15:55 +0000 (09:15 +0100)]
Improve IXIA IxNetwork library and traffic profile (2)

This patch modifies the way the packet frame and the flow is configured
before the injection.

"IxNextgen.update_frame" modifies the L2 frame according to the
test case and setup the frame rate, frame size, traffic injection
duration and MAC addresses.

JIRA: YARDSTICK-1116

Change-Id: Ife08f15a4eda24d7835c92c4172b450854d112ee
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
(cherry picked from commit 8d10a6a8447fc2798491a6f3856e21b85fa309ba)

6 years agoImprove IXIA IxNetwork library and traffic profile (1) 05/58805/5
Rodolfo Alonso Hernandez [Tue, 10 Apr 2018 07:39:16 +0000 (08:39 +0100)]
Improve IXIA IxNetwork library and traffic profile (1)

This patch introduces a new way to configure the TCL IxNetwork server.
All the configuration is done using the TCL API, removing the need of
using the pre-saved configuration file.

"IxNextgen.assign_ports" creates and assigns the virtual ports for each
physical port defined in the test case.

"IxNextgen.create_traffic_item" creates one traffic item and two flow
groups per pair of ports, in both directions.

"IxNextgen.gt_statistics" retrieves only the required statistics to
generate the samples blob in the traffic generator.

JIRA: YARDSTICK-1116

Change-Id: I8f1c0c55e99c274b2ed8276ed9a385c502e16d93
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
(cherry picked from commit ee721fd3e8b77ccfe4252a107a9af8dc41ccc389)

6 years agoMerge "Add active wait function" into stable/fraser
Rodolfo Alonso Hernandez [Mon, 25 Jun 2018 09:20:44 +0000 (09:20 +0000)]
Merge "Add active wait function" into stable/fraser

6 years agoMerge "Add IxNetwork API Python Binding package" into stable/fraser
Rodolfo Alonso Hernandez [Mon, 25 Jun 2018 09:20:39 +0000 (09:20 +0000)]
Merge "Add IxNetwork API Python Binding package" into stable/fraser

6 years agoMerge "Use TRex release v2.41 to support both x86 and aarch64" into stable/fraser
Rodolfo Alonso Hernandez [Mon, 25 Jun 2018 07:48:11 +0000 (07:48 +0000)]
Merge "Use TRex release v2.41 to support both x86 and aarch64" into stable/fraser

6 years agoAdd active wait function 03/58803/4
Rodolfo Alonso Hernandez [Thu, 19 Apr 2018 13:58:38 +0000 (14:58 +0100)]
Add active wait function

Added function "wait_until_true". This function will make an active
wait until the predicate passed as an argument returns True.

If the timeout expires, the function will raise a generic exception
or a user defined one passed as an argument.

This function will be used in YARDSTICK-1127.

JIRA: YARDSTICK-1128

Change-Id: I9854e465ac6b586bf4be39ab4b266d5625b39e30
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
(cherry picked from 099108aab37d1fae1b27f4e2e20136c234df1a52)

6 years agoAdd IxNetwork API Python Binding package 01/58801/3
Rodolfo Alonso Hernandez [Thu, 29 Mar 2018 14:39:49 +0000 (15:39 +0100)]
Add IxNetwork API Python Binding package

Add IxNetwork python package to the requirements list.

This module is needed for the "NSPerf" scenarios using IXIA as traffic
generator, when IxNetwork is the program used to handle the IXIA
generator.

The latest version of this module is 8.40.1124.9 [1]. The license type
is MIT.

[1] https://pypi.python.org/pypi/ixnetwork

JIRA: YARDSTICK-1106

Change-Id: I279933c95994f5120930256a104c4192a0b9900d
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
6 years agoMerge "Configure ACL via static file" into stable/fraser
Emma Foley [Fri, 22 Jun 2018 16:45:56 +0000 (16:45 +0000)]
Merge "Configure ACL via static file" into stable/fraser

6 years agoMerge "Move tests: unit/network_services/traffic_profile" into stable/fraser
Emma Foley [Fri, 22 Jun 2018 16:39:35 +0000 (16:39 +0000)]
Merge "Move tests: unit/network_services/traffic_profile" into stable/fraser

6 years agoMerge "Cleanup BaseMonitor unit tests" into stable/fraser
Emma Foley [Fri, 22 Jun 2018 16:37:53 +0000 (16:37 +0000)]
Merge "Cleanup BaseMonitor unit tests" into stable/fraser

6 years agoMove tests: unit/network_services/traffic_profile 59/58759/5
Emma Foley [Fri, 27 Apr 2018 10:37:37 +0000 (10:37 +0000)]
Move tests: unit/network_services/traffic_profile

* Fix pylint errors
* Add TODOs

Some errors are ignored locally, as they were a symptom of other problems.
These issues have been flagged with a TODO, and should be fixed later.

JIRA: YARDSTICK-837
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
Change-Id: Id983a2e415d66633331e7fea96a377e2a7589980
(cherry-picked from commit cfc40ad1bb36889e54bc99cb779cfcfa1f3b04dd)

6 years agoMerge "MQ startup process refactor" into stable/fraser
Abhijit Sinha [Fri, 22 Jun 2018 15:46:31 +0000 (15:46 +0000)]
Merge "MQ startup process refactor" into stable/fraser

6 years agoMerge "Add "host_name_separator" variable to Context class" into stable/fraser
Emma Foley [Fri, 22 Jun 2018 15:21:59 +0000 (15:21 +0000)]
Merge "Add "host_name_separator" variable to Context class" into stable/fraser

6 years agoMerge "Move IncorrectConfig, IncorrectSetup and IncorrectNodeSetup to exceptions...
Emma Foley [Fri, 22 Jun 2018 15:13:32 +0000 (15:13 +0000)]
Merge "Move IncorrectConfig, IncorrectSetup and IncorrectNodeSetup to exceptions" into stable/fraser

6 years agoUse TRex release v2.41 to support both x86 and aarch64 27/58927/1
trevortao [Wed, 23 May 2018 04:42:28 +0000 (12:42 +0800)]
Use TRex release v2.41 to support both x86 and aarch64

Currently Yardstick uses Cisco's TRex release v2.28 which
can only support x86, for the consideration of
multi-arch support of Yardstick, the trex release v2.41
is now available and it can support multi-arch(both x86
and aarch64) now.

For the external lib of v2.41, for x86_64, it looks like:
external_libs/pyzmq-14.5.0/python2/intel/ucs4/64bit/zmq
for arm64, it looks like:
external_libs/pyzmq-14.5.0/python2/arm/ucs4/64bit/zmq
So replace the trex release v2.28 with v2.41.

JIRA: YARDSTICK-1191

Change-Id: I22dc3499283d48a89da1145cc480fd7d2a93a1cc
Signed-off-by: trevortao <trevor.tao@arm.com>
(cherry picked from commit 13f19d35a04ffb46ca673e81385779bc46c48781)

6 years agoConfigure ACL via static file 25/58925/1
Mytnyk, Volodymyr [Thu, 31 May 2018 09:03:10 +0000 (10:03 +0100)]
Configure ACL via static file

This patch allows user to configure ACL/vFW SampleVNF ACL
via configuration file provided in TC definition. The
Yardstick applies the rules to SampleVNF from specified config
file + rules generated by Yardstick (default rules).

The example of SampleVNF ACL CLI commands generated/applied
by Yardstick can be found at (using default ACL config file):

ACL VNF ACL CLI commands:
  acl/tc_heat_rfc2544_ipv4_1rule_1flow_64B_trex.yaml
  http://paste.openstack.org/show/723303/

vFW VNF ACL CLI commands:
  vfw/tc_heat_rfc2544_ipv4_1rule_1flow_64B_trex.yaml
  http://paste.openstack.org/show/723304/

Change-Id: I76a630261a982083b628e3985fc3bec14ca495db
Signed-off-by: Mytnyk, Volodymyr <volodymyrx.mytnyk@intel.com>
(cherry picked from commit 3fdca97ff5053770161059a34a95fd39463eaecd)