X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2Fosmclient.git;a=blobdiff_plain;f=osmclient%2Fscripts%2Fosm.py;h=d0d78f52b65e4e5421f54fdc3bc6678b36ce07df;hp=3c73510748c2fa53de08b0a73842bfa42a43a085;hb=6380fc0aa54cc7c3700a5a1f655e619471684611;hpb=80be3b32aad1065874f06433f2d8e155fbfde509 diff --git a/osmclient/scripts/osm.py b/osmclient/scripts/osm.py index 3c73510..d0d78f5 100755 --- a/osmclient/scripts/osm.py +++ b/osmclient/scripts/osm.py @@ -207,9 +207,9 @@ def ns_monitoring_show(ctx, ns_name): @click.option('--ssh_keys', default=None, help='comma separated list of keys to inject to vnfs') -@click.option('--vim_network_prefix', +@click.option('--config', default=None, - help='vim network name prefix') + help='ns specific yaml configuration') @click.pass_context def ns_create(ctx, nsd_name, @@ -217,12 +217,12 @@ def ns_create(ctx, vim_account, admin_status, ssh_keys, - vim_network_prefix): + config): try: ctx.obj.ns.create( nsd_name, ns_name, - vim_network_prefix=vim_network_prefix, + config=config, ssh_keys=ssh_keys, account=vim_account) except ClientException as inst: