update nslcmop:statusEnteredTime when COMPLETE at instantiate 54/6254/2
authortierno <alfonso.tiernosepulveda@telefonica.com>
Thu, 7 Jun 2018 14:58:02 +0000 (16:58 +0200)
committertierno <alfonso.tiernosepulveda@telefonica.com>
Wed, 27 Jun 2018 13:19:10 +0000 (15:19 +0200)
Change-Id: I7f0ccb474dc8c602792917904c481bab80f0667d
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
osm_lcm/__init__.py
osm_lcm/lcm.py

index 31f7b81..b1ad67b 100644 (file)
@@ -1,2 +1,2 @@
-version = '0.1.5'
-date_version = '2018-05-21'
+version = '0.1.6'
+date_version = '2018-06-27'
index 8288bc0..b14f640 100644 (file)
@@ -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"