1 <?xml version="1.0" encoding="UTF-8"?>
3 Copyright (c) 2016 Cisco Systems, 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 <reference id="BGPDispatcher" interface="org.opendaylight.protocol.bgp.rib.impl.spi.BGPDispatcher"/>
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">
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>
24 </odl:clustered-app-config>
26 <bean id="bgpPeerAcceptor" class="org.opendaylight.protocol.bgp.peer.acceptor.BGPPeerAcceptorImpl"
27 init-method="start" destroy-method="close">
29 <bean factory-ref="bgpPeerAcceptorConfig" factory-method="getBindingAddress"/>
32 <bean factory-ref="bgpPeerAcceptorConfig" factory-method="getBindingPort"/>
34 <argument ref="BGPDispatcher"/>