Bug 173 - Creation of additional networks in running NS does not publish VLRs 22/1022/1
authorvelandy <rajesh.velandy@riftio.com>
Thu, 26 Jan 2017 05:28:52 +0000 (05:28 +0000)
committervelandy <rajesh.velandy@riftio.com>
Thu, 26 Jan 2017 05:28:52 +0000 (05:28 +0000)
rwlaunchpad/plugins/rwnsm/rift/tasklets/rwnsmtasklet/openmano_nsm.py

index 7133ea4..d53d701 100644 (file)
@@ -902,6 +902,7 @@ class OpenmanoNsPlugin(rwnsmplugin.NsmPluginBase):
         openmano_nsr = self._openmano_nsrs[nsr.id]
         if openmano_nsr._state == OpenmanoNSRecordState.RUNNING:
             yield from openmano_nsr.create_vlr(vlr)
+            yield from self._publisher.publish_vlr(None, vlr.vlr_msg)
         else: 
             yield from openmano_nsr.add_vlr(vlr)