diff options
Diffstat (limited to 'robot')
-rw-r--r-- | robot/assets/templates/keystone_get_auth.template | 1 | ||||
-rw-r--r-- | robot/resources/openstack/keystone_interface.robot | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/robot/assets/templates/keystone_get_auth.template b/robot/assets/templates/keystone_get_auth.template index 255f8ffd..776ed49e 100644 --- a/robot/assets/templates/keystone_get_auth.template +++ b/robot/assets/templates/keystone_get_auth.template @@ -1,5 +1,6 @@ { "auth": { + "tenantName" : "${tenantName}", "passwordCredentials": { "username": "${username}", "password": "${password}" diff --git a/robot/resources/openstack/keystone_interface.robot b/robot/resources/openstack/keystone_interface.robot index 6bf1d1e7..ef9eca36 100644 --- a/robot/resources/openstack/keystone_interface.robot +++ b/robot/resources/openstack/keystone_interface.robot @@ -23,7 +23,7 @@ Run Openstack Auth Request ${session}= Create Session keystone ${GLOBAL_OPENSTACK_KEYSTONE_SERVER} verify=True ${uuid}= Generate UUID ${data_template}= OperatingSystem.Get File ${OPENSTACK_KEYSTONE_AUTH_BODY_FILE} - ${arguments}= Create Dictionary username=${username} password=${password} + ${arguments}= Create Dictionary username=${username} password=${password} tenantName=${GLOBAL_OPENSTACK_TENANT_NAME} ${data}= Fill JSON Template ${data_template} ${arguments} ${data_path}= Catenate ${OPENSTACK_KEYSTONE_API_VERSION}${OPENSTACK_KEYSTONE_AUTH_PATH} ${headers}= Create Dictionary Accept=application/json Content-Type=application/json X-TransactionId=${GLOBAL_APPLICATION_ID}-${uuid} X-FromAppId=${GLOBAL_APPLICATION_ID} |