From 6ed2c5624cbc7d2dcee126603e5f7893910d17d4 Mon Sep 17 00:00:00 2001 From: IWASE Yusuke Date: Thu, 14 Sep 2017 11:23:46 +0900 Subject: 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 --- tools/pyang_plugins/gobgp.yang | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'tools') 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; + } + } + } } -- cgit v1.2.3