2 * Copyright (c) 2016 Brocade Communication Systems and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
9 package org.opendaylight.netconf.callhome.mount;
11 import io.netty.util.concurrent.EventExecutor;
12 import org.opendaylight.controller.config.threadpool.ScheduledThreadPool;
13 import org.opendaylight.controller.config.threadpool.ThreadPool;
14 import org.opendaylight.controller.md.sal.binding.api.DataBroker;
15 import org.opendaylight.controller.md.sal.dom.api.DOMMountPointService;
16 import org.opendaylight.netconf.client.NetconfClientDispatcher;
17 import org.opendaylight.netconf.sal.connect.api.RemoteDeviceHandler;
18 import org.opendaylight.netconf.sal.connect.netconf.listener.NetconfSessionPreferences;
19 import org.opendaylight.netconf.sal.connect.netconf.sal.NetconfDeviceSalFacade;
20 import org.opendaylight.netconf.sal.connect.util.RemoteDeviceId;
21 import org.opendaylight.netconf.topology.api.SchemaRepositoryProvider;
24 public class CallHomeTopology extends BaseCallHomeTopology {
26 public CallHomeTopology(final String topologyId, final NetconfClientDispatcher clientDispatcher,
27 final EventExecutor eventExecutor,
28 final ScheduledThreadPool keepaliveExecutor, final ThreadPool processingExecutor,
29 final SchemaRepositoryProvider schemaRepositoryProvider,
30 final DataBroker dataBroker, final DOMMountPointService mountPointService) {
31 super(topologyId, clientDispatcher, eventExecutor,
32 keepaliveExecutor, processingExecutor, schemaRepositoryProvider,
33 dataBroker, mountPointService);
37 protected RemoteDeviceHandler<NetconfSessionPreferences> createSalFacade(final RemoteDeviceId id) {
38 return new NetconfDeviceSalFacade(id, mountPointService, dataBroker);