summaryrefslogtreecommitdiffstats
path: root/samples/vnf_samples/traffic_profiles/ixia_ipv4_latency.yaml
diff options
context:
space:
mode:
authorRodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>2018-05-23 09:16:39 +0100
committerEmma Foley <emma.l.foley@intel.com>2018-06-25 15:07:02 +0100
commit32bb2541b915d1a94e22116eb7c8fcb3c6523b5f (patch)
tree121e0381620a3b3299fe3be1b044f9c314276a64 /samples/vnf_samples/traffic_profiles/ixia_ipv4_latency.yaml
parent22f4074aed052a9dcb73c8907db74306642ae9b3 (diff)
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)
Diffstat (limited to 'samples/vnf_samples/traffic_profiles/ixia_ipv4_latency.yaml')
-rw-r--r--samples/vnf_samples/traffic_profiles/ixia_ipv4_latency.yaml3
1 files changed, 1 insertions, 2 deletions
diff --git a/samples/vnf_samples/traffic_profiles/ixia_ipv4_latency.yaml b/samples/vnf_samples/traffic_profiles/ixia_ipv4_latency.yaml
index 7b66d663b..b34672907 100644
--- a/samples/vnf_samples/traffic_profiles/ixia_ipv4_latency.yaml
+++ b/samples/vnf_samples/traffic_profiles/ixia_ipv4_latency.yaml
@@ -28,8 +28,7 @@ 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
- # that specifies a range (e.g. ipv4 address, port)
-
+ duration: {{ duration }}
uplink_0:
ipv4: