From: garciadeblas Date: Wed, 28 Nov 2018 13:51:18 +0000 (+0100) Subject: Fix in osm.py: vnf-scale parameters X-Git-Tag: v5.0.0~11 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F87%2F6987%2F3;p=osm%2Fosmclient.git Fix in osm.py: vnf-scale parameters Change-Id: I92da723a32190d00cd967e139d803be3af69acda Signed-off-by: garciadeblas --- diff --git a/osmclient/scripts/osm.py b/osmclient/scripts/osm.py index 625defe..c80c3eb 100755 --- a/osmclient/scripts/osm.py +++ b/osmclient/scripts/osm.py @@ -1568,23 +1568,24 @@ def ns_action(ctx, @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 -def ns_scale_vdu(ctx, +def vnf_scale(ctx, 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: