Bug 1938 fixed: : added a random suffix to the end of the Juju app name, in order... 92/11792/6
authorPedro Escaleira <escaleira@av.it.pt>
Mon, 21 Mar 2022 17:54:45 +0000 (17:54 +0000)
committergarciadav <david.garcia@canonical.com>
Fri, 22 Apr 2022 16:24:11 +0000 (18:24 +0200)
commit4809ea985869b39636dfdaf4e556caecc5cabd54
tree1d8a6c0de90cc487160ad2bfc57d69350e05c478
parentd901a80933406a2323585fa1e05a49972f72a577
Bug 1938 fixed: : added a random suffix to the end of the Juju app name, in order to allow multiple Juju charms per VDU

I followed the second option of the bug's description. Now, Juju
applications have a random suffix with size=5 (the random suffix
size used by K8s), in order to avoid collisions between applications'
names;

Also fixed unit-test on test_n2vc_juju_conn.py

Change-Id: I53195113de8a3c4f04792742001e3d2a356b4dfd
Signed-off-by: Pedro Escaleira <escaleira@av.it.pt>
n2vc/n2vc_juju_conn.py
n2vc/tests/unit/test_n2vc_juju_conn.py
n2vc/utils.py