Move BP xml files to standard OSGI-INF/blueprint
[netconf.git] / netconf / netconf-util / src / main / resources / OSGI-INF / blueprint / netconf-util-blueprint.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3  Copyright (c) 2017 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:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0">
11
12     <!-- The PID "netconf" is used for backwards-compatibility even though it is
13          an ambiguous name. -->
14     <cm:property-placeholder persistent-id="netconf" update-strategy="reload">
15         <cm:default-properties>
16             <cm:property name="tcp-address" value="127.0.0.1" />
17             <cm:property name="tcp-port" value="8383" />
18             <cm:property name="ssh-address" value="0.0.0.0" />
19             <cm:property name="ssh-port" value="1830" />
20             <cm:property name="ssh-pk-path" value="./configuration/RSA.pk" />
21         </cm:default-properties>
22     </cm:property-placeholder>
23
24     <bean id="netconfConfiguration" class="org.opendaylight.netconf.util.NetconfConfigurationImpl">
25         <argument value="${tcp-address}" />
26         <argument value="${tcp-port}" />
27         <argument value="${ssh-address}" />
28         <argument value="${ssh-port}" />
29         <argument value="${ssh-pk-path}" />
30     </bean>
31     <service ref="netconfConfiguration" interface="org.opendaylight.netconf.util.NetconfConfiguration" />
32
33 </blueprint>