aboutsummaryrefslogtreecommitdiffstats
path: root/samples/vnf_samples/traffic_profiles
diff options
context:
space:
mode:
authorVolodymyr Mytnyk <volodymyrx.mytnyk@intel.com>2019-04-08 09:21:43 +0000
committerGerrit Code Review <gerrit@opnfv.org>2019-04-08 09:21:43 +0000
commit05ee87a4710c723e130a2b4744e7fd7993892d1f (patch)
treed3c67a567b756f7f536aa056c8ad0eaeb174dff5 /samples/vnf_samples/traffic_profiles
parenta117f60b53f4297b06811e67b682ac111a9715a5 (diff)
parentd2096454fb0dd69b7b678d1e546e31f42d3be031 (diff)
Merge "Allow testcases to be configured over cli"
Diffstat (limited to 'samples/vnf_samples/traffic_profiles')
-rw-r--r--samples/vnf_samples/traffic_profiles/ipv4_throughput.yaml5
-rw-r--r--samples/vnf_samples/traffic_profiles/ixia_ipv4_latency.yaml3
2 files changed, 5 insertions, 3 deletions
diff --git a/samples/vnf_samples/traffic_profiles/ipv4_throughput.yaml b/samples/vnf_samples/traffic_profiles/ipv4_throughput.yaml
index 194bcd978..51c58962f 100644
--- a/samples/vnf_samples/traffic_profiles/ipv4_throughput.yaml
+++ b/samples/vnf_samples/traffic_profiles/ipv4_throughput.yaml
@@ -1,4 +1,4 @@
-# Copyright (c) 2016-2017 Intel Corporation
+# Copyright (c) 2016-2019 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -33,6 +33,7 @@
# the profile defines a public and private side to make limited traffic correlation
# between private and public side same way as it is made by IXIA solution.
#
+{% set frame_rate = get(extra_args, 'frame_rate' or 100 ) %}
schema: "nsb:traffic_profile:0.1"
# This file is a template, it will be filled with values from tc.yaml before passing to the traffic generator
@@ -41,7 +42,7 @@ name: rfc2544
description: Traffic profile to run RFC2544 latency
traffic_profile:
traffic_type : RFC2544Profile # defines traffic behavior - constant or look for highest possible throughput
- frame_rate : 100 # pc of linerate
+ frame_rate : {{ frame_rate }} # pc of linerate
duration: {{ duration }}
enable_latency: False
diff --git a/samples/vnf_samples/traffic_profiles/ixia_ipv4_latency.yaml b/samples/vnf_samples/traffic_profiles/ixia_ipv4_latency.yaml
index a6a36e02c..1ecb2cb2e 100644
--- a/samples/vnf_samples/traffic_profiles/ixia_ipv4_latency.yaml
+++ b/samples/vnf_samples/traffic_profiles/ixia_ipv4_latency.yaml
@@ -19,6 +19,7 @@
# the profile defines a public and private side to make limited traffic correlation
# between private and public side same way as it is made by IXIA solution.
#
+{% set frame_rate = get(extra_args, 'frame_rate' or '100%' ) %}
schema: "nsb:traffic_profile:0.1"
# This file is a template, it will be filled with values from tc.yaml before passing to the traffic generator
@@ -27,7 +28,7 @@ name: rfc2544
description: Traffic profile to run RFC2544 latency
traffic_profile:
traffic_type : IXIARFC2544Profile # defines traffic behavior - constant or look for highest possible throughput
- frame_rate : 100% # pc of linerate
+ frame_rate : {{ frame_rate }} # pc of linerate
duration: {{ duration }}
enable_latency: True