Feature 10929: LCM saga, Milestone 1.
[osm/LCM.git] / osm_lcm / lcm.cfg
index 3bc1ba0..9f580da 100644 (file)
 
 # TODO currently is a pure yaml format. Consider to change it to [ini] style with yaml inside to be coherent with other modules
 
-#[global]
-global:
+[global]
     loglevel: DEBUG
     # logfile:  /app/log  # or /var/log/osm/lcm.log
     # nologging: True     # do no log to stdout/stderr
 
-#[RO]
-RO:
+[timeout]
+    # ns_deploy: 7200     # total deploy timeout for a ns 2 hours
+    # nsi_deploy: 7200     # total deploy timeout for a nsi 2 hours
+
+[RO]
     host:   ro          # hostname or IP
     port:   9090
     tenant: osm
     # loglevel: DEBUG
     # logfile:  /var/log/osm/lcm-ro.log
 
-#[VCA]
-VCA:
+[VCA]
     host:   vca
     port:   17070
     user:   admin
     secret: secret
-    # pubkey: pubkey
-    # cacert: cacert
-    # apiproxy: apiproxy
+    cloud:  localhost
+    k8s_cloud: k8scloud
+    helmpath:    /usr/local/bin/helm
+    helm3path:    /usr/local/bin/helm3
+    kubectlpath: /usr/bin/kubectl
+    jujupath:    /usr/local/bin/juju
+    eegrpc_tls_enforce: False
+    # public_key: pubkey
+    # ca_cert: cacert
+    # api_proxy: apiproxy
+    # eegrpcinittimeout: 600
+    # eegrpctimeout: 30
 
     # loglevel: DEBUG
     # logfile:  /var/log/osm/lcm-vca.log
 
-#[database]
-database:
+[database]
     driver: mongo       # mongo or memory
     host:   mongo       # hostname or IP
     port:   27017
     name:   osm
+    # replicaset: replicaset
     # user:   user
     # password:   password
     # commonkey: "XXXXXX" # password used for encryption of sensible information
     # loglevel: DEBUG
     # logfile:  /var/log/osm/lcm-database.log
 
-#[storage]
-storage:
+[storage]
     driver: local       # local filesystem
     # for local provide file path
     path:   /app/storage
     # loglevel: DEBUG
     # logfile:  /var/log/osm/lcm-storage.log
 
-#[message]
-message:
+[message]
     driver:   kafka       # local or kafka
     # for local provide file path
     path:     /app/storage/kafka
@@ -74,3 +82,11 @@ message:
     # loglevel: DEBUG
     # logfile:  /var/log/osm/lcm-message.log
     group_id: lcm-server
+
+[tsdb]    # time series database
+    driver:   prometheus
+    # local file to store the configuration
+    path:     /etc/prometheus
+    uri:      http://prometheus:9090/
+    # loglevel: DEBUG
+    # logfile:  /var/log/osm/lcm-tsdb.log