2 Documentation Live Migration Library, This can be used by Live Migration tests.
4 Resource DevstackUtils.robot
5 Resource OpenStackOperations.robot
6 Resource SSHKeywords.robot
7 Resource ../variables/Variables.robot
10 ${NOVA_CPU_CONF} /etc/nova/nova-cpu.conf
11 ${NOVA_COMPUTE_SERVICE} n-cpu
12 ${CMP_INSTANCES_DEFAULT_PATH} /opt/stack/data/nova/instances
15 Live Migration Suite Setup
16 [Documentation] Suite Setup For Live Migration Tests
17 OpenStackOperations.OpenStack Suite Setup
18 LiveMigration.Setup Live Migration In Compute Nodes
20 Live Migration Suite Teardown
21 [Documentation] Suite Teardown for Live Migration Tests
22 LiveMigration.UnSet Live Migration In Compute Nodes
23 OpenStackOperations.OpenStack Suite Teardown
25 Setup Live Migration In Compute Nodes
26 [Documentation] Set instances to be created in the shared directory.
27 : FOR ${conn_id} IN @{OS_CMP_CONN_IDS}
28 \ OpenStackOperations.Modify OpenStack Configuration File ${conn_id} ${NOVA_CPU_CONF} DEFAULT instances_path ${CMP_INSTANCES_SHARED_PATH}
29 \ OpenStackOperations.Restart DevStack Service ${conn_id} ${NOVA_COMPUTE_SERVICE}
31 UnSet Live Migration In Compute Nodes
32 [Documentation] Clear settings done for Live Migration
33 : FOR ${conn_id} IN @{OS_CMP_CONN_IDS}
34 \ OpenStackOperations.Modify OpenStack Configuration File ${conn_id} ${NOVA_CPU_CONF} DEFAULT instances_path ${CMP_INSTANCES_DEFAULT_PATH}
35 \ OpenStackOperations.Restart DevStack Service ${conn_id} ${NOVA_COMPUTE_SERVICE}