SEBA-405 Update VOLT Service to use synchronizer library
Change-Id: I8292e0e7d1b7c76b1e53d9bd944abf95d9b38333
diff --git a/xos/synchronizer/pull_steps/pull_olts.py b/xos/synchronizer/pull_steps/pull_olts.py
index 574a527..c7a7c16 100644
--- a/xos/synchronizer/pull_steps/pull_olts.py
+++ b/xos/synchronizer/pull_steps/pull_olts.py
@@ -12,8 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-from synchronizers.new_base.pullstep import PullStep
-from synchronizers.new_base.modelaccessor import model_accessor, OLTDevice, VOLTService, PONPort, NNIPort
+from xossynchronizer.pull_steps.pullstep import PullStep
+from xossynchronizer.modelaccessor import model_accessor, OLTDevice, VOLTService, PONPort, NNIPort
from xosconfig import Config
from multistructlog import create_logger
@@ -30,8 +30,8 @@
log = create_logger(Config().get('logging'))
class OLTDevicePullStep(PullStep):
- def __init__(self):
- super(OLTDevicePullStep, self).__init__(observed_model=OLTDevice)
+ def __init__(self, model_accessor):
+ super(OLTDevicePullStep, self).__init__(model_accessor=model_accessor, observed_model=OLTDevice)
@staticmethod
def get_ids_from_logical_device(o):