summaryrefslogtreecommitdiff
path: root/heatclient
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-05-11 11:29:52 +0000
committerGerrit Code Review <review@openstack.org>2016-05-11 11:29:53 +0000
commit7db039b75dfbaf40ef0fc65763ebdee92f2060f2 (patch)
treeef214ea39769a86acb6050debc82633977af9b83 /heatclient
parent51a24f1537f84988af08d6a4c9cd4def6e3f5804 (diff)
parentd60ad183ab0b00d90d7ba03304dbf0f31cdcd6a0 (diff)
downloadpython-heatclient-7db039b75dfbaf40ef0fc65763ebdee92f2060f2.tar.gz
Merge "Moved required parameter for visibility"
Diffstat (limited to 'heatclient')
-rw-r--r--heatclient/osc/v1/software_deployment.py12
-rw-r--r--heatclient/osc/v1/stack.py12
-rw-r--r--heatclient/osc/v1/template.py12
3 files changed, 18 insertions, 18 deletions
diff --git a/heatclient/osc/v1/software_deployment.py b/heatclient/osc/v1/software_deployment.py
index 7e3a66a..983837a 100644
--- a/heatclient/osc/v1/software_deployment.py
+++ b/heatclient/osc/v1/software_deployment.py
@@ -65,12 +65,6 @@ class CreateDeployment(format_utils.YamlFormat):
help=_('ID of the configuration to deploy')
)
parser.add_argument(
- '--server',
- metavar='<server>',
- required=True,
- help=_('ID of the server being deployed to')
- )
- parser.add_argument(
'--signal-transport',
metavar='<signal-transport>',
default='TEMP_URL_SIGNAL',
@@ -96,6 +90,12 @@ class CreateDeployment(format_utils.YamlFormat):
default=60,
help=_('Deployment timeout in minutes')
)
+ parser.add_argument(
+ '--server',
+ metavar='<server>',
+ required=True,
+ help=_('ID of the server being deployed to')
+ )
return parser
def take_action(self, parsed_args):
diff --git a/heatclient/osc/v1/stack.py b/heatclient/osc/v1/stack.py
index cf2e54e..2302180 100644
--- a/heatclient/osc/v1/stack.py
+++ b/heatclient/osc/v1/stack.py
@@ -721,12 +721,6 @@ class AdoptStack(show.ShowOne):
help=_('Stack creation timeout in minutes')
)
parser.add_argument(
- '--adopt-file',
- metavar='<adopt-file>',
- required=True,
- help=_('Path to adopt stack data file')
- )
- parser.add_argument(
'--enable-rollback',
action='store_true',
help=_('Enable rollback on create/update failure')
@@ -743,6 +737,12 @@ class AdoptStack(show.ShowOne):
action='store_true',
help=_('Wait until stack adopt completes')
)
+ parser.add_argument(
+ '--adopt-file',
+ metavar='<adopt-file>',
+ required=True,
+ help=_('Path to adopt stack data file')
+ )
return parser
def take_action(self, parsed_args):
diff --git a/heatclient/osc/v1/template.py b/heatclient/osc/v1/template.py
index 2d3d7d1..36f6ca9 100644
--- a/heatclient/osc/v1/template.py
+++ b/heatclient/osc/v1/template.py
@@ -88,12 +88,6 @@ class Validate(format_utils.YamlFormat):
def get_parser(self, prog_name):
parser = super(Validate, self).get_parser(prog_name)
parser.add_argument(
- '-t', '--template',
- metavar='<template>',
- required=True,
- help=_('Path to the template')
- )
- parser.add_argument(
'-e', '--environment',
metavar='<environment>',
action='append',
@@ -116,6 +110,12 @@ class Validate(format_utils.YamlFormat):
metavar='<error1,error2,...>',
help=_('List of heat errors to ignore')
)
+ parser.add_argument(
+ '-t', '--template',
+ metavar='<template>',
+ required=True,
+ help=_('Path to the template')
+ )
return parser
def take_action(self, parsed_args):