Remove unnecessary grep and tr from some tests
[osm/tests.git] / robot-systest / testsuite / basic_31-multivdu_volume_multiattach.robot
index f8fe60f..ea7deae 100644 (file)
@@ -81,8 +81,8 @@ Get Vnf ID
 
 Get Vnf Management Ip Addresses
 
-    ${rc}   ${vdu0_ip}=   Run and Return RC and Output   osm vnf-show ${vnf_id} --literal | yq '.vdur[0].interfaces[]."ip-address"' | tr -d \\"
-    ${rc}   ${vdu1_ip}=   Run and Return RC and Output   osm vnf-show ${vnf_id} --literal | yq '.vdur[1].interfaces[]."ip-address"' | tr -d \\"
+    ${rc}   ${vdu0_ip}=   Run and Return RC and Output   osm vnf-show ${vnf_id} --literal | yq -r '.vdur[0].interfaces[]."ip-address"'
+    ${rc}   ${vdu1_ip}=   Run and Return RC and Output   osm vnf-show ${vnf_id} --literal | yq -r '.vdur[1].interfaces[]."ip-address"'
     Set Suite Variable   ${mgmnt_ip_addr_0}   ${vdu0_ip}
     Set Suite Variable   ${mgmnt_ip_addr_1}   ${vdu1_ip}