projects
/
osm
/
N2VC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa674e9
)
Reverted cloudcred example back to original syntax and Added 2 lines in the example.
author
Sean Feole
<sfeole@gmail.com>
Fri, 18 Nov 2016 14:48:46 +0000
(09:48 -0500)
committer
Sean Feole
<sfeole@gmail.com>
Fri, 18 Nov 2016 14:48:46 +0000
(09:48 -0500)
examples/controller.py
patch
|
blob
|
history
diff --git
a/examples/controller.py
b/examples/controller.py
index
e5a6280
..
7edf807
100644
(file)
--- 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-<cloudname>_<user>_<credentialname>
+
"""
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',