BGPCEP-701: Remove old statistics, keep only openconfig stats
[bgpcep.git] / bgp / rib-impl / src / main / yang / odl-bgp-rib-impl-cfg.yang
index f4cfd914d7cf0b5b03ed96cecf1f9028c6ad2bbc..d4e661f7cc8a117ea068c6be5529d803488f81ea 100644 (file)
@@ -20,8 +20,6 @@ module odl-bgp-rib-impl-cfg {
     import rpc-context { prefix rpcx; revision-date 2013-06-17; }
     import odl-bgp-path-selection-mode { prefix bps; revision-date 2016-03-01;}
     import bgp-peer { prefix peer; revision-date 2016-06-06; }
-    import bgp-stats-peer { prefix peer-stats; revision-date 2016-06-06; }
-    import bgp-stats-rib-impl { prefix rib-impl-stats; revision-date 2016-06-06; }
 
     organization "Cisco Systems, Inc.";
 
@@ -279,13 +277,6 @@ module odl-bgp-rib-impl-cfg {
             when "/config:modules/config:module/config:type = 'bgp-peer'";
 
             rpcx:rpc-context-instance "peer-rpc";
-            uses peer-stats:bgp-peer-stats;
-        }
-
-        case rib-impl {
-            when "/config:modules/config:module/config:type = 'rib-impl'";
-
-            uses rib-impl-stats:bgp-render-stats;
         }
     }
 
@@ -300,17 +291,6 @@ module odl-bgp-rib-impl-cfg {
         }
     }
 
-    rpc reset-stats {
-        description "Reset the BGP peer statistics.";
-        input {
-            uses rpcx:rpc-context-ref {
-                refine context-instance {
-                    rpcx:rpc-context-instance peer-rpc;
-                }
-            }
-        }
-    }
-
     identity bgp-path-selection-mode {
         description
             "Service representing an address family + path selection mode.";