From 81efc98d1d7c9b4bdade653fdec06ca8c46780f7 Mon Sep 17 00:00:00 2001 From: Ananda Baitharu Date: Wed, 9 Nov 2016 05:46:28 -0500 Subject: [PATCH] RIFT-14481 No create-time on VLR Signed-off-by: Ananda Baitharu --- .../plugins/rwnsm/rift/tasklets/rwnsmtasklet/rwnsmtasklet.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rwlaunchpad/plugins/rwnsm/rift/tasklets/rwnsmtasklet/rwnsmtasklet.py b/rwlaunchpad/plugins/rwnsm/rift/tasklets/rwnsmtasklet/rwnsmtasklet.py index cf038578..002431de 100755 --- a/rwlaunchpad/plugins/rwnsm/rift/tasklets/rwnsmtasklet/rwnsmtasklet.py +++ b/rwlaunchpad/plugins/rwnsm/rift/tasklets/rwnsmtasklet/rwnsmtasklet.py @@ -515,6 +515,7 @@ class VirtualLinkRecord(object): self._vlr_id = str(uuid.uuid4()) self._state = VlRecordState.INIT self._prev_state = None + self._create_time = int(time.time()) @property def xpath(self): @@ -608,6 +609,7 @@ class VirtualLinkRecord(object): "nsr_id_ref": self._nsr_id, "vld_ref": self.vld_msg.id, "name": self.name, + "create_time": self._create_time, "cloud_account": self.cloud_account_name, "om_datacenter": self.om_datacenter_name, } -- 2.25.1