<?xml version="1.0" encoding="UTF-8"?>
<!-- vi: set et smarttab sw=4 tabstop=4: -->
<!--
      Copyright (c) 2015 Cisco Systems, Inc. and others.  All rights reserved.

 This program and the accompanying materials are made available under the
 terms of the Eclipse Public License v1.0 which accompanies this distribution,
 and is available at http://www.eclipse.org/legal/epl-v10.html
-->
<snapshot>
    <required-capabilities>
        <capability>urn:opendaylight:params:xml:ns:yang:controller:bmp:impl?module=odl-bmp-impl-cfg&amp;revision=2015-05-18</capability>
        <capability>urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:spi?module=odl-bgp-rib-spi-cfg&amp;revision=2013-11-15</capability>
        <capability>urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding?module=opendaylight-md-sal-binding&amp;revision=2013-10-28</capability>
        <capability>urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom?module=opendaylight-md-sal-dom&amp;revision=2013-10-28</capability>
    </required-capabilities>

    <configuration>
        <data xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
            <modules xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
                <module>
                    <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bmp:impl">prefix:bmp-monitor-impl</type>
                    <name>example-bmp-monitor</name>
                    <!--<binding-address>0.0.0.0</binding-address>-->
                    <binding-port>12345</binding-port>
                    <!--
                         For TCP-MD5 support make sure the dispatcher has the "md5-server-channel-factory"
                         attribute set and then set the appropriate monitored router entries here. Note that if this
                         option is configured, the monitored router(s) connecting here must have the same password configured,
                         otherwise they will not be able to connect at all.
                    <monitored-router>
                        <address>192.0.2.2</address>
                        <password>changeme</password>
                    </monitored-router>
                    -->
                    <!-- To enable active TCP connection, configure monitored-router with address, port and active flag.
                    <monitored-router>
                        <address>192.0.2.2</address>
                        <port>1234</port>
                        <active>true</active>
                    </monitored-router>
                     -->
                    <extensions>
                        <type xmlns:ribspi="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:spi">ribspi:extensions</type>
                        <name>global-rib-extensions</name>
                    </extensions>
                    <bmp-dispatcher>
                        <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bmp:impl">prefix:bmp-dispatcher</type>
                        <name>global-bmp-dispatcher</name>
                    </bmp-dispatcher>
                    <dom-data-provider>
                        <type xmlns:sal="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">sal:dom-async-data-broker</type>
                        <name>pingpong-broker</name>
                    </dom-data-provider>
                    <codec-tree-factory>
                        <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-codec-tree-factory</type>
                        <name>runtime-mapping-singleton</name>
                    </codec-tree-factory>
                </module>
            </modules>

            <services xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
                <service>
                    <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bmp:impl">prefix:bmp-monitor</type>
                    <instance>
                        <name>example-bmp-monitor</name>
                        <provider>/config/modules/module[name='bmp-monitor-impl']/instance[name='example-bmp-monitor']</provider>
                    </instance>
                </service>
            </services>
        </data>
    </configuration>
</snapshot>
