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;
23 public class CallHomeTopology extends BaseCallHomeTopology {
25 public CallHomeTopology(final String topologyId, final NetconfClientDispatcher clientDispatcher,
26 final EventExecutor eventExecutor,
27 final ScheduledThreadPool keepaliveExecutor, final ThreadPool processingExecutor,
28 final SchemaRepositoryProvider schemaRepositoryProvider,
29 final DataBroker dataBroker, final DOMMountPointService mountPointService) {
30 super(topologyId, clientDispatcher, eventExecutor,
31 keepaliveExecutor, processingExecutor, schemaRepositoryProvider,
32 dataBroker, mountPointService);
36 protected RemoteDeviceHandler<NetconfSessionPreferences> createSalFacade(final RemoteDeviceId id) {
37 return new NetconfDeviceSalFacade(id, mountPointService, dataBroker);