diff options
author | IWASE Yusuke <iwase.yusuke0@gmail.com> | 2017-09-14 11:23:46 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2017-10-03 14:53:44 +0900 |
commit | 6ed2c5624cbc7d2dcee126603e5f7893910d17d4 (patch) | |
tree | f033fe04e194d8131ce6e98e9e179005b758d234 /tools | |
parent | 0db5461625d75fc85f1a1144d17af8d0f61b5473 (diff) |
config: add-paths structure per AFI-SAFI
This patch introduce "add-paths" structure per AFI-SAFI in order to
enable to store add-paths feature config/state per AFI-SAFI.
Also, this patch renames a few variables to avoid the name collisions.
Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/pyang_plugins/gobgp.yang | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/pyang_plugins/gobgp.yang b/tools/pyang_plugins/gobgp.yang index a06a7fa2..a1c151b0 100644 --- a/tools/pyang_plugins/gobgp.yang +++ b/tools/pyang_plugins/gobgp.yang @@ -1251,4 +1251,17 @@ module gobgp { uses long-lived-graceful-restart; } + + augment "/bgp:bgp/bgp:global/bgp:afi-safis/bgp:afi-safi" { + container add-paths { + description + "add-paths configuration options related to a particular AFI-SAFI."; + container config { + uses bgp:bgp-neighbor-add-paths_config; + } + container state { + uses bgp:bgp-neighbor-add-paths_config; + } + } + } } |