2 Documentation Live Migration Library, This can be used by Live Migration tests.
5 Resource DevstackUtils.robot
6 Resource OpenStackOperations.robot
7 Resource SSHKeywords.robot
8 Resource ../variables/Variables.robot
12 ${NOVA_CPU_CONF} /etc/nova/nova-cpu.conf
13 ${NOVA_COMPUTE_SERVICE} n-cpu
14 ${CMP_INSTANCES_DEFAULT_PATH} /opt/stack/data/nova/instances
18 Live Migration Suite Setup
19 [Documentation] Suite Setup For Live Migration Tests
20 OpenStackOperations.OpenStack Suite Setup
21 LiveMigration.Setup Live Migration In Compute Nodes
23 Live Migration Suite Teardown
24 [Documentation] Suite Teardown for Live Migration Tests
25 LiveMigration.UnSet Live Migration In Compute Nodes
26 OpenStackOperations.OpenStack Suite Teardown
28 Setup Live Migration In Compute Nodes
29 [Documentation] Set instances to be created in the shared directory.
30 FOR ${conn_id} IN @{OS_CMP_CONN_IDS}
31 OpenStackOperations.Modify OpenStack Configuration File
36 ... ${CMP_INSTANCES_SHARED_PATH}
37 OpenStackOperations.Restart DevStack Service ${conn_id} ${NOVA_COMPUTE_SERVICE}
40 UnSet Live Migration In Compute Nodes
41 [Documentation] Clear settings done for Live Migration
42 FOR ${conn_id} IN @{OS_CMP_CONN_IDS}
43 OpenStackOperations.Modify OpenStack Configuration File
48 ... ${CMP_INSTANCES_DEFAULT_PATH}
49 OpenStackOperations.Restart DevStack Service ${conn_id} ${NOVA_COMPUTE_SERVICE}