Fix Bug 2282: Can't instantiate NS using a pre-existing volume 03/13803/2
authorLuis Vega <lvega@whitestack.com>
Tue, 8 Aug 2023 00:35:41 +0000 (00:35 +0000)
committeraticig <gulsum.atici@canonical.com>
Thu, 10 Aug 2023 08:23:28 +0000 (10:23 +0200)
commitcb7269c6ed3caa4ad7807e01bf0067f373423702
tree60ba630aa98548af287c30cbbbc66a08bc2ce4d8
parente88f2d6da5b3e18b25944ac1326fbace46435036
Fix Bug 2282: Can't instantiate NS using a pre-existing volume

    Add the posibility to return an empty dictionary to `find_persistent_root_volumes()` method
    so the NS instantiation doesn't fail while using a pre existing volume.

Change-Id: Iecd7041b2a202332acecd45a3e899d82be613ef7
Signed-off-by: Luis Vega <lvega@whitestack.com>
(cherry picked from commit 95e83692f42dfd338b7c7566281933fbfae32e4a)
NG-RO/osm_ng_ro/ns.py
NG-RO/osm_ng_ro/tests/test_ns.py
releasenotes/notes/fix_bug_2282-a4069468a849963e.yaml [new file with mode: 0644]