X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=robot-systest%2Flib%2Fopenstack_lib.robot;h=b654cfd504d0ff163c1d1baa54e5b81acfca291d;hb=bbae1a7e282f0dbaf808bf0eba27cf4aa5023523;hp=bdf49aa09a29069a6b1b4177f52b65148d54bfc8;hpb=8f994ccfd43dbc1db7c3fdb3410d98dd235a3529;p=osm%2Ftests.git diff --git a/robot-systest/lib/openstack_lib.robot b/robot-systest/lib/openstack_lib.robot index bdf49aa..b654cfd 100644 --- a/robot-systest/lib/openstack_lib.robot +++ b/robot-systest/lib/openstack_lib.robot @@ -196,7 +196,7 @@ Create Flavor [Arguments] ${flavor_name} ${cpu}=1 ${ram}=1024 ${disk}=10 Should Not Be Empty ${flavor_name} - ${rc} ${flavor_id}= Run and Return RC and Output openstack flavor create ${flavor_name} --ram ${ram} --disk ${disk} --vcpus ${cpu} -f yaml | yq '.id' | tr -d \\" + ${rc} ${flavor_id}= Run and Return RC and Output openstack flavor create ${flavor_name} --ram ${ram} --disk ${disk} --vcpus ${cpu} -c id -f value Log ${flavor_id} Should Be Equal As Integers ${rc} ${success_return_code} [Return] ${flavor_id}