Remove unused deploy show parameters
This commit is to remove --deploy and --state from 'software deploy show' as they are not being used. Test Plan: PASS: build and deploy the iso on SX. PaSS: verify both are removed. Task: 51437 Story: 2010676 Change-Id: I490b5cbfdbf424c1e5f9e71488280a38c269ed08 Signed-off-by: junfeng-li <junfeng.li@windriver.com>
This commit is contained in:
parent
ad6eca7e17
commit
90e35757e7
@ -7,18 +7,6 @@
|
||||
from software_client.common import utils
|
||||
|
||||
|
||||
# --deployment is an optional argument
|
||||
@utils.arg('--deployment',
|
||||
required=False,
|
||||
help='List the deployment specified')
|
||||
# --state is an optional argument.
|
||||
# default: "all"
|
||||
# acceptable values: inactive, active, prestaging, prestaged, all
|
||||
@utils.arg('--state',
|
||||
choices=['inactive', 'active', 'prestaging', 'prestaged', 'all'],
|
||||
default="all",
|
||||
required=False,
|
||||
help="List all deployments that have this state")
|
||||
def do_show(cc, args):
|
||||
"""Show the software deployments states"""
|
||||
resp, data = cc.deploy.show()
|
||||
|
Loading…
x
Reference in New Issue
Block a user