Adds support for vdu_name, ns_id and vnf_member_index
[osm/MON.git] / osm_mon / core / settings.py
index ae717e0..db78b4a 100644 (file)
@@ -60,6 +60,7 @@ class Config(object):
 
     _configuration = [
         CfgParam('BROKER_URI', "localhost:9092", six.text_type),
+        CfgParam('MONGO_URI', "mongo:27017", six.text_type),
         CfgParam('DATABASE', "sqlite:///mon_sqlite.db", six.text_type),
         CfgParam('OS_NOTIFIER_URI', "http://localhost:8662", six.text_type),
         CfgParam('OS_DEFAULT_GRANULARITY', "300", six.text_type),
@@ -80,5 +81,5 @@ class Config(object):
                 val = str(os.environ[key])
                 setattr(self, key, val)
             except KeyError as exc:
-                log.warning("Environment variable not present: %s", exc)
+                log.debug("Environment variable not present: %s", exc)
         return