cf0401772704ed52ce4e5a2df618d653b6fc3b77
[netconf.git] / netconf / netconf-topology-config / src / main / resources / org / opendaylight / blueprint / netconf-topology.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3  Copyright (c) 2016 Inocybe Technologies Inc. and others.  All rights reserved.
4
5  This program and the accompanying materials are made available under the
6  terms of the Eclipse Public License v1.0 which accompanies this distribution,
7  and is available at http://www.eclipse.org/legal/epl-v10.html
8 -->
9 <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
10            xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0"
11            odl:use-default-for-reference-types="true">
12
13     <reference id="clientDispatcherDependency"
14                interface="org.opendaylight.netconf.client.NetconfClientDispatcher"
15                odl:type="netconf-client-dispatcher"/>
16     <reference id="bindingAwareBroker"
17                interface="org.opendaylight.controller.sal.binding.api.BindingAwareBroker"/>
18     <reference id="keepAliveExecutor"
19                interface="org.opendaylight.controller.config.threadpool.ScheduledThreadPool"/>
20     <reference id="processingExecutor"
21                interface="org.opendaylight.controller.config.threadpool.ThreadPool"/>
22     <reference id="domBroker"
23                interface="org.opendaylight.controller.sal.core.api.Broker"/>
24     <reference id="eventExecutor"
25                interface="io.netty.util.concurrent.EventExecutor"
26                odl:type="global-event-executor"/>
27     <reference id="dataBroker"
28                interface="org.opendaylight.controller.md.sal.binding.api.DataBroker"/>
29     <reference id="domMountPointService"
30                interface="org.opendaylight.controller.md.sal.dom.api.DOMMountPointService"/>
31
32     <bean id="schemaRepository" class="org.opendaylight.netconf.topology.impl.SchemaRepositoryProviderImpl">
33         <argument value="shared-schema-repository-impl"/>
34     </bean>
35
36     <bean id="netconfTopology" class="org.opendaylight.netconf.topology.impl.NetconfTopologyImpl"
37           init-method="init"
38           destroy-method="close">
39         <argument value="topology-netconf"/>
40         <argument ref="clientDispatcherDependency"/>
41         <argument ref="bindingAwareBroker"/>
42         <argument ref="domBroker"/>
43         <argument ref="eventExecutor"/>
44         <argument ref="keepAliveExecutor"/>
45         <argument ref="processingExecutor"/>
46         <argument ref="schemaRepository"/>
47         <argument ref="dataBroker"/>
48         <argument ref="domMountPointService"/>
49     </bean>
50
51 </blueprint>