- [Tags] verify
- Variable Should Exist ${ns_id} msg=NS is not available
- ${ip_addr}= Get Vnf Management Ip Address ${ns_id} ${vnf_member_index}
- log ${ip_addr}
- 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]
-
+ [Documentation] Get the mgmt IP address of the VNF.
+ [Tags] verify
+ Variable Should Exist ${NS_ID} msg=NS is not available
+ ${ip_addr}= Get Vnf Management Ip Address ${NS_ID} ${VNF_MEMBER_INDEX}
+ Log ${ip_addr}
+ Set Suite Variable ${VNF_IP_ADDR} ${ip_addr}
+
+# Get Persistent Volume Id
+# [Documentation] Get VIM volume identifier of the persistent volume of the VNF.
+# [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 ${PERSISTENT_VOLUME_ID} ${match}[0]