summaryrefslogtreecommitdiffstats
path: root/etc/patches/bottlenecks/bugfix-add-ping-sla/0001-Bugfix-adding-ping-bottlenecks-sla.patch
diff options
context:
space:
mode:
authorxudan <xudan16@huawei.com>2019-02-27 03:46:32 -0500
committerxudan <xudan16@huawei.com>2019-02-27 03:52:51 -0500
commit346e28bf54f17354a7f784f57d3d52b9b91f22cd (patch)
tree8ae58002f3448bc993e5e05a64eab7653075e517 /etc/patches/bottlenecks/bugfix-add-ping-sla/0001-Bugfix-adding-ping-bottlenecks-sla.patch
parent05ffb18a9d045fe94e93e9fdae376939f5d12d0b (diff)
Add a patch to Bottlenecks
This submit add a patch to Bottlenecks container created by Dovetail to change source code in Yardstick container created by Bottlenecks itself. The changes are: 1. Add SLA check to avoid the Nonetype exception 2. Let the target server be created before the host server in order to give the target one more time to setup. Change-Id: If988a33e4ae6fccd56b10547885b65aa3c019cca Signed-off-by: xudan <xudan16@huawei.com>
Diffstat (limited to 'etc/patches/bottlenecks/bugfix-add-ping-sla/0001-Bugfix-adding-ping-bottlenecks-sla.patch')
-rw-r--r--etc/patches/bottlenecks/bugfix-add-ping-sla/0001-Bugfix-adding-ping-bottlenecks-sla.patch47
1 files changed, 47 insertions, 0 deletions
diff --git a/etc/patches/bottlenecks/bugfix-add-ping-sla/0001-Bugfix-adding-ping-bottlenecks-sla.patch b/etc/patches/bottlenecks/bugfix-add-ping-sla/0001-Bugfix-adding-ping-bottlenecks-sla.patch
new file mode 100644
index 00000000..01e0b582
--- /dev/null
+++ b/etc/patches/bottlenecks/bugfix-add-ping-sla/0001-Bugfix-adding-ping-bottlenecks-sla.patch
@@ -0,0 +1,47 @@
+From 6ce4dbf96eb2e6b0b4c4681d51473cb151601ddf Mon Sep 17 00:00:00 2001
+From: Dovetail <verified@opnfv.org>
+Date: Tue, 26 Feb 2019 12:05:20 +0000
+Subject: [PATCH] Bugfix adding ping bottlenecks sla
+
+Signed-off-by: Dovetail <verified@opnfv.org>
+---
+ samples/ping_bottlenecks.yaml | 10 ++++++----
+ 1 file changed, 6 insertions(+), 4 deletions(-)
+
+diff --git a/samples/ping_bottlenecks.yaml b/samples/ping_bottlenecks.yaml
+index 6a586cb..895ec78 100644
+--- a/samples/ping_bottlenecks.yaml
++++ b/samples/ping_bottlenecks.yaml
+@@ -27,12 +27,14 @@ scenarios:
+ type: Ping
+ options:
+ packetsize: 100
+- host: demo1.demo{{num}}
+- target: demo2.demo{{num}}
++ host: demo2.demo{{num}}
++ target: demo1.demo{{num}}
+ runner:
+ type: Duration
+ duration: 60
+ interval: 1
++ sla:
++ max_rtt: 10
+ {% endfor %}
+
+ contexts:
+@@ -67,10 +69,10 @@ contexts:
+ policy: "availability"
+
+ servers:
+- demo1:
++ demo2:
+ floating_ip: true
+ placement: "pgrp1"
+- demo2:
++ demo1:
+ placement: "pgrp1"
+
+ networks:
+--
+2.7.4
+