diff options
Diffstat (limited to 'tools/pyang_plugins/gobgp.yang')
-rw-r--r-- | tools/pyang_plugins/gobgp.yang | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/tools/pyang_plugins/gobgp.yang b/tools/pyang_plugins/gobgp.yang index 6650711d..9ca5f78d 100644 --- a/tools/pyang_plugins/gobgp.yang +++ b/tools/pyang_plugins/gobgp.yang @@ -816,11 +816,20 @@ module gobgp { uses bgp-mp:all-afi-safi-common; } + grouping route-target-membership-config { + leaf deferral-time { + type uint16; + } + } + augment "/bgp:bgp/bgp:global/bgp:afi-safis/bgp:afi-safi" { container route-target-membership { - leaf deferral-time { - type uint16; - } + container config { + uses route-target-membership-config; + } + container state { + uses route-target-membership-config; + } } } } |