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')
nsd_name,
ns_name,
vim_account,
+ wim_account,
admin_status,
ssh_keys,
config,
ns_name,
config=config,
ssh_keys=ssh_keys,
- account=vim_account)
+ account=vim_account,
+ wim_account=wim_account)
except ClientException as inst:
print((inst.message))
exit(1)
confirmation_prompt=True,
help='user password')
@click.option('--projects',
- prompt=True,
+ prompt="Comma separate list of projects",
multiple=True,
+ callback=lambda ctx, param, value: ''.join(value).split(',') if all(len(x)==1 for x in value) else value,
help='list of project ids that the user belongs to')
#@click.option('--description',
# default='no description',