Add add_k8s, add_cloud, and remove_cloud commands to libjuju.py and unit tests 17/9717/1
authorDavid Garcia <david.garcia@canonical.com>
Thu, 17 Sep 2020 14:01:48 +0000 (16:01 +0200)
committerDavid Garcia <david.garcia@canonical.com>
Thu, 17 Sep 2020 14:01:48 +0000 (16:01 +0200)
commit12b29244e5d333341166ea92760b8eb245c16b27
tree2994f77c9ed622a5c1a74f38973a70304cfb49f5
parentc38a696d168531e3c067451044262ef4d78ef11f
Add add_k8s, add_cloud, and remove_cloud commands to libjuju.py and unit tests

- add_k8s: Generates Cloud and CloudCredential objects for adding a Kubernetes cloud to the VCA
- add_cloud: Takes Cloud and CloudCredential as arguments for adding the cloud to the VCA
- remove_cloud: Remove cloud from VCA

Change-Id: Ia6b4c0cbd06f38df6fe4c52414f5bcb8ffb9a5a8
Signed-off-by: David Garcia <david.garcia@canonical.com>
n2vc/libjuju.py
n2vc/tests/unit/test_libjuju.py