X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=examples%2Fcontroller.py;h=3a492c4fc6ba63c2ceeec4ee6e92ebbefbf53b48;hb=a516c1225a8e76faf11aed1a4489cf4b11665018;hp=e5a62806bcb56ba64ffa4cda0608780505ce32e6;hpb=fa674e918e3298eb00eb036b94a39a8b16a21198;p=osm%2FN2VC.git diff --git a/examples/controller.py b/examples/controller.py index e5a6280..3a492c4 100644 --- a/examples/controller.py +++ b/examples/controller.py @@ -5,6 +5,9 @@ This example: 2. Creates a new model. 3. Deploys an application on the new model. +Note: 'cloudcred' format to add a model should be: +cloudcred-__ + """ import asyncio import logging @@ -24,7 +27,7 @@ async def run(): model = await controller.add_model( 'libjuju-test', 'cloud-aws', - 'cloudcred-aws_tvansteenburgh_external_aws-tim', + 'cloudcred-aws_tvansteenburgh@external_aws-tim', ) await model.deploy( 'ubuntu-0',