projects
/
osm
/
RO.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix Bug 2086 Updating VNF status configurable
[osm/RO.git]
/
NG-RO
/
osm_ng_ro
/
ro_main.py
diff --git
a/NG-RO/osm_ng_ro/ro_main.py
b/NG-RO/osm_ng_ro/ro_main.py
index
c9cad85
..
a7ca100
100644
(file)
--- a/
NG-RO/osm_ng_ro/ro_main.py
+++ b/
NG-RO/osm_ng_ro/ro_main.py
@@
-18,26
+18,26
@@
# limitations under the License.
##
# limitations under the License.
##
-import cherrypy
-import time
+from codecs import getreader
+import getopt
+from http import HTTPStatus
import json
import json
-import yaml
-import osm_ng_ro.html_out as html
import logging
import logging.handlers
import logging
import logging.handlers
-import getopt
+from os import environ, path
import sys
import sys
+import time
-from osm_ng_ro.ns import Ns, NsException
-from osm_ng_ro.validation import ValidationError
-from osm_ng_ro.vim_admin import VimAdminThread
+import cherrypy
from osm_common.dbbase import DbException
from osm_common.fsbase import FsException
from osm_common.msgbase import MsgException
from osm_common.dbbase import DbException
from osm_common.fsbase import FsException
from osm_common.msgbase import MsgException
-from http import HTTPStatus
-from codecs import getreader
-from os import environ, path
from osm_ng_ro import version as ro_version, version_date as ro_version_date
from osm_ng_ro import version as ro_version, version_date as ro_version_date
+import osm_ng_ro.html_out as html
+from osm_ng_ro.ns import Ns, NsException
+from osm_ng_ro.validation import ValidationError
+from osm_ng_ro.vim_admin import VimAdminThread
+import yaml
__author__ = "Alfonso Tierno <alfonso.tiernosepulveda@telefonica.com>"
__author__ = "Alfonso Tierno <alfonso.tiernosepulveda@telefonica.com>"
@@
-792,7
+792,7
@@
def _start_service():
elif k1 == "tools":
# update [/] configuration
engine_config["/"]["tools." + k2.replace("_", ".")] = yaml.safe_load(v)
elif k1 == "tools":
# update [/] configuration
engine_config["/"]["tools." + k2.replace("_", ".")] = yaml.safe_load(v)
- elif k1 in ("message", "database", "storage", "authentication"):
+ elif k1 in ("message", "database", "storage", "authentication"
, "period"
):
engine_config[k1][k2] = yaml.safe_load(v)
except Exception as e:
engine_config[k1][k2] = yaml.safe_load(v)
except Exception as e: