aboutsummaryrefslogtreecommitdiffstats
path: root/opt/plugin/doctor/sample/doctor-verify-apex-sample-master/disable_network.log
diff options
context:
space:
mode:
authorYujun Zhang <zhang.yujunz@zte.com.cn>2016-12-31 21:27:38 +0800
committerYujun Zhang <zhang.yujunz@zte.com.cn>2017-01-11 10:23:14 +0800
commit23f48e46a46976ae6f6d97aea11440e6a8b63121 (patch)
tree482573f3d64e1e7fcb3d054d109033d6a1b6fa82 /opt/plugin/doctor/sample/doctor-verify-apex-sample-master/disable_network.log
parent9fb9d1357de8c6f489b17b52c5919e978c3c930a (diff)
sample QPI for doctor performance measured in verification job
The doctor benchmark plan produces a performance profile consist of timestamp at each checkpoint and time cost of each phase.[1] It collects data from log files and render a timeline diagram in console Current progress - skeleton created - method to be implemented [1]: http://artifacts.opnfv.org/doctor/docs/design/index.html#document-performance-profiler JIRA: QTIP-199 Change-Id: I60fbbd37d04a5724841bd85cb3bfed9eabd3741a Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
Diffstat (limited to 'opt/plugin/doctor/sample/doctor-verify-apex-sample-master/disable_network.log')
-rwxr-xr-xopt/plugin/doctor/sample/doctor-verify-apex-sample-master/disable_network.log11
1 files changed, 11 insertions, 0 deletions
diff --git a/opt/plugin/doctor/sample/doctor-verify-apex-sample-master/disable_network.log b/opt/plugin/doctor/sample/doctor-verify-apex-sample-master/disable_network.log
new file mode 100755
index 00000000..1b488491
--- /dev/null
+++ b/opt/plugin/doctor/sample/doctor-verify-apex-sample-master/disable_network.log
@@ -0,0 +1,11 @@
+++ sudo ip a
+++ awk '/ 192.0.2.5\//{print $7}'
++ dev=eth0
++ sleep 1
+++ date +%s.%N
++ echo 'doctor set host down at' 1482894965.164096803
+doctor set host down at 1482894965.164096803
++ sudo ip link set eth0 down
++ sleep 180
++ sudo ip link set eth0 up
++ sleep 1