Bug 1939 fixed: : added a random suffix to the end of the Juju app name, in order... 91/11791/4
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:03:06 +0000 (18:03 +0200)
commit0ebadd80cf20e478677b1af7b57a3faaefcc239a
treeaea79fb6c7b3197a034033d057bf47f2fe30f614
parenta8980cc3f6508f2659dc4ba4fcbeed65ba3c8e95
Bug 1939 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: I5d3eb8282889e58361f7c21214b11071a7530d26
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