1 BGP Monitoring Protocol User Guide
2 ==================================
7 The OpenDaylight Karaf distribution comes preconfigured with baseline
10 - **32-bmp.xml** (initial configuration for BMP messages handler
11 service provider and BMP client/server dispatcher settings)
13 - **42-bmp-example.xml** (sample initial configuration for the BMP
14 Monitoring Station application)
22 The default shipped configuration will start a BMP server on
23 0.0.0.0:12345.You can change this behavior in **42-bmp-example.xml**:
28 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bmp:impl">prefix:bmp-monitor-impl</type>
29 <name>example-bmp-monitor</name>
30 <!--<binding-address>0.0.0.0</binding-address>-->
31 <binding-port>12345</binding-port>
35 - **binding-address** - adress on which BMP will be started and listen;
36 to change value, uncomment then line first
38 - **binding-port** - port on which the address will be started and
41 Multiple instances of the BMP monitoring station (**bmp-monitor-impl**
42 module) can be created. However, each instance must have a unique pair
43 of **binding-address** and **binding-port**
48 OpenDaylight’s BMP might be configured to act as an active party of the
49 connection (ODL BMP < = > Monitored router). To enable this
50 functionality, configure monitored-router with mandatory parameters:
52 - address (must be unique for each configured "monitored-router"),
58 See following example from 42-bmp-example.xml:
63 <address>192.0.2.2</address>
68 Configuration through RESTCONF
69 ------------------------------
75 *`http://<controllerIP>:8181/restconf/config/network-topology:network-topology/topology/topology-netconf/node/controller-config/yang-ext:mount/config:modules/config:module/odl-bmp-impl-cfg:bmp-monitor-impl/example-bmp-monitor <http://<controllerIP>:8181/restconf/config/network-topology:network-topology/topology/topology-netconf/node/controller-config/yang-ext:mount/config:modules/config:module/odl-bmp-impl-cfg:bmp-monitor-impl/example-bmp-monitor>`__*
77 **Content-Type:** application/xml
85 <module xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
86 <name>example-bmp-monitor</name>
87 <type xmlns:x="urn:opendaylight:params:xml:ns:yang:controller:bmp:impl">x:bmp-monitor-impl</type>
88 <bmp-dispatcher xmlns="urn:opendaylight:params:xml:ns:yang:controller:bmp:impl">
89 <type>bmp-dispatcher</type>
90 <name>global-bmp-dispatcher</name>
92 <codec-tree-factory xmlns="urn:opendaylight:params:xml:ns:yang:controller:bmp:impl">
93 <type xmlns:x="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">x:binding-codec-tree-factory</type>
94 <name>runtime-mapping-singleton</name>
96 <extensions xmlns="urn:opendaylight:params:xml:ns:yang:controller:bmp:impl">
97 <type xmlns:x="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:spi">x:extensions</type>
98 <name>global-rib-extensions</name>
100 <binding-address xmlns="urn:opendaylight:params:xml:ns:yang:controller:bmp:impl">0.0.0.0</binding-address>
101 <dom-data-provider xmlns="urn:opendaylight:params:xml:ns:yang:controller:bmp:impl">
102 <type xmlns:x="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">x:dom-async-data-broker</type>
103 <name>pingpong-broker</name>
105 <binding-port xmlns="urn:opendaylight:params:xml:ns:yang:controller:bmp:impl">12345</binding-port>
108 - change values for **binding-address** and/or **binding-port**
114 *`http://<controllerIP>:8181/restconf/config/network-topology:network-topology/topology/topology-netconf/node/controller-config/yang-ext:mount/config:modules/config:module/odl-bmp-impl-cfg:bmp-monitor-impl/example-bmp-monitor <http://<controllerIP>:8181/restconf/config/network-topology:network-topology/topology/topology-netconf/node/controller-config/yang-ext:mount/config:modules/config:module/odl-bmp-impl-cfg:bmp-monitor-impl/example-bmp-monitor>`__*
116 **Content-Type:** application/xml
124 <module xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
125 <name>example-bmp-monitor</name>
126 <type xmlns:x="urn:opendaylight:params:xml:ns:yang:controller:bmp:impl">x:bmp-monitor-impl</type>
127 <bmp-dispatcher xmlns="urn:opendaylight:params:xml:ns:yang:controller:bmp:impl">
128 <type>bmp-dispatcher</type>
129 <name>global-bmp-dispatcher</name>
131 <codec-tree-factory xmlns="urn:opendaylight:params:xml:ns:yang:controller:bmp:impl">
132 <type xmlns:x="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">x:binding-codec-tree-factory</type>
133 <name>runtime-mapping-singleton</name>
134 </codec-tree-factory>
135 <extensions xmlns="urn:opendaylight:params:xml:ns:yang:controller:bmp:impl">
136 <type xmlns:x="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:spi">x:extensions</type>
137 <name>global-rib-extensions</name>
139 <binding-address xmlns="urn:opendaylight:params:xml:ns:yang:controller:bmp:impl">0.0.0.0</binding-address>
140 <dom-data-provider xmlns="urn:opendaylight:params:xml:ns:yang:controller:bmp:impl">
141 <type xmlns:x="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">x:dom-async-data-broker</type>
142 <name>pingpong-broker</name>
144 <binding-port xmlns="urn:opendaylight:params:xml:ns:yang:controller:bmp:impl">12345</binding-port>
145 <monitored-router xmlns="urn:opendaylight:params:xml:ns:yang:controller:bmp:impl">
146 <address xmlns="urn:opendaylight:params:xml:ns:yang:controller:bmp:impl">127.0.0.1</address>
147 <port xmlns="urn:opendaylight:params:xml:ns:yang:controller:bmp:impl">1234</port>
148 <active xmlns="urn:opendaylight:params:xml:ns:yang:controller:bmp:impl">true</active>
152 - change values for **address** and **port**