From: tierno Date: Thu, 7 Jun 2018 14:58:02 +0000 (+0200) Subject: update nslcmop:statusEnteredTime when COMPLETE at instantiate X-Git-Tag: BUILD_v4.0.1_1~6 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F54%2F6254%2F2;p=osm%2FLCM.git update nslcmop:statusEnteredTime when COMPLETE at instantiate Change-Id: I7f0ccb474dc8c602792917904c481bab80f0667d Signed-off-by: tierno --- 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"