From ccdc2e6277020e571da7792c1d9e76cf13e82f44 Mon Sep 17 00:00:00 2001 From: FUJITA Tomonori Date: Mon, 1 Apr 2019 21:22:11 +0900 Subject: add secondary-route feature for router server if an export policy rejects a selected route, try the next route in order until one that is accepted is found or all routes for the peer are rejected. the default is disabled. You can enable this feature in the following way: [neighbors.route-server.config] route-server-client = true secondary-route = true Signed-off-by: FUJITA Tomonori --- tools/pyang_plugins/gobgp.yang | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'tools') diff --git a/tools/pyang_plugins/gobgp.yang b/tools/pyang_plugins/gobgp.yang index 5677ae32..fda3dc2c 100644 --- a/tools/pyang_plugins/gobgp.yang +++ b/tools/pyang_plugins/gobgp.yang @@ -305,6 +305,15 @@ module gobgp { description "Configure the neighbor as a route server client."; } + + leaf secondary-route { + type boolean; + default "false"; + description + "if an export policy rejects a selected route, try the next route in + order until one that is accepted is found or all routes for the peer + are rejected."; + } } grouping gobgp-route-server-config-set { -- cgit v1.2.3