bug 563: Return initial-config-primitive uuids 29/6829/3
authorAdam Israel <adam.israel@canonical.com>
Wed, 31 Oct 2018 23:29:09 +0000 (16:29 -0700)
committerAdam Israel <adam.israel@canonical.com>
Wed, 31 Oct 2018 23:33:31 +0000 (16:33 -0700)
Fixes bug #563, by returning the uuids of the executed initial-config-primitives when calling DeployCharms.

Signed-off-by: Adam Israel <adam.israel@canonical.com>
Change-Id: I5c5735618a3b0ab91a1f461e367ecae1fa177f21

n2vc/vnf.py

index f2d0a1e..4427c9b 100644 (file)
@@ -494,11 +494,12 @@ class N2VC:
         # #######################################
         # # Execute initial config primitive(s) #
         # #######################################
-        await self.ExecuteInitialPrimitives(
+        uuids = await self.ExecuteInitialPrimitives(
             model_name,
             application_name,
             params,
         )
+        return uuids
 
         # primitives = {}
         #