blob: f2c7ce2dd5a2deb8f949ecafd3a334bf967aa1a5 [file] [log] [blame]
Scott Baker761e1062016-06-20 17:18:17 -07001#!/usr/bin/env python
2
3# This imports and runs ../../xos-observer.py
4
5import importlib
6import os
7import sys
Matteo Scandolo79f298e2017-06-05 11:18:01 -07008from xosconfig import Config
9
10config_file = os.path.abspath(os.path.dirname(os.path.realpath(__file__)) + '/vsg_config.yaml')
11
12Config.init(config_file, 'synchronizer-config-schema.yaml')
13
Scott Baker32f65122017-03-08 17:04:16 -080014observer_path = os.path.join(os.path.dirname(os.path.realpath(__file__)),"../../synchronizers/new_base")
Scott Baker761e1062016-06-20 17:18:17 -070015sys.path.append(observer_path)
16mod = importlib.import_module("xos-synchronizer")
17mod.main()