diff options
author | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2016-04-27 09:41:29 +0000 |
---|---|---|
committer | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2016-04-27 10:07:02 +0000 |
commit | f6c70e980d41066df51ce8cf63f2351911391e47 (patch) | |
tree | bb774d3b6e6f4792937154da4362e5e047e22876 /tools/pyang_plugins/gobgp.yang | |
parent | 21938add9f67de5bea1ac7ccb4b21b24a996437b (diff) |
config: make route-target config struct aligned with open-config model
have config/state container
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
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; + } } } } |