Bump versions to 2.0.0-SNAPSHOT
[netconf.git] / netconf / messagebus-netconf / src / main / resources / OSGI-INF / blueprint / messagebus-netconf.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="dataBroker"
14                interface="org.opendaylight.mdsal.binding.api.DataBroker"
15                odl:type="default"/>
16     <reference id="domCodec"
17                interface="org.opendaylight.mdsal.binding.dom.codec.api.BindingNormalizedNodeSerializer" />
18     <reference id="domMountPointService"
19                interface="org.opendaylight.mdsal.dom.api.DOMMountPointService" />
20     <reference id="domNotificationPublishService"
21                interface="org.opendaylight.mdsal.dom.api.DOMNotificationPublishService" />
22     <reference id="eventSourceRegistry"
23                interface="org.opendaylight.controller.messagebus.spi.EventSourceRegistry" />
24
25     <bean id="netconfEventSourceManager"
26           class="org.opendaylight.netconf.messagebus.eventsources.netconf.NetconfEventSourceManager"
27           init-method="initialize"
28           destroy-method="close">
29         <argument ref="dataBroker" />
30         <argument ref="domCodec" />
31         <argument ref="domNotificationPublishService" />
32         <argument ref="domMountPointService" />
33         <argument ref="eventSourceRegistry" />
34         <property name="streamMap">
35             <map>
36                 <entry key="urn:ietf:params:xml:ns:yang:smiv2" value="SNMP"/>
37                 <entry key="urn:ietf:params:xml:ns:yang:ietf-syslog-notification" value="SYSLOG"/>
38             </map>
39         </property>
40     </bean>
41
42 </blueprint>