Merge "'Tenant' is replaced by 'project' in keystone starting in API version 3."
This commit is contained in:
commit
3fe3b8f732
@ -174,13 +174,6 @@ class FreezerShell(app.App):
|
|||||||
help='Specify the region to use'
|
help='Specify the region to use'
|
||||||
)
|
)
|
||||||
|
|
||||||
parser.add_argument(
|
|
||||||
'--os-tenant-id',
|
|
||||||
dest='os_tenant_id',
|
|
||||||
default=os.environ.get('OS_TENANT_ID'),
|
|
||||||
help='Tenant to request authorization on'
|
|
||||||
)
|
|
||||||
|
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
'--os-project-id',
|
'--os-project-id',
|
||||||
dest='os_project_id',
|
dest='os_project_id',
|
||||||
@ -188,13 +181,6 @@ class FreezerShell(app.App):
|
|||||||
help='Project to request authorization on'
|
help='Project to request authorization on'
|
||||||
)
|
)
|
||||||
|
|
||||||
parser.add_argument(
|
|
||||||
'--os-tenant-name',
|
|
||||||
dest='os_tenant_name',
|
|
||||||
default=os.environ.get('OS_TENANT_NAME'),
|
|
||||||
help='Tenant to request authorization on'
|
|
||||||
)
|
|
||||||
|
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
'--os-user-domain-name',
|
'--os-user-domain-name',
|
||||||
dest='os_user_domain_name',
|
dest='os_user_domain_name',
|
||||||
@ -250,7 +236,7 @@ class FreezerShell(app.App):
|
|||||||
'version': self.options.os_identity_api_version,
|
'version': self.options.os_identity_api_version,
|
||||||
'username': self.options.os_username,
|
'username': self.options.os_username,
|
||||||
'password': self.options.os_password,
|
'password': self.options.os_password,
|
||||||
'tenant_name': self.options.os_tenant_name,
|
'tenant_name': self.options.os_project_name,
|
||||||
'auth_url': self.options.os_auth_url,
|
'auth_url': self.options.os_auth_url,
|
||||||
'endpoint': self.options.os_backup_url,
|
'endpoint': self.options.os_backup_url,
|
||||||
'endpoint_type': self.options.os_endpoint_type,
|
'endpoint_type': self.options.os_endpoint_type,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user