Programmatically determining keystone api version
Issue-ID: TEST-39
Change-Id: Iae3c27af601a82d5e15744c682741841f76e839e
Signed-off-by: Ah <Ashwini.Ah@arris.com>
diff --git a/robot/assets/templates/keystone_get_v3_auth.template b/robot/assets/templates/keystone_get_v3_auth.template
new file mode 100644
index 0000000..4962336
--- /dev/null
+++ b/robot/assets/templates/keystone_get_v3_auth.template
@@ -0,0 +1,26 @@
+{
+ "auth": {
+ "identity": {
+ "methods": [
+ "password"
+ ],
+ "password": {
+ "user": {
+ "name": "${username}",
+ "domain": {
+ "id": "${domain_id}"
+ },
+ "password": "${password}"
+ }
+ }
+
+ },
+ "scope": {
+ "project": {
+ "name": "${project_name}",
+ "domain": { "id": "${domain_id}" }
+ }
+ }
+ }
+}
+