Bump versions by x.y.(z+1)
[bgpcep.git] / bgp / peer-acceptor / src / main / resources / OSGI-INF / blueprint / bgp-acceptor.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   Copyright (c) 2016 Cisco Systems, 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     <reference id="BGPDispatcher" interface="org.opendaylight.protocol.bgp.rib.impl.spi.BGPDispatcher"/>
12
13     <odl:clustered-app-config id="bgpPeerAcceptorConfig"
14                               binding-class="org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.odl.bgp.peer.acceptor.config.rev161003.BgpPeerAcceptorConfig"
15                               list-key-value="default">
16         <odl:default-config>
17             <![CDATA[
18             <bgp-peer-acceptor-config xmlns="urn:opendaylight:params:xml:ns:yang:odl-bgp-peer-acceptor-config">
19               <config-name>default</config-name>
20               <binding-port>1790</binding-port>
21             </bgp-peer-acceptor-config>
22         ]]>
23         </odl:default-config>
24     </odl:clustered-app-config>
25
26     <bean id="bgpPeerAcceptor" class="org.opendaylight.protocol.bgp.peer.acceptor.BGPPeerAcceptorImpl"
27           init-method="start" destroy-method="close">
28         <argument>
29             <bean factory-ref="bgpPeerAcceptorConfig" factory-method="getBindingAddress"/>
30         </argument>
31         <argument>
32             <bean factory-ref="bgpPeerAcceptorConfig" factory-method="getBindingPort"/>
33         </argument>
34         <argument ref="BGPDispatcher"/>
35     </bean>
36 </blueprint>