summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkavithahr <kavitha.r@nectechnologies.in>2017-06-30 12:37:35 +0530
committerkavitha h r <kavitha.r@nectechnologies.in>2017-07-03 12:30:02 +0000
commit2297d624153322ccf24e804e9c6279e1f0e9f463 (patch)
treebe4128ec54babc5892580150199999207c7f03ee
parent48e68c1c3a9e6737e24be2da88de8999a4609a51 (diff)
downloadpython-saharaclient-2297d624153322ccf24e804e9c6279e1f0e9f463.tar.gz
Use 'project' instead of 'tenant'
While switching to openstackclient we use project instead of tenant. Change-Id: I1d6b80a88d3067809e2a9723ece4fbdf16042d73
-rw-r--r--saharaclient/osc/v1/cluster_templates.py4
-rw-r--r--saharaclient/osc/v1/clusters.py4
-rw-r--r--saharaclient/osc/v1/data_sources.py2
-rw-r--r--saharaclient/osc/v1/job_binaries.py5
-rw-r--r--saharaclient/osc/v1/job_templates.py2
-rw-r--r--saharaclient/osc/v1/jobs.py4
-rw-r--r--saharaclient/osc/v1/node_group_templates.py6
7 files changed, 14 insertions, 13 deletions
diff --git a/saharaclient/osc/v1/cluster_templates.py b/saharaclient/osc/v1/cluster_templates.py
index e39c40e..6d9491e 100644
--- a/saharaclient/osc/v1/cluster_templates.py
+++ b/saharaclient/osc/v1/cluster_templates.py
@@ -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(
diff --git a/saharaclient/osc/v1/clusters.py b/saharaclient/osc/v1/clusters.py
index a790926..b156a3d 100644
--- a/saharaclient/osc/v1/clusters.py
+++ b/saharaclient/osc/v1/clusters.py
@@ -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(
diff --git a/saharaclient/osc/v1/data_sources.py b/saharaclient/osc/v1/data_sources.py
index ff3a152..2c296f0 100644
--- a/saharaclient/osc/v1/data_sources.py
+++ b/saharaclient/osc/v1/data_sources.py
@@ -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',
diff --git a/saharaclient/osc/v1/job_binaries.py b/saharaclient/osc/v1/job_binaries.py
index fd440a1..962b9c9 100644
--- a/saharaclient/osc/v1/job_binaries.py
+++ b/saharaclient/osc/v1/job_binaries.py
@@ -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()
diff --git a/saharaclient/osc/v1/job_templates.py b/saharaclient/osc/v1/job_templates.py
index d51fe3a..476a49e 100644
--- a/saharaclient/osc/v1/job_templates.py
+++ b/saharaclient/osc/v1/job_templates.py
@@ -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(
diff --git a/saharaclient/osc/v1/jobs.py b/saharaclient/osc/v1/jobs.py
index d52ce70..ec9743d 100644
--- a/saharaclient/osc/v1/jobs.py
+++ b/saharaclient/osc/v1/jobs.py
@@ -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()
diff --git a/saharaclient/osc/v1/node_group_templates.py b/saharaclient/osc/v1/node_group_templates.py
index 1ce94d7..dec774d 100644
--- a/saharaclient/osc/v1/node_group_templates.py
+++ b/saharaclient/osc/v1/node_group_templates.py
@@ -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()