1 module odl-bmp-impl-cfg {
3 namespace "urn:opendaylight:params:xml:ns:yang:controller:bmp:impl";
6 import config { prefix config; revision-date 2013-04-05; }
7 import odl-bgp-rib-spi-cfg { prefix ribspi; revision-date 2013-11-15; }
8 import netty { prefix netty; revision-date 2013-11-19; }
9 import ietf-inet-types { prefix inet; revision-date 2013-07-15; }
10 import opendaylight-md-sal-binding {prefix mdsb; revision-date 2013-10-28; }
11 import opendaylight-md-sal-dom {prefix sal; revision-date 2013-10-28; }
12 import rfc2385 { prefix rfc2385; revision-date 2016-03-24; }
14 organization "Cisco Systems, Inc.";
16 contact "Milos Fabian <milfabia@cisco.com>";
19 "This module contains the base YANG definitions for
22 Copyright (c)2015 Cisco Systems, Inc. All rights reserved.;
24 This program and the accompanying materials are made available
25 under the terms of the Eclipse Public License v1.0 which
26 accompanies this distribution, and is available at
27 http://www.eclipse.org/legal/epl-v10.html";
29 revision "2015-05-18" {
34 identity bmp-dispatcher {
36 "Service representing a BMP dispatcher service. The service
37 can create both BMP client sessions and BMP servers.";
39 base "config:service-type";
40 config:java-class "org.opendaylight.protocol.bmp.api.BmpDispatcher";
41 config:disable-osgi-service-registration;
44 identity bmp-dispatcher-impl {
45 base config:module-type;
46 config:provided-service bmp-dispatcher;
47 config:java-name-prefix BmpDispatcherImpl;
50 augment "/config:modules/config:module/config:configuration" {
51 case bmp-dispatcher-impl {
52 when "/config:modules/config:module/config:type = 'bmp-dispatcher-impl'";
56 identity bmp-monitor {
58 "Service representing a BMP monitoring service.";
60 base "config:service-type";
61 config:java-class "org.opendaylight.protocol.bmp.impl.spi.BmpMonitoringStation";
64 identity bmp-monitor-impl {
65 base config:module-type;
66 config:provided-service bmp-monitor;
67 config:java-name-prefix BmpMonitorImpl;
70 augment "/config:modules/config:module/config:configuration" {
71 case bmp-monitor-impl {
72 when "/config:modules/config:module/config:type = 'bmp-monitor-impl'";
74 container extensions {
75 uses config:service-ref {
78 config:required-identity ribspi:consumer-extensions;
83 container codec-tree-factory {
84 uses config:service-ref {
87 config:required-identity mdsb:binding-codec-tree-factory;
92 container dom-data-provider {
93 uses config:service-ref {
96 config:required-identity sal:dom-async-data-broker;
101 container bmp-dispatcher {
102 uses config:service-ref {
105 config:required-identity bmp-dispatcher;
110 leaf binding-address {
111 type inet:ip-address;
116 type inet:port-number;
120 list monitored-router {
122 type inet:ip-address;
134 type inet:port-number;
139 type rfc2385:rfc2385-key;
140 description "RFC2385 shared secret";