diff options
author | DR695H <dr695h@att.com> | 2019-06-13 16:16:52 -0400 |
---|---|---|
committer | DR695H <dr695h@att.com> | 2019-06-13 16:18:11 -0400 |
commit | 18872bc32103112ea6e1582dbb1c2764f99442f1 (patch) | |
tree | 3b87443f10657bb7c956cee67eb6c4caccf2d085 /robot/resources/openstack/openstack_common.robot | |
parent | e65d7fec679cc393c08f0d32f1ad61bbd71a35f8 (diff) |
move uuid to onaplib.utilities
Change-Id: I57860949ad4417bb080cf5269e8fcc555e089da6
Issue-ID: TEST-158
Signed-off-by: DR695H <dr695h@att.com>
Diffstat (limited to 'robot/resources/openstack/openstack_common.robot')
-rw-r--r-- | robot/resources/openstack/openstack_common.robot | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/robot/resources/openstack/openstack_common.robot b/robot/resources/openstack/openstack_common.robot index 7783060c..a1ac04c5 100644 --- a/robot/resources/openstack/openstack_common.robot +++ b/robot/resources/openstack/openstack_common.robot @@ -4,7 +4,7 @@ Documentation The private interface for interacting with Openstack. It handl Library Collections Library OpenstackLibrary Library RequestsLibrary -Library UUID +Library ONAPLibrary.Utilities Resource ../global_properties.robot *** Variables *** @@ -24,7 +24,7 @@ Internal Get Openstack With Region [Arguments] ${alias} ${service_type} ${region} ${url_ext} ${data_path}= Log Internal Get Openstack values alias=${alias} service_type=${service_type} region=${region} url_ext=${url_ext} data_path=${data_path} ${url}= Get Openstack Service Url ${alias} ${service_type} ${region} - ${uuid}= Generate UUID + ${uuid}= Generate UUID4 ${session_alias}= Catenate openstack-${uuid} ${session}= Create Session ${session_alias} ${url}${url_ext} verify=True ${token}= Get Openstack Token ${alias} @@ -39,7 +39,7 @@ Internal Post Openstack ${region}= Get Openstack Region Log Internal Post Openstack values alias=${alias} service_type=${service_type} region=${region} url_ext=${url_ext} data_path=${data_path} ${url}= Get Openstack Service Url ${alias} ${service_type} ${region} - ${uuid}= Generate UUID + ${uuid}= Generate UUID4 ${session_alias}= Catenate openstack-${uuid} ${session}= Create Session ${session_alias} ${url}${url_ext} verify=True ${token}= Get Openstack Token ${alias} @@ -54,7 +54,7 @@ Internal Delete Openstack ${region}= Get Openstack Region Log Internal Post Openstack values alias=${alias} service_type=${service_type} region=${region} url_ext=${url_ext} data_path=${data_path} ${url}= Get Openstack Service Url ${alias} ${service_type} ${region} - ${uuid}= Generate UUID + ${uuid}= Generate UUID4 ${session_alias}= Catenate openstack-${uuid} ${session}= Create Session ${session_alias} ${url}${url_ext} verify=True ${token}= Get Openstack Token ${alias} |