BUG-4827: ADD-PATH capability implementation
[bgpcep.git] / bgp / parser-api / src / main / yang / bgp-multiprotocol.yang
index cc1c9181369bb86706ea55a721d38f83ef6a614f..ff816f35161d4166071ea2b50fc93febc2b0c83e 100644 (file)
@@ -92,6 +92,19 @@ module bgp-multiprotocol {
                 }
             }
         }
+        container add-path-capability {
+            reference "http://tools.ietf.org/html/draft-ietf-idr-add-paths-13#section-4";
+            list address-families {
+                uses bgp-table-type;
+                leaf send-receive {
+                    type enumeration {
+                        enum receive { value 1; }
+                        enum send { value 2; }
+                        enum both { value 3; }
+                    }
+                }
+            }
+        }
     }
 
     augment "/bgp-msg:update/bgp-msg:attributes" {