Fix Bug 2282: Can't instantiate NS using a pre-existing volume 00/13800/2
authorLuis Vega <lvega@whitestack.com>
Tue, 8 Aug 2023 00:35:41 +0000 (00:35 +0000)
committerLuis Vega <lvega@whitestack.com>
Tue, 8 Aug 2023 00:37:58 +0000 (00:37 +0000)
commit95e83692f42dfd338b7c7566281933fbfae32e4a
tree9aceba12ff82be2c090389a3caa458180b6d0558
parentbcb71eb969fcfd13500df857ea7673c3510d7a10
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>
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]