diff options
author | FUJITA Tomonori <fujita.tomonori@gmail.com> | 2019-04-01 21:22:11 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@gmail.com> | 2019-04-02 16:01:29 +0900 |
commit | ccdc2e6277020e571da7792c1d9e76cf13e82f44 (patch) | |
tree | c3df5db11d72ec9a2314ba41bfccc9ea9fd47feb /tools | |
parent | 805d02fdfbc5092ef7a676b1c3a63dfb32571b47 (diff) |
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 <fujita.tomonori@gmail.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/pyang_plugins/gobgp.yang | 9 |
1 files changed, 9 insertions, 0 deletions
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 { |