remove RD and Distinguisher deprecated models
[bgpcep.git] / bgp / bmp-api / src / main / yang / bmp-message.yang
index 11d0dd515249f9caf5194c0bc8f5f2592e68048e..43f7ddc2538a917d6d9cfe198a62bdd94e88c7ca 100644 (file)
@@ -99,21 +99,6 @@ module bmp-message {
         }
     }
 
-    typedef distinguisher-type {
-        type enumeration {
-            enum type0 {
-                value 0;
-            }
-            enum type1 {
-                value 1;
-            }
-            enum type2 {
-                value 2;
-            }
-        }
-        status deprecated;
-    }
-
     typedef mirror-information-code {
         type enumeration {
             enum errored-pdu {
@@ -387,22 +372,6 @@ module bmp-message {
             type peer-type;
             mandatory true;
         }
-        container distinguisher {
-            leaf distinguisher-type {
-                type distinguisher-type;
-            }
-            leaf distinguisher {
-                type string;
-            }
-            description
-                "Routers today can have multiple
-                 instances (example L3VPNs).  This field is present to distinguish
-                 peers that belong to one address domain from the other.
-                 If the peer is a L3VPN Instance Peer, it is set to the
-                 route distinguisher of the particular L3VPN instance that the peer
-                 belongs to.";
-            status deprecated;
-        }
         leaf peer-distinguisher {
             type union {
                 type bgp-t:route-distinguisher;