commit | a11094335a37ce82f7248b21dd5ea5fe9bc7ba73 | [log] [tgz] |
---|---|---|
author | Max Chu <maxmchu@gmail.com> | Tue Jul 11 13:15:04 2017 -0700 |
committer | Max Chu <maxmchu@gmail.com> | Fri Jul 14 12:44:39 2017 -0700 |
tree | e0347cf812795cc43897da8ec4f4ce5c4babc276 | |
parent | f36994824b7b937ec1cbd7805e72a0c9a69e4126 [diff] [blame] |
[CORD-1360] migrating metro-net from 3.0 to master, merge with https://gerrit.opencord.org/#/c/4151/ Change-Id: I6d94a88b67ec4862290c1c0538f9cb269c5b76b3
diff --git a/xos/synchronizer/metronetwork-synchronizer.py b/xos/synchronizer/metronetwork-synchronizer.py index a60c758..f65e222 100755 --- a/xos/synchronizer/metronetwork-synchronizer.py +++ b/xos/synchronizer/metronetwork-synchronizer.py
@@ -5,6 +5,10 @@ import importlib import os import sys +from xosconfig import Config + +config_file = os.path.abspath(os.path.dirname(os.path.realpath(__file__)) + '/metronetwork_config.yaml') +Config.init(config_file, 'synchronizer-config-schema.yaml') observer_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), "../../synchronizers/new_base") sys.path.append(observer_path)