@click.option(
"--endpoints", help="Comma-separated list of IP or hostnames of the Juju controller"
)
+@click.option("--newname", help="New name for the VCA")
@click.option("--user", help="Username with admin priviledges")
@click.option("--secret", help="Password of the specified username")
@click.option("--cacert", help="CA certificate")
def vca_update(
ctx,
name,
+ newname,
endpoints,
user,
secret,
logger.debug("")
utils.check_client_version(ctx.obj, ctx.command.name)
vca = {}
- vca["name"] = name
+ if newname:
+ vca["name"] = newname
if endpoints:
vca["endpoints"] = endpoints.split(",")
if user: