Browse code

Merge "Support identity API v3 when generate clouds.yaml"

Jenkins authored on 2015/07/07 01:01:49
Showing 1 changed files
... ...
@@ -43,6 +43,9 @@ class UpdateCloudsYaml(object):
43 43
                 'project_name': args.os_project_name,
44 44
             },
45 45
         }
46
+        if args.os_identity_api_version == '3':
47
+            self._cloud_data['auth']['user_domain_id'] = 'default'
48
+            self._cloud_data['auth']['project_domain_id'] = 'default'
46 49
         if args.os_cacert:
47 50
             self._cloud_data['cacert'] = args.os_cacert
48 51