From: Ananda Baitharu Date: Wed, 9 Nov 2016 10:46:28 +0000 (-0500) Subject: RIFT-14481 No create-time on VLR X-Git-Tag: v1.1.0~52^2~2 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=81efc98d1d7c9b4bdade653fdec06ca8c46780f7;p=osm%2FSO.git RIFT-14481 No create-time on VLR Signed-off-by: Ananda Baitharu --- 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, }