Bug 1920 fixed: added a random suffix to the end of the Juju app name, in order to... 70/11770/4
authorPedro Escaleira <escaleira@av.it.pt>
Mon, 21 Mar 2022 17:54:45 +0000 (17:54 +0000)
committerescaleira <escaleira@av.it.pt>
Fri, 22 Apr 2022 14:42:59 +0000 (16:42 +0200)
commitbe3d578922b6bfb63a4788fac3035e76316cb407
tree2e6d201ec37296841099b0c8e11992b93a2ea9ae
parent3e9293d9af69fef190b0fe9633f75207203a65f9
Bug 1920 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