Set Suite Variable ${vnf_ip_addr} ${ip_addr}
-Get Persistent Volume Id
- [Tags] cleanup
- Variable Should Exist ${ns_id} msg=NS is not available
- ${vnfs_list}= Get Ns Vnf List ${ns_id}
- ${vim_id}= Get VNF VIM ID ${vnfs_list}[0]
- ${volumes_attached}= Get Server Property ${vim_id} volumes_attached
- ${match}= Get Regexp Matches ${volumes_attached} '([0-9a-f\-]+)' 1
- Set Suite Variable ${volume_id} ${match}[0]
+#Get Persistent Volume Id
+# [Tags] cleanup
+# Variable Should Exist ${ns_id} msg=NS is not available
+# ${vnfs_list}= Get Ns Vnf List ${ns_id}
+# ${vim_id}= Get VNF VIM ID ${vnfs_list}[0]
+# ${volumes_attached}= Get Server Property ${vim_id} volumes_attached
+# ${match}= Get Regexp Matches ${volumes_attached} '([0-9a-f\-]+)' 1
+# Set Suite Variable ${volume_id} ${match}[0]
Check VDU disks
Delete NS ${ns_name}
-Check Persistent Volume Was Deleted
- [Tags] cleanup
- Variable Should Exist ${volume_id} msg=Volume is not available
- ${exists}= Check If Volume Exists ${volume_id}
- log ${exists}
- IF ${exists}==0
- Fail msg=Persistent volume was deleted
- Set Suite Variable ${volume_id} ${EMPTY}}
- ELSE
- log Persistent volume still exists, deleting...
- Delete Volume ${volume_id}
- Set Suite Variable ${volume_id} ${EMPTY}}
- END
+#Check Persistent Volume Was Deleted
+# [Tags] cleanup
+# Variable Should Exist ${volume_id} msg=Volume is not available
+# ${exists}= Check If Volume Exists ${volume_id}
+# log ${exists}
+# IF ${exists}==0
+# Fail msg=Persistent volume was deleted
+# Set Suite Variable ${volume_id} ${EMPTY}}
+# ELSE
+# log Persistent volume still exists, deleting...
+# Delete Volume ${volume_id}
+# Set Suite Variable ${volume_id} ${EMPTY}}
+# END
Delete NS Descriptor Test
Run Keyword If Any Tests Failed Delete VNFD ${vnfd_name}
- Run Keyword If Any Tests Failed Check Volume Was Deleted
+# Run Keyword If Any Tests Failed Check Volume Was Deleted