Add ModelConfig 40/10540/1
authorDavid Garcia <david.garcia@canonical.com>
Wed, 10 Mar 2021 19:00:53 +0000 (20:00 +0100)
committergarciadav <david.garcia@canonical.com>
Wed, 24 Mar 2021 14:09:39 +0000 (15:09 +0100)
commit30701e3fbbbd545dabbd69c5145f44c0a5909558
tree4a5f5846d1ec563389a70dcbac8f9eba73f6ee97
parent5d7d622b026f6f4c6994fc5fbb1789d7827bf641
Add ModelConfig

This class maps the model-config from the vca_config. That config will
be passed every time a model is added.

Change-Id: I0a1e47ba7d708f3514c64a6f20d410a21fe8ea1d
Signed-off-by: David Garcia <david.garcia@canonical.com>
(cherry picked from commit a71d4a04c1e8ad3ffe1a129024e6dbc14d6d3bd5)
n2vc/config.py [new file with mode: 0644]
n2vc/k8s_juju_conn.py
n2vc/libjuju.py
n2vc/n2vc_juju_conn.py
n2vc/tests/unit/test_k8s_juju_conn.py
n2vc/tests/unit/test_libjuju.py