1 ##############################################################################
2 # Copyright (c) 2017 Huawei Technologies Co.,Ltd and others.
4 # All rights reserved. This program and the accompanying materials
5 # are made available under the terms of the Apache License, Version 2.0
6 # which accompanies this distribution, and is available at
7 # http://www.apache.org/licenses/LICENSE-2.0
8 ##############################################################################
11 schema: "yardstick:task:0.1"
13 Yardstick TC023 config file;
14 Measure VM availability during VM live migration.
16 {% set file = file or "etc/yardstick/nodes/compass_sclab_virtual/pod.yaml" %}
17 {% set cpu_set = cpu_set or "0,1,2,3" %}
18 {% set memory_load = memory_load or 0 %}
20 {% set flavor = flavor or "yardstick-migrate-flavor" %}
21 {% set ram = ram or "2048" %}
22 {% set vcpus = vcpus or "2" %}
23 {% set disk = disk or "3" %}
25 {% set provider = provider or none %}
26 {% set physical_network = physical_network or 'physnet1' %}
27 {% set segmentation_id = segmentation_id or none %}
47 output: origin_numa_info
55 type: GetMigrateTargetHost
79 memory_load: {{ memory_load }}
94 output: status migrate_time1 downtime1
113 output: status server
127 output: new_numa_info
138 info1: $origin_numa_info
139 info2: $new_numa_info
140 cpu_set: {{ cpu_set }}
168 setup: migrate_pinning_setup.yaml -e "flavor={{ flavor }} ram={{ ram }} vcpus={{ vcpus }} disk={{ disk }} cpu_set={{ cpu_set }}"
169 teardown: migrate_pinning_teardown.yaml -e "flavor={{ flavor }}"
173 image: yardstick-image
184 {% if provider == "vlan" or provider == "sriov" %}
185 provider: {{provider}}
186 physical_network: {{physical_network}}
187 {% if segmentation_id %}
188 segmentation_id: {{segmentation_id}}