Change-Id: I92da723a32190d00cd967e139d803be3af69acda
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
@cli.command(name='vnf-scale')
@cli.command(name='vnf-scale')
-@click.argument('ns_name' )
-@click.option('vnf-name', prompt=True, help="member-vnf-index to scale")
+@click.argument('ns_name')
+@click.argument('vnf_name')
@click.option('--scaling-group', prompt=True, help="scaling-group-descriptor name to use")
@click.option('--scale-in', default=False, is_flag=True, help="performs a scale in operation")
@click.option('--scale-out', default=False, is_flag=True, help="performs a scale out operation (by default)")
@click.pass_context
@click.option('--scaling-group', prompt=True, help="scaling-group-descriptor name to use")
@click.option('--scale-in', default=False, is_flag=True, help="performs a scale in operation")
@click.option('--scale-out', default=False, is_flag=True, help="performs a scale out operation (by default)")
@click.pass_context
ns_name,
vnf_name,
scaling_group,
scale_in,
scale_out):
ns_name,
vnf_name,
scaling_group,
scale_in,
scale_out):
- """executes a VNF scale (adding/removing VDUs)
+ '''executes a VNF scale (adding/removing VDUs)
- NS_NAME: name or ID of the NS instance
- VNF_NAME: member-vnf-index in the NS to be scaled
- """
+ \b
+ NS_NAME: name or ID of the NS instance.
+ VNF_NAME: member-vnf-index in the NS to be scaled.
+ '''
try:
check_client_version(ctx.obj, ctx.command.name)
if not scale_in and not scale_out:
try:
check_client_version(ctx.obj, ctx.command.name)
if not scale_in and not scale_out: