'Tenant' is replaced by 'project' in keystone starting in API version 3.

"Tenant" is the old term for a project in Keystone. Starting in API version 3,
 "project" is the preferred term.

Compatible API version 2,  assign "os_project_name" to "tenant_name"

Change-Id: Id76bcdb8925c166d3834491c93a60bc1f51a162e
This commit is contained in:
Cai Hui
2018-09-28 21:54:35 -04:00
parent 77e63223f0
commit 08ff70be05

View File

@@ -174,13 +174,6 @@ class FreezerShell(app.App):
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(
'--os-project-id',
dest='os_project_id',
@@ -188,13 +181,6 @@ class FreezerShell(app.App):
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(
'--os-user-domain-name',
dest='os_user_domain_name',
@@ -250,7 +236,7 @@ class FreezerShell(app.App):
'version': self.options.os_identity_api_version,
'username': self.options.os_username,
'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,
'endpoint': self.options.os_backup_url,
'endpoint_type': self.options.os_endpoint_type,