Initial refactor of N2VC 09/8909/46
authorDavid Garcia <david.garcia@canonical.com>
Wed, 13 May 2020 10:18:38 +0000 (12:18 +0200)
committerDavid Garcia <david.garcia@canonical.com>
Thu, 18 Jun 2020 12:21:31 +0000 (14:21 +0200)
commit4fee80e46dff88732b7927e502007203fcd8a15c
treecafcf533d4c649c7a3b30e2f699c52fc0e138f27
parentd3de135758e35c4d511b067c6ebeea378f63d79e
Initial refactor of N2VC

- Add libjuju.py to encapsulate all code related with the communication using libjuju
- Replace juju_observer with juju_watcher
- Add utils with some utilities like EntityType, FinalStatus, and JujuStatusToOSM

Change-Id: I5d46ad65d6ed37b49bf2504209bfdd46d1b5a7e4
Signed-off-by: David Garcia <david.garcia@canonical.com>
n2vc/exceptions.py
n2vc/juju_watcher.py [new file with mode: 0644]
n2vc/libjuju.py [new file with mode: 0644]
n2vc/n2vc_conn.py
n2vc/n2vc_juju_conn.py
n2vc/utils.py [new file with mode: 0644]
test-requirements.txt
tox.ini