fb2b56b270bc5f615796d28bc3746c4f429fb1d7
[netconf.git] / netconf / netconf-client / src / main / resources / org / opendaylight / blueprint / netconf-client.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="globalBossGroup" interface="io.netty.channel.EventLoopGroup" odl:type="global-boss-group"/>
14     <reference id="globalWorkerGroup" interface="io.netty.channel.EventLoopGroup" odl:type="global-worker-group"/>
15     <reference id="timer" interface="io.netty.util.Timer" odl:type="global-timer"/>
16
17     <bean id="netconfClientDispatcherImpl"
18           class="org.opendaylight.netconf.client.NetconfClientDispatcherImpl">
19         <argument ref="globalBossGroup"/>
20         <argument ref="globalWorkerGroup"/>
21         <argument ref="timer"/>
22     </bean>
23     <service ref="netconfClientDispatcherImpl"
24              interface="org.opendaylight.netconf.client.NetconfClientDispatcher"
25              odl:type="netconf-client-dispatcher">
26         <service-properties>
27         <entry key="config-module-namespace" value="urn:opendaylight:params:xml:ns:yang:controller:config:netconf"/>
28         <entry key="config-module-name" value="netconf-client-dispatcher"/>
29         <entry key="config-instance-name" value="global-netconf-dispatcher"/>
30         </service-properties>
31     </service>
32
33 </blueprint>