summaryrefslogtreecommitdiffhomepage
path: root/tools/pyang_plugins/gobgp.yang
diff options
context:
space:
mode:
Diffstat (limited to 'tools/pyang_plugins/gobgp.yang')
-rw-r--r--tools/pyang_plugins/gobgp.yang12
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/pyang_plugins/gobgp.yang b/tools/pyang_plugins/gobgp.yang
index 46d3866f..a06a7fa2 100644
--- a/tools/pyang_plugins/gobgp.yang
+++ b/tools/pyang_plugins/gobgp.yang
@@ -1227,6 +1227,18 @@ module gobgp {
}
}
+ grouping afi-safi-state {
+ leaf family {
+ description
+ "Address family value of AFI-SAFI pair translated from afi-safi-name.";
+ type route-family;
+ }
+ }
+
+ augment "/bgp:bgp/bgp:global/bgp:afi-safis/bgp:afi-safi/bgp:state" {
+ uses afi-safi-state;
+ }
+
augment "/bgp:bgp/bgp:global/bgp:afi-safis/bgp:afi-safi" {
container route-target-membership {
container config {