Files should not be executable
[netconf.git] / netconf / mdsal-netconf-tcp / src / main / resources / OSGI-INF / blueprint / netconf-tcp.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            xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.3.0"
12            odl:restart-dependents-on-updates="true">
13
14     <reference id="netconfServerDispatcher"
15                interface="org.opendaylight.netconf.api.NetconfServerDispatcher"
16                odl:type="netconf-server-dispatcher"/>
17
18     <!-- NETCONF TCP server for MD-SAL (listening by default on port 2831)-->
19
20     <cm:property-placeholder persistent-id="org.opendaylight.netconf.tcp" update-strategy="none">
21         <cm:default-properties>
22             <cm:property name="bindingAddress" value="0.0.0.0"/>
23             <cm:property name="portNumber" value="2831"/>
24         </cm:default-properties>
25     </cm:property-placeholder>
26
27     <!-- If you need/want to use a TCP NETCONF server to interact with MD-SAL, uncomment bellow bean -->
28
29     <!--
30     <bean id="netconfMdsalTcpServer"
31           class="org.opendaylight.netconf.tcp.NetconfNorthboundTcpServer"
32           destroy-method="close">
33         <argument ref="netconfServerDispatcher"/>
34         <argument value="${bindingAddress}"/>
35         <argument value="${portNumber}"/>
36     </bean>
37     -->
38
39 </blueprint>