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-devel.py b/xos/synchronizer/metronetwork-synchronizer-devel.py index df697ec..de6028a 100755 --- a/xos/synchronizer/metronetwork-synchronizer-devel.py +++ b/xos/synchronizer/metronetwork-synchronizer-devel.py
@@ -5,8 +5,10 @@ import importlib import os import sys +from xosconfig import Config -#observer_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), "../../synchronizers/base") +config_file = os.path.abspath(os.path.dirname(os.path.realpath(__file)) + '/metronetwork_config.yaml') + sys.path.append("/opt/xos/synchronizers/base") print sys.path mod = importlib.import_module("xos-synchronizer")