From b87f356a33c02e87e0e079a2967e197c4b82f2ac Mon Sep 17 00:00:00 2001 From: tierno Date: Thu, 7 Jun 2018 16:58:02 +0200 Subject: [PATCH] update nslcmop:statusEnteredTime when COMPLETE at instantiate Change-Id: I7f0ccb474dc8c602792917904c481bab80f0667d Signed-off-by: tierno --- osm_lcm/__init__.py | 4 ++-- osm_lcm/lcm.py | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/osm_lcm/__init__.py b/osm_lcm/__init__.py index 31f7b81..b1ad67b 100644 --- a/osm_lcm/__init__.py +++ b/osm_lcm/__init__.py @@ -1,2 +1,2 @@ -version = '0.1.5' -date_version = '2018-05-21' +version = '0.1.6' +date_version = '2018-06-27' diff --git a/osm_lcm/lcm.py b/osm_lcm/lcm.py index 8288bc0..b14f640 100644 --- a/osm_lcm/lcm.py +++ b/osm_lcm/lcm.py @@ -984,6 +984,7 @@ class Lcm: db_nslcmop["detailed-status"] = "configuring: init: {}".format(number_to_configure) else: db_nslcmop["operationState"] = "COMPLETED" + db_nslcmop["statusEnteredTime"] = time() db_nslcmop["detailed-status"] = "done" db_nsr["config-status"] = "configured" db_nsr["detailed-status"] = "done" -- 2.25.1