Initial Temporal Config
Adds a new main (nglcm.py) and config file for handling Temporal
connectivity
Change-Id: I0d30897b65fa4e9541d341f331983696ac5536ba
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
diff --git a/osm_lcm/nglcm.cfg b/osm_lcm/nglcm.cfg
new file mode 100644
index 0000000..be9658b
--- /dev/null
+++ b/osm_lcm/nglcm.cfg
@@ -0,0 +1,62 @@
+##
+# Copyright 2018 Telefonica S.A.
+#
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+##
+
+# TODO currently is a pure yaml format. Consider to change it to [ini: style with yaml inside to be coherent with other modules
+
+global:
+ loglevel: DEBUG
+ # logfile: /app/log # or /var/log/osm/lcm.log
+ # nologging: True # do no log to stdout/stderr
+
+VCA:
+ host: vca
+ port: 17070
+ user: admin
+ secret: secret
+ 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:
+ 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:
+ driver: local # local filesystem
+ # for local provide file path
+ path: /app/storage
+ # loglevel: DEBUG
+ # logfile: /var/log/osm/lcm-storage.log