1 <?xml version="1.0" encoding="UTF-8"?>
3 Copyright (c) 2016 Inocybe Technologies Inc. and others. All rights reserved.
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
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">
14 <reference id="netconfServerDispatcher" interface="org.opendaylight.netconf.api.NetconfServerDispatcher"/>
15 <reference id="globalWorkerGroup" interface="io.netty.channel.EventLoopGroup" odl:type="global-worker-group"/>
16 <reference id="authProvider" interface="org.opendaylight.netconf.auth.AuthProvider" odl:type="netconf-auth-provider"/>
18 <reference id="executor" interface="io.netty.util.concurrent.EventExecutor" odl:type="global-event-executor">
19 <reference-listener ref="netconfMdsalServer" unbind-method="unbind"/>
22 <!-- NETCONF server for MD-SAL (listening by default on port 2830)-->
24 <cm:property-placeholder persistent-id="org.opendaylight.netconf.ssh" update-strategy="none">
25 <cm:default-properties>
26 <cm:property name="bindingAddress" value="0.0.0.0"/>
27 <cm:property name="portNumber" value="2830"/>
28 </cm:default-properties>
29 </cm:property-placeholder>
31 <bean id="netconfMdsalServer"
32 class="org.opendaylight.netconf.ssh.NetconfNorthboundSshServer"
33 destroy-method="close">
34 <argument ref="netconfServerDispatcher"/>
35 <argument ref="globalWorkerGroup"/>
36 <argument ref="executor"/>
37 <argument value="${bindingAddress}"/>
38 <argument value="${portNumber}"/>
39 <argument ref="authProvider"/>