Fix yang models to be valid against new Yang parser
[bgpcep.git] / bgp / parser-api / src / main / yang / bgp-multiprotocol.yang
index c4673f15532a8baf436dd9f2ff36a0fa7988b3af..cc1c9181369bb86706ea55a721d38f83ef6a614f 100644 (file)
@@ -6,6 +6,7 @@ module bgp-multiprotocol {
     import ietf-inet-types { prefix inet; revision-date 2010-09-24; }
     import bgp-message { prefix bgp-msg; revision-date 2013-09-19; }
     import bgp-types { prefix bgp-t; revision-date 2013-09-19; }
+    import yang-ext { prefix ext; revision-date 2013-07-09; }
 
     organization "Cisco Systems, Inc.";
     contact "Dana Kutenicsova <dkutenic@cisco.com>";
@@ -94,6 +95,7 @@ module bgp-multiprotocol {
     }
 
     augment "/bgp-msg:update/bgp-msg:attributes" {
+        ext:augment-identifier attributes-1;
         container mp-reach-nlri {
             reference "http://tools.ietf.org/html/rfc4760#section-3";
 
@@ -107,6 +109,7 @@ module bgp-multiprotocol {
     }
 
     augment "/bgp-msg:update/bgp-msg:attributes" {
+        ext:augment-identifier attributes-2;
         container mp-unreach-nlri {
             reference "http://tools.ietf.org/html/rfc4760#section-4";