Use new introspection data save command in exercise.sh

Change-Id: I28158449526dc702e0381cce558cf63c8634b5b8
This commit is contained in:
Dmitry Tantsur 2016-01-26 13:39:43 +01:00
parent b7c61dee01
commit 6dd0de04f8

View File

@ -117,7 +117,7 @@ openstack baremetal introspection rule purge
function test_swift {
# Basic sanity check of the data stored in Swift
stored_data_json=$(curl_ins GET v1/introspection/$uuid/data)
stored_data_json=$(openstack baremetal introspection data save $uuid)
stored_cpu_arch=$(echo $stored_data_json | jq -r '.cpu_arch')
echo CPU arch for $uuid from stored data: $stored_cpu_arch
if [ "$stored_cpu_arch" != "$expected_cpu_arch" ]; then