move wim_account parameter inside config of ns-create
[osm/osmclient.git] / osmclient / scripts / osm.py
index 45ae5e7..3a06077 100755 (executable)
@@ -1122,8 +1122,6 @@ def nfpkg_create(ctx, filename, overwrite):
               prompt=True, help='name of the NS descriptor')
 @click.option('--vim_account',
               prompt=True, help='default VIM account id or name for the deployment')
-@click.option('--wim_account',
-              default=None, help='default WIM account for intersite connectivity. False to not use a WIM')
 @click.option('--admin_status',
               default='ENABLED',
               help='administration status')
@@ -1141,7 +1139,6 @@ def ns_create(ctx,
               nsd_name,
               ns_name,
               vim_account,
-              wim_account,
               admin_status,
               ssh_keys,
               config,
@@ -1159,10 +1156,9 @@ def ns_create(ctx,
             ns_name,
             config=config,
             ssh_keys=ssh_keys,
-            account=vim_account,
-            wim_account=wim_account)
+            account=vim_account)
     except ClientException as inst:
-        print((inst.message))
+        print(inst.message)
         exit(1)