Use 'project' instead of 'tenant'
While switching to openstackclient we use project instead of tenant. Change-Id: I1d6b80a88d3067809e2a9723ece4fbdf16042d73
This commit is contained in:
parent
48e68c1c3a
commit
2297d62415
|
@ -107,7 +107,7 @@ class CreateClusterTemplate(command.ShowOne):
|
|||
action='store_true',
|
||||
default=False,
|
||||
help='Make the cluster template public (Visible from other '
|
||||
'tenants)',
|
||||
'projects)',
|
||||
)
|
||||
parser.add_argument(
|
||||
'--protected',
|
||||
|
@ -391,7 +391,7 @@ class UpdateClusterTemplate(command.ShowOne):
|
|||
'--public',
|
||||
action='store_true',
|
||||
help='Make the cluster template public '
|
||||
'(Visible from other tenants)',
|
||||
'(Visible from other projects)',
|
||||
dest='is_public'
|
||||
)
|
||||
public.add_argument(
|
||||
|
|
|
@ -111,7 +111,7 @@ class CreateCluster(command.ShowOne):
|
|||
'--public',
|
||||
action='store_true',
|
||||
default=False,
|
||||
help='Make the cluster public (Visible from other tenants)',
|
||||
help='Make the cluster public (Visible from other projects)',
|
||||
)
|
||||
parser.add_argument(
|
||||
'--protected',
|
||||
|
@ -451,7 +451,7 @@ class UpdateCluster(command.ShowOne):
|
|||
'--public',
|
||||
action='store_true',
|
||||
help='Make the cluster public '
|
||||
'(Visible from other tenants)',
|
||||
'(Visible from other projects)',
|
||||
dest='is_public'
|
||||
)
|
||||
public.add_argument(
|
||||
|
|
|
@ -250,7 +250,7 @@ class UpdateDataSource(command.ShowOne):
|
|||
'--public',
|
||||
action='store_true',
|
||||
dest='is_public',
|
||||
help='Make the data source public (Visible from other tenants)',
|
||||
help='Make the data source public (Visible from other projects)',
|
||||
)
|
||||
public.add_argument(
|
||||
'--private',
|
||||
|
|
|
@ -311,13 +311,14 @@ class UpdateJobBinary(command.ShowOne):
|
|||
public.add_argument(
|
||||
'--public',
|
||||
action='store_true',
|
||||
help='Make the job binary public (Visible from other tenants)',
|
||||
help='Make the job binary public (Visible from other projects)',
|
||||
dest='is_public'
|
||||
)
|
||||
public.add_argument(
|
||||
'--private',
|
||||
action='store_false',
|
||||
help='Make the job binary private (Visible only from this tenant)',
|
||||
help='Make the job binary private (Visible only from'
|
||||
' this project)',
|
||||
dest='is_public'
|
||||
)
|
||||
protected = parser.add_mutually_exclusive_group()
|
||||
|
|
|
@ -278,7 +278,7 @@ class UpdateJobTemplate(command.ShowOne):
|
|||
'--public',
|
||||
action='store_true',
|
||||
help='Make the job template public '
|
||||
'(Visible from other tenants)',
|
||||
'(Visible from other projects)',
|
||||
dest='is_public'
|
||||
)
|
||||
public.add_argument(
|
||||
|
|
|
@ -340,13 +340,13 @@ class UpdateJob(command.ShowOne):
|
|||
public.add_argument(
|
||||
'--public',
|
||||
action='store_true',
|
||||
help='Make the job public (Visible from other tenants)',
|
||||
help='Make the job public (Visible from other projects)',
|
||||
dest='is_public'
|
||||
)
|
||||
public.add_argument(
|
||||
'--private',
|
||||
action='store_false',
|
||||
help='Make the job private (Visible only from this tenant)',
|
||||
help='Make the job private (Visible only from this project)',
|
||||
dest='is_public'
|
||||
)
|
||||
protected = parser.add_mutually_exclusive_group()
|
||||
|
|
|
@ -171,7 +171,7 @@ class CreateNodeGroupTemplate(command.ShowOne):
|
|||
action='store_true',
|
||||
default=False,
|
||||
help='Make the node group template public (Visible from other '
|
||||
'tenants)',
|
||||
'projects)',
|
||||
)
|
||||
parser.add_argument(
|
||||
'--protected',
|
||||
|
@ -569,14 +569,14 @@ class UpdateNodeGroupTemplate(command.ShowOne):
|
|||
'--public',
|
||||
action='store_true',
|
||||
help='Make the node group template public '
|
||||
'(Visible from other tenants)',
|
||||
'(Visible from other projects)',
|
||||
dest='is_public'
|
||||
)
|
||||
public.add_argument(
|
||||
'--private',
|
||||
action='store_false',
|
||||
help='Make the node group template private '
|
||||
'(Visible only from this tenant)',
|
||||
'(Visible only from this project)',
|
||||
dest='is_public'
|
||||
)
|
||||
protected = parser.add_mutually_exclusive_group()
|
||||
|
|
Loading…
Reference in New Issue