3 namespace "urn:opendaylight:params:xml:ns:yang:bmp-monitor";
6 import bgp-rib { prefix rib; revision-date 2018-03-29; }
7 import bgp-multiprotocol { prefix bgp-mp; revision-date 2018-03-29; }
8 import bmp-message { prefix bmp-msg; revision-date 2018-03-29; }
9 import ietf-inet-types { prefix inet; revision-date 2013-07-15; }
10 import ietf-yang-types { prefix yang; revision-date 2013-07-15; }
12 organization "Cisco Systems, Inc.";
13 contact "Milos Fabian <milfabia@cisco.com>";
16 "This module contains the base data model of a BMP monitor.
18 Copyright (c)2015 Cisco Systems, Inc. All rights reserved.
20 This program and the accompanying materials are made available
21 under the terms of the Eclipse Public License v1.0 which
22 accompanies this distribution, and is available at
23 http://www.eclipse.org/legal/epl-v10.html";
25 revision "2018-03-29" {
26 description "Add support for add-path for all afi/safi.";
29 revision "2017-12-07" {
30 description "Add support for add-path in base BGP NLRI.";
33 revision "2015-05-12" {
39 description "Monitored router identified by IP address.";
44 description "The name of BMP monitoring station instance.";
55 grouping afi-safi-route-counter {
57 uses bgp-mp:bgp-table-type;
72 leaf router-distinguisher {
75 container peer-session {
80 uses bmp-msg:timestamp;
83 leaf rejected-prefixes {
86 leaf duplicate-prefix-advertisements {
89 leaf duplicate-withdraws {
92 leaf invalidated-cluster-list-loop {
95 leaf invalidated-as-path-loop {
98 leaf invalidated-originator-id {
101 leaf invalidated-as-confed-loop {
104 leaf adj-ribs-in-routes {
107 leaf loc-rib-routes {
110 container per-afi-safi-adj-rib-in-routes {
111 uses afi-safi-route-counter;
113 container per-afi-safi-loc-rib-routes {
114 uses afi-safi-route-counter;
116 leaf updates-treated-as-withdraw {
119 leaf prefixes-treated-as-withdraw {
122 leaf duplicate-updates {
125 uses bmp-msg:timestamp;
127 container pre-policy-rib {
130 container post-policy-rib {
135 type bmp-msg:mirror-information-code;
137 uses bmp-msg:timestamp;
164 container bmp-monitor {