diff options
author | Rex Lee <limingjiang@huawei.com> | 2017-07-31 06:10:06 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-07-31 06:10:06 +0000 |
commit | 54f26bfe1cb139545ab86450342c6a7ab520dd83 (patch) | |
tree | 8a41b5ada71df4cdc9902b5ed0ea9307f1e89250 /samples/migrate-node-context.yaml | |
parent | 5abe4fe013a14c528bfb1e0ff4c8bcb9b8817551 (diff) | |
parent | a9d81a2bd9c3826e000d99be67a7a726278e3d46 (diff) |
Merge "Testing live migration using qemu"
Diffstat (limited to 'samples/migrate-node-context.yaml')
-rw-r--r-- | samples/migrate-node-context.yaml | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/samples/migrate-node-context.yaml b/samples/migrate-node-context.yaml new file mode 100644 index 000000000..9fe1acf78 --- /dev/null +++ b/samples/migrate-node-context.yaml @@ -0,0 +1,40 @@ +--- + +schema: "yardstick:task:0.1" + +scenarios: +- + type: QemuMigrate + options: + smp: 2 + migrate_to_port: 4444 + incoming_ip: 0 + qmp_src_path: "/tmp/qmp-sock-src" + qmp_dst_path: "/tmp/qmp-sock-dst" + max_down_time: "0.10" + host: kvm.LF + runner: + type: Duration + duration: 1 + interval: 1 + sla: + max_totaltime: 10 + max_downtime: 0.10 + max_setuptime: 0.50 + action: monitor + setup_options: + rpm_dir: "/opt/rpm" + script_dir: "/opt/scripts" + image_dir: "/opt/image" + host_setup_seqs: + - "host-setup0.sh" + - "reboot" + - "host-setup1.sh" + - "setup-ovsdpdk.sh" + - "host-install-qemu.sh" + - "host-run-qemu4lm.sh" + +context: + type: Node + name: LF + file: /root/yardstick/pod.yaml |